]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c4dfb6df2855a9d7baf82b69cb231b373d042053
[lyx.git] / src / ChangeLog
1
2 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3
4         * PosIterator.C (distance, advance): new
5         * bufferview_funcs.[Ch] (put_selection_at): new
6         * iterators.[Ch] (lockPath): new
7
8 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
9
10         * iterators.[Ch] (asPosIterator): added
11         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
12         * PosIterator.[Ch]: added
13
14 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
15
16         * text3.C:
17         * lyxfunc.C:
18         * cursor.C (dispatch): 
19         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
20
21         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
22         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
23         contructor, add a class function dispatched. Remove operator>=
24
25 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
26
27         * debug.C: only use the default constructor for debugstream
28         (lyxerr) here.
29
30         * main.C (main): include debug.h and setup the lyxerr streambuf
31         here.
32
33 2003-10-31  José Matos  <jamatos@lyx.org>
34
35         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
36
37         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
38         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
39         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
40         * paragraph_pimpl.C (simpleTeXSpecialC):
41         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
42         add LatexRunParams argument.
43
44         * exporter.C (Export): change call accordingly.
45
46         * latexrunparams.h: add new member to take care of the other backends.
47 2003-10-30  José Matos  <jamatos@lyx.org>
48
49         * buffer.C (makeLinuxDocFile, makeDocBookFile):
50         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
51         factorise code for paragraph output.
52         * buffer.[Ch]:
53         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
54         move functions.
55
56 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
57
58         * text3.C (dispatch):
59         * lyxfunc.C (dispatch):
60         * cursor.C (dispatch):
61         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
62
63         * dispatchresult.h: make the dispatch_result_t ctor explicit
64
65 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
66
67         * sgml.[Ch]:
68         * buffer.C: small refactoring of docbook stuff
69
70 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
71
72         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
73         meaning.
74
75 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
76
77         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
78         operator dispatch_result_t, and operators for == != and >=
79
80         * cursor.C (dispatch): adjust for operator dispatch_result_t
81         removal. comment out call to update
82
83         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
84
85 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
86
87         * text3.C:
88         * text2.C:
89         * text.C:
90         * lyxtext.h:
91         * lyxfunc.C:
92         * cursor.C:
93         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
94         (dispatch):
95
96         * dispatchresult.h: new file, DispatchResult broken out of
97         insets/insetbase.h
98
99         * Makefile.am (lyx_SOURCES): add dispatchresult.h
100
101 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
102
103         * text.C (rowBreakPoint): put a hack inside #if 0
104
105 2003-10-28  André Pönitz  <poenitz@gmx.net>
106
107         * lyxtext.h:
108         * metricsinfo.C:
109         * paragraph_funcs.C:
110         * rowpainter.C:
111         * text.C:
112         * text2.C: general cleanup (lots of small stuff)
113
114 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
115
116         * text2.C (cursorEnd): simple fix to the "end key goes to one
117         before the end on last row" bug
118
119 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
120
121         * text.C (backspace): fix the "zombie characters"
122
123 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
124
125         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
126
127 2003-10-27  André Pönitz  <poenitz@gmx.net>
128
129         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
130
131         * factory.C: handle new InsetPagebreak, InsetLine
132
133         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
134         and move handling into new InsetPagebreak, InsetLine
135
136         * BufferView_pimpl.C:
137         * LyXAction.C:
138         * ParagraphParameters.C:
139         * ParameterStruct.h:
140         * lyxfunc.C:
141         * lyxtext.h:
142         * paragraph.C:
143         * paragraph.h:
144         * paragraph_funcs.C:
145         * paragraph_pimpl.C:
146         * rowpainter.C:
147         * text.C:
148         * text2.C:
149         * text3.C: adjust
150
151 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
152
153         * text.C:
154         * lyxrow_funcs.[Ch]:
155         * Bidi.C:
156         * paragraph.C:
157         * lyxtext.h:
158         * rowpainter.C:
159         * text2.C:
160         * text3.C: remove lastPos uses in favour of Row::endpos
161
162 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
163
164         * undo.C (performUndoOrRedo): fix two crashes by setting a
165         cursor by hand and reordering some calls. Use bv->lockInset instead
166         of inset->edit because the latter loses cursor information
167
168 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
169
170         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
171         by Martin
172         (rowBreakPoint): fix width. change point to point + 1.
173         Add a missing check.
174
175 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * MenuBackend.C:
178         * lyxfunc.C: fix (at least partly) the problems
179         with the Nav menu and headers inside branch insets
180         reported by Kayvan
181
182 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
183
184         * paragraph.C (getChar): add strong asserts
185
186         * lyxrow_funcs.C (lastPos): remove hideous hack
187
188         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
189         (fill): adjust to that (avoid an infinite loop)
190
191 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
192
193         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
194
195 2003-10-23  André Pönitz  <poenitz@gmx.net>
196
197         * RowList_fwd.h: change list<> to vector<> to gain speed
198         after suggestion from Alfredo
199
200 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
201
202         * lyxtext.h: move the bidi stuff from here...
203         * text.C: and here
204         * text2.C: and here
205         * Bidi.[Ch]: ... to here
206
207 2003-10-23  André Pönitz  <poenitz@gmx.net>
208
209         * lyxtext.h:
210         * text.C (isLastRow, isFirstRow): new functions
211
212         * paragraph.h: new width cache member
213
214         * rowpainter.C: replace RowList::iterator with Row & where possible
215
216         * lyxfunc.C: replace several view()->text with a single call
217
218         * toc.C: fix 'unused' warning
219
220 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
221
222         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
223         when woring with stream::pos_type
224         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
225
226 2003-10-22  André Pönitz  <poenitz@gmx.net>
227
228         * lyxtext.h:
229         * text.C: use Row & instead of RowList::iterator
230
231         * lyxrow.h: rename end() to endpos()
232
233         * rowpainter.C:
234         * text.C:
235         * text2.C: adjust
236
237 2003-10-22  Angus Leeming  <leeming@lyx.org>
238
239         * buffer.[Ch] (fully_loaded): new member function, returning true
240         only when the file has been loaded fully.
241         Used to prevent the premature generation of previews and by the
242         citation inset to prevent computation of the natbib-style label.
243
244         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
245         templates are all set up.
246
247         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
248
249 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
250
251         * text.C: fixed an "oops" in the "is a bit silly"
252         bug fix
253
254 2003-10-21  André Pönitz  <poenitz@gmx.net>
255
256         * FuncStatus.[Ch]: small stuff, whitespace
257
258         * lyxfont.[Ch]: operator<<() for debug reasons
259
260         * lyxfunc.C:
261         * lyxrow_funcs.C:
262         * lyxtext.h: whitespace, spelling
263
264         * paragraph.C: naming of variables
265
266         * text.C:
267         * text2.C: small stuff
268
269
270 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
271
272         * text.C: (1) finish off the inset display() work;
273         (2) fix the "is a bit silly" bug (accessing char
274         past end of par).
275
276 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
277
278         * text.C: re-introduce display() for insets, fixing the
279         various bugs (stretch of line above, math inset
280         positioning, ...)
281
282 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * text.C (rightMargin): remove spurious semicolon
285
286         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
287         1415)
288
289 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
290
291         * text3.C: fix one crash due to wrong cursor def
292
293 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
294
295         * vc-backend.C (scanMaster): make the regex static
296
297         * LaTeX.C (scanAuxFile): make the regexs static
298
299         * text3.C (doInsertInset, dispatch, dispatch):
300         * text2.C (cursorUp, cursorDown):
301         * text.C (selectNextWordToSpellcheck):
302         * BufferView_pimpl.C (dispatch):
303         * lyxfunc.C (dispatch):  localDispatch -> dispatch
304
305 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * lyxsocket.C: include <cerrno>
308
309 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
310
311         * lyxfunc.C (dispatch): remove textcache stuff
312
313         * bufferlist.C (release): remove textcache stuff
314         (closeAll): ditto
315
316         * TextCache.C: delete file
317         * TextCache.h: delete file
318
319         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
320
321         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
322         delete of the bv_->text.
323         (resizeCurrentBuffer): remove texcache stuff
324         (workAreaResize): ditto
325
326 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
327
328         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
329         action.
330
331 2003-10-16  André Pönitz  <poenitz@gmx.net>
332
333         * lyxrow.[Ch]:
334         * paragraph.h:
335         * rowpainter.C:
336         * text.C:
337         * text2.C:
338         * text3.C: speed up by storing y positions per paragraph plus per-row
339         offset instead of having a 'full' y position in the row.
340
341 2003-10-15  André Pönitz  <poenitz@gmx.net>
342
343         * iterators.[Ch]:
344         * iterators.[Ch]:
345         * undo.[Ch]: make undo aware of inner insets
346
347 2003-10-14  Angus Leeming  <leeming@lyx.org>
348
349         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
350         static member functions LyX::ref() and LyX::cref.
351         (lastfiles): new accessor functions for the new lastfiles_ member var.
352         (addLyXView, views_): add a new LyXView to the list of views_.
353         (updateInset): loop over all LyXViews to call their own updateInset
354         member function, returning a pointer to the Buffer owning the inset.
355
356         * BufferView_pimpl.C (loadLyXFile):
357         * MenuBackend.C (expandLastfiles):
358         * bufferlist.C (MenuWrite, QuitLyX):
359         lastfiles is no longer a global variable.
360         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
361
362         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
363         static function. Access through LyX::cref().emergencyCleanup().
364
365 2003-10-14  André Pönitz  <poenitz@gmx.net>
366
367         * iterators.[Ch]: new direct access to innermost LyXText and Inset
368
369         * undo.[Ch]: restoring part of 'undo in insets'
370
371         * Makefile.am:
372         * undo_funcs.[Ch]: merge with undo.[Ch]
373
374         * tabular.C: small cleansing stuff
375
376 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
377
378         * paragraph_funcs.C (readParToken): report unknown insets as error
379         boxes. Use the outer paragraph as location (also for unknown
380         tokens).
381
382         * factory.C (readInset): do not abort on reading an unknown inset.
383         Eat it and return 0.
384
385 2003-10-13  Angus Leeming  <leeming@lyx.org>
386
387         * lyx_main.C (LyX): remove call to setDisplayTranslator().
388
389         * lyxrc.C: displayTranslator is now a function,
390         declared in GraphicsTypes.h.
391
392 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
393
394         * format.C: new placeholder $$a to pass the socket address.
395
396         * bufferlist.[Ch]: new function getBufferFromTmp.
397
398         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
399           files in the temporary dir.
400
401 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
402
403         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
404
405         * Makefile.am: add lyxsocket.[Ch].
406
407         * lyx_main.C (error_handler): handle SIGPIPE.
408
409 2003-10-13  André Pönitz  <poenitz@gmx.net>
410
411         * BufferView_pimpl.C:
412         * lyxtext.h:
413         * text.C:
414         * text2.C:
415         * text3.C:
416         * undo_funcs.[Ch]: use paroffset_type instead of
417           ParagraphList::iterators to prevent multiple conversion
418           (and get a more robust interface)
419
420 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
421
422         * lyxfunc.C (dispatch): RESULT -> dispatch_result
423         * lyxtext.h: ditto
424         * text3.C (dispatch): ditto
425
426 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
427
428         * LaTeX.C (handleFoundFile): move the static to smaller scope,
429         move the onlyfile, use onlyfile instead of foundfile in a couple
430         of places.
431
432         * DepTable.C (update): flush the error stream a bit more
433
434 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
435
436         * lyxserver.C (callback): adjust
437
438         * lyxfunc.C (getStatus): add a missing brace in commented code
439         (ensureBufferClean): reindent
440         (dispatch): delete version taking a string
441
442 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
443
444         * LaTeX.C (deplog): move found file handlig from here...
445         (handleFoundFile): .. to new function here.
446         (deplog): make sure to discover several files mentioned on the
447         same log line.
448
449 2003-10-10  André Pönitz  <poenitz@gmx.net>
450
451         * lyxfunc.C:
452         * lyxtext.h:
453         * tabular.C:
454         * text.C:
455         * text2.C:
456         * text3.C: fix some of the tabular crashes
457
458 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
459
460         * MenuBackend.C (binding): put debug message into Debug::KBMAP
461
462         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
463
464 2003-10-09  André Pönitz  <poenitz@gmx.net>
465
466         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
467
468         * BufferView.C:
469         * BufferView_pimpl.C:
470         * bufferview_funcs.C:
471         * lyx_cb.C:
472         * lyxcursor.C:
473         * lyxfind.C:
474         * lyxfunc.C:
475         * lyxtext.h:
476         * text.C:
477         * text2.C:
478         * text3.C:
479         * text_funcs.[Ch]:
480         * textcursor.[Ch]:
481         * undo_funcs.C: adjust
482
483 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
484
485         * text2.C (incrementItemDepth): new function, use a backtracking
486         algorithm to discover the correct item depth.
487         (resetEnumCounterIfNeeded): new function, use a backtracking
488         algorithm to discover if counter reset is needed.
489         (setCounter): use them. Simplify a bit. Add different labels for
490         different item depths for itemize.
491
492         * paragraph.C (Paragraph): remove initialization of enumdepth
493         (operator=): ditto
494
495         * paragraph.h: get rid of enumdepth, and use itemdepth both for
496         enumerate and itemize. Change the type of itemdepth to signed char.
497
498 2003-10-08  André Pönitz  <poenitz@gmx.net>
499
500         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
501           thing assignable.
502         * text.C:
503         * text2.C: adjust
504
505         * tabular.[Ch]: fix crash after 'row-insert'
506
507 2003-10-08  Angus Leeming  <leeming@lyx.org>
508
509         Fix doxygen warnings.
510
511         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
512         Remove CutAndPaste:: prefix from header file declaration.
513
514         * LColor.h (fill): remove LColor:: prefix from declaration.
515
516         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
517         use lyx::depth_type rather than Paragraph::depth_type so that
518         header file and .C file match.
519
520         * converter.h (intToFormat): remove Converters:: prefix from declaration.
521
522         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
523         * aspell.C: \file aspell_local.C -> \file aspell.C
524         * gettext.C: \file gettext.C -> \file src/gettext.C
525         * gettext.h: \file gettext.h -> \file src/gettext.h
526         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
527         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
528         * text.C: \file text.C -> \file src/text.C
529
530         * toc.C: move comment so that doxygen is not confused.
531
532 2003-10-07  Angus Leeming  <leeming@lyx.org>
533
534         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
535
536 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
537
538         * aspell.C:
539         * aspell_local.h: add forgotten std::string's.
540
541 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
542
543         * LaTeXFeatures.C:
544         * LyXAction.C:
545         * factory.C:
546         * lfuns.h:
547         * lyxfunc.C:
548         * text3.C: The Box patch. Fancybox support, minipage, parbox
549
550 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
551
552         * CutAndPaste.h:
553         * DepTable.h:
554         * FloatList.h:
555         * LaTeXFeatures.h:
556         * ParagraphParameters.h:
557         * TextCache.h:
558         * Thesaurus.h:
559         * bufferlist.h:
560         * exporter.h:
561         * importer.h:
562         * lastfiles.h:
563         * lyxfind.h:
564         * lyxfont.h:
565         * lyxlex.h:
566         * lyxtextclasslist.h:
567         * messages.h:
568         * paragraph.h:
569         * paragraph_pimpl.C:
570         * textcursor.h: add <string> and other small fixes to make Lars'
571         std::string patch compile with STLport.
572
573 2003-10-06  Angus Leeming  <leeming@lyx.org>
574
575         * LColor.h: Add missing #include <string>.
576
577 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
578
579         * All most all file in all subdirs: Make <string> be the prefered
580         way of getting to std::string, add using declarations.
581
582 2003-10-06  André Pönitz  <poenitz@gmx.net>
583
584         * metricsinfo.C: initialize LyXFont before changing attribute.
585         (fixes the 'math in \emph is upright' bug)
586
587 2003-10-06  André Pönitz  <poenitz@gmx.net>
588
589         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
590
591 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
592
593         * graph.C:
594         * paragraph_pimpl.C: Small fixes to build using STLport
595
596 2003-10-02  André Pönitz  <poenitz@gmx.net>
597
598         * lyxfunc.C:
599         * text3.C: move handling of LFUN_DEPTH *; fix #1360
600
601 2003-10-01  André Pönitz  <poenitz@gmx.net>
602
603         * factory.C: assert early
604
605 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
606
607         * lyx_main.C: remove the global debug object
608
609         * debug.h: adjust for new debugstream
610
611         * debug.C: adjust for new debugstream and keep the global debug
612         object here.
613
614 2003-09-22  Angus Leeming  <leeming@lyx.org>
615
616         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
617         of g++ which otherwise complain that the scoped_ptr destructor can't delete
618         an incomplete class LyXFont.
619
620 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
621
622         * factory.C: bug fix in branches
623
624 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
625
626         * lyxfunc.C (processKeySym): adjust
627         (dispatch): adjust
628         (dispatch): change arg name from ev to func, adjust
629         (sendDispatchMessage): ditto
630
631         * lyx_main.C (defaultKeyBindings): adjust keybindings
632         (deadKeyBindings): ditto
633
634         * kbsequence.C (addkey): return a FuncRequest
635
636         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
637
638         * kbmap.C (bind): take a FuncRequest as arg, adjust
639         (read): adjust
640         (lookup): adjust
641         (defkey): change to take a FuncRequest as arg, adjust
642         (findbinding): take a FuncRequest as arg, adjust.
643
644         * funcrequest.h (operator=): added
645
646         * funcrequest.C (FuncRequest): default kb_action changed from
647         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
648
649         * buffer.C (dispatch): simplify
650         (dispatch): adjust to take a FuncRequest as arg, adjust
651
652         * boost.C (assertion_failed): change assertion message slightly
653
654         * ToolbarBackend.C (read): simplify
655
656         * MenuBackend.C (binding): adjust call to findbinding, add a
657         message if no binding is found.
658         (read): simplify
659         (expandToc): correct by adding a empty FuncRequest
660
661         * LyXAction.C: include <boost/assert.hpp>
662         (isPseudoAction): delete function
663         (LookupFunc): change name to...
664         (lookupFunc): this. change return type to FuncRequest.
665         (getActionName): take kb_action as arg, simplify
666         (funcHasFlag): add an assert, simplify.
667
668 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
669
670         * toc.C (action): return a FuncRequest, simplify
671
672         * lyxfunc.C (processKeySym): adjust
673         (getStatus): delete version that takes an int.
674         (getStatus): adjust
675         (dispatch): delete version that takes action as int
676         (dispatch): adjust
677         (sendDispatchMessage): simplify and adjust
678
679         * funcrequest.C (getArg): take unsigned int as arg
680
681         * ToolbarBackend.C (read): adjust
682         (add): delete version that takes func as a string.
683         (getIton): take a FuncRequest as arg
684
685         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
686         action.
687
688         * MenuBackend.C (MenuItem): add a new construct that only takes a
689         Kind, simplify the constructor use for submenus.
690         (add): adjust
691         (expandLastfiles): adjust
692         (expandDocuments): adjust
693         (expandFormats): adjust
694         (expandFloatListInsert): adjust
695         (expandFloatInsert): adjust
696         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
697
698         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
699         Remove class variables lyx_pseudo_map and lyx_arg_map
700
701         * LyXAction.C (searchActionArg): delete function
702         (getPseudoAction): delete function
703         (retrieveActionArg): delete function
704         (LookupFunc): make it return kb_action, simplify.
705         (getActionName): simplify
706
707         * factory.C (createInset): fix new bug
708
709 2003-09-19  Angus Leeming  <leeming@lyx.org>
710
711         * CutAndPaste.C (pasteSelection): remove fudge used to set the
712         masterFilename_ parameter in the include inset.
713
714         * factory.C (createInset): changes due to the changes to InsetInclude.
715
716 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
717
718         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
719
720 2003-09-18  Angus Leeming  <leeming@lyx.org>
721
722         * buffer.C:
723         * BufferView.C: pass the buffer when calling Inset::getLabelList,
724         Inset::fillWithBibKeys.
725         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
726
727 2003-09-18  Angus Leeming  <leeming@lyx.org>
728
729         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
730         variables.
731         (ctor): pass and store a 'Buffer const &'
732         (buffer): new member function.
733
734         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
735         '*this' to the LaTeXFeatures ctor.
736
737 2003-09-18  Angus Leeming  <leeming@lyx.org>
738
739         * LColor.h:
740         * lyxfont.C:
741         * lyxfont.h:
742         * lyxtext.h:
743         * text.C: rename EnumLColor as LColor_color.
744
745 2003-09-18  Angus Leeming  <leeming@lyx.org>
746
747         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
748         remove #include "insets/insetbase.h" from cursor.h.
749
750 2003-09-18  Angus Leeming  <leeming@lyx.org>
751
752         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
753         InsetOld_code to remove #include "inset.h".
754
755         * iterators.C: add #include "insets/inset.h"
756
757 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
758
759         * BufferView.C: remove more locking stuff that apparently doesn't
760         do anything sensible.
761
762 2003-09-16  André Pönitz  <poenitz@gmx.net>
763
764         * paragraph.[Ch]:
765         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
766           performance boost.
767
768 2003-09-16  Angus Leeming  <leeming@lyx.org>
769
770         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
771
772         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
773         arg/return type.
774
775         * paragraph.h: remove #include "lyxfont.h". Forward declare
776         LyXFont_size.
777
778 2003-09-16  Angus Leeming  <leeming@lyx.org>
779
780         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
781         of support/textutils.h.
782         (isWord): move the contents of support/textutils.h's IsWordChar here.
783
784         * buffer.C:
785         * lyxfind.C:
786         * rowpainter.C:
787         * text.C:
788         * text2.C: add #include "paragraph.h".
789
790         * rowpainter.C:
791         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
792
793 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
794
795         * main.C:
796         * lyx_main.C:
797         * lyx_cb.C:
798         * buffer.C:
799         * LaTeX.C: use namespace alias for lyx::support::os
800
801 2003-09-16  Angus Leeming  <leeming@lyx.org>
802
803         * bufferparams.C:
804         * bufferview_funcs.C:
805         * factory.C:
806         * lyxfunc.C:
807         * paragraph_pimpl.C:
808         * rowpainter.C:
809         * text.C: add #include "LColor.h".
810
811 2003-09-16  Angus Leeming  <leeming@lyx.org>
812
813         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
814         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
815         return LyXFont &.
816         Store the FontBits::color variable as an int rather than as an
817         LColor::colorso that we can move LColor.h out of the lyxfont.h header
818         file.
819
820         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
821         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
822         string calls together.
823
824         * lyxrc.C: add #include "LColor.h".
825
826 2003-09-15  Angus Leeming  <leeming@lyx.org>
827
828         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
829         a cow_ptr.
830
831 2003-09-15  Angus Leeming  <leeming@lyx.org>
832
833         * LColor.h: add an EnumLColor wrapper for LColor::color.
834
835         * lyxfont.[Ch] (color, setColor, realColor):
836         * lyxtext.h, text.C (backgroundColor):
837         pass EnumLColor args to/from the functions, rather than LColor::color
838         ones.
839
840         * lyxfont.h:
841         * lyxtext.h: forward declare EnumLColor.
842
843         * lyx_main.C: add #include "LColor.h".
844
845 2003-09-15  Angus Leeming  <leeming@lyx.org>
846
847         * .cvsignore: add lyx-gtk.
848
849 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
850
851         * Chktex.C
852         * LaTeX.C
853         * LaTeXFeatures.C
854         * ParagraphParameters.C
855         * Spacing.C
856         * buffer.C
857         * bufferparams.C
858         * bufferview_funcs.C
859         * chset.C
860         * counters.C
861         * funcrequest.C
862         * lyxfont.C
863         * lyxgluelength.C
864         * lyxlength.C
865         * paragraph.C
866         * paragraph_funcs.C
867         * text3.C
868         * vc-backend.C: remove usage of STRCONV
869
870 2003-09-15  Angus Leeming  <leeming@lyx.org>
871
872         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
873         explicitly define the color passed to the painter.
874
875 2003-09-15  Angus Leeming  <leeming@lyx.org>
876
877         * bufferparams.C (BufferParams): reorder member initializers to avoid
878         compiler warning.
879
880 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
881
882         * CutAndPaste.C (pasteSelection): remove an outdated #warning
883         * text.C (updateRowPositions): remove an unusual nop
884
885 2003-09-12  André Pönitz  <poenitz@gmx.net>
886
887         * BufferView_pimpl.C:
888         * Bullet.C:
889         * layout.h:
890         * lyxfunc.C:
891         * lyxlayout.[Ch]:
892         * lyxtextclass.C:
893         * rowpainter.C:
894         * text.C:
895         * text2.C:
896         * Counters.[Ch]: finish the 'automatic counters' job
897
898 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
899
900         * aspell.C: include <boost/assert.cpp> (compile fix)
901
902 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
903
904         * boost.C (assertion_failed): use lyx::support::abort instead of
905         assert.
906
907 2003-09-10  Angus Leeming  <leeming@lyx.org>
908
909         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
910         with their _fwd progeny.
911
912 2003-09-09  Angus Leeming  <leeming@lyx.org>
913
914         134 files throughtout the source tree: replace 'using namespace abc;'
915         directives with the appropriate 'using abc::xyz;' declarations.
916
917 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
918
919         * boost.C (emergencyCleanup): moved here from LAssert.c
920         (assertion_failed): new function, called by BOOST_ASSERT
921
922         * several files: change Assert to BOOST_ASSERT
923
924 2003-09-09  Angus Leeming  <leeming@lyx.org>
925
926         * buffer.[Ch]: Add an Impl class and move Buffer's member
927         variables into it. As a result move several header files out of
928         buffer.h.
929
930         Add header files to lots of .C files all over the tree as a result.
931
932 2003-09-09  Angus Leeming  <leeming@lyx.org>
933
934         * buffer.[Ch]: make Buffer's member variables private. Add
935         accessor functions.
936
937         Lots of changes all over the tree as a result.
938
939 2003-09-08  Angus Leeming  <leeming@lyx.org>
940
941         * graph.C: #include <config.h>.
942
943 2003-09-08  Angus Leeming  <leeming@lyx.org>
944
945         * BranchList.C:
946         * BufferView.C:
947         * BufferView_pimpl.C:
948         * CutAndPaste.C:
949         * DepTable.C:
950         * LaTeX.C:
951         * LaTeXFeatures.C:
952         * LyXAction.C:
953         * MenuBackend.C:
954         * TextCache.C:
955         * aspell.C:
956         * buffer.C:
957         * bufferlist.C:
958         * changes.C:
959         * chset.C:
960         * converter.C:
961         * counters.C:
962         * debug.C:
963         * graph.C:
964         * ispell.C:
965         * lyx_cb.C:
966         * lyxfind.C:
967         * lyxfunc.C:
968         * lyxlex_pimpl.C:
969         * lyxrc.C:
970         * lyxrow.C:
971         * paragraph.C:
972         * rowpainter.C:
973         * texrow.C:
974         * text.C:
975         * text2.C:
976         * toc.C: remove redundant using directives.
977
978 2003-09-07  Angus Leeming  <leeming@lyx.org>
979
980         * LaTeXFeatures.h: remove #include "support/types.h".
981         * ToolbarBackend.h: remove #include <algorithm>.
982         * changes.h: remove #include <ctime>.
983         * debug.h: remove #include <iosfwd>.
984         * graph.h: remove #include "support/std_string.h".
985         * lyx_main.h: remove #include <csignal>.
986         * lyxlex_pimpl.h: remove #include <fstream>.
987         * sgml.h: remove #include <algorithm>, <utility>.
988         * toc.h: remove #include "support/std_ostream.h".
989         Add #include <iosfwd>.
990
991 2003-09-07  Angus Leeming  <leeming@lyx.org>
992
993         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
994
995         * converter.h: forward declare LatexRunParams.
996         * encoding.h: remove #include "lyxrc.h".
997         * lyxtext.h: remove #include "LColor.h".
998         * lyxtextclass.h: remove #include "support/types.h".
999         * trans.h: remove #include "tex-accent.h".
1000         * trans_mgr.h: remove #include "tex-accent.h".
1001         * insets/inset.h: remove #include "support/types.h", <vector>.
1002         * insets/insetcollapsable.h: remove #include "LColor.h".
1003         * insets/insetinclude.h: remove #include "dimension.h".
1004         * insets/insetlatexaccent.h: remove #include "dimension.h".
1005         * insets/insetoptarg.h:: remove #include "insettext.h".
1006         * insets/insettext.h: remove #include "dimension.h",
1007         <boost/shared_ptr.hpp>
1008
1009         * insets/renderers.h: add #include "dimension.h".
1010         * insets/updatableinset.h: add #include "support/types.h".
1011
1012         * many .C files: Associated changes.
1013
1014 2003-09-06  Angus Leeming  <leeming@lyx.org>
1015
1016         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1017         one, inside testInvariant.
1018
1019         * PrinterParams.C: new file.
1020         * PrinterParams.[Ch]: move the function bodies out of line.
1021
1022 2003-09-06  Angus Leeming  <leeming@lyx.org>
1023
1024         * ParagraphParameters.h: forward declare ParameterStruct rather than
1025         including its header file.
1026         (depth): moved out-of-line.
1027
1028 2003-09-06  Angus Leeming  <leeming@lyx.org>
1029
1030         * BufferView_pimpl.h:
1031         * kbmap.h:
1032         * kbsequence.h:
1033         * lyxfunc.h: forward declare LyXKeySym rather than
1034         #include "frontends/LyXKeySym.h".
1035
1036         * BufferView_pimpl.C:
1037         * kbmap.C:
1038         * kbsequence.C:
1039         * lyxfunc.C: associated changes.
1040
1041 2003-09-06  Angus Leeming  <leeming@lyx.org>
1042
1043         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1044         As a result, can remove the #include "insets/inset.h" from BufferView.h
1045
1046 2003-09-06  Angus Leeming  <leeming@lyx.org>
1047
1048         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1049         As a result, can remove the #include "insets/inset.h" from BufferView.h
1050
1051 2003-09-06  Angus Leeming  <leeming@lyx.org>
1052
1053         * buffer_funcs.C:
1054         * buffer.h:
1055         * bufferlist.C:
1056         * BufferView.C:
1057         * bufferview_funcs.C:
1058         * BufferView_pimpl.C:
1059         * CutAndPaste.C:
1060         * lyx_cb.C:
1061         * lyxfunc.C:
1062         * paragraph.h:
1063         * ParagraphParameters.C:
1064         * tabular.C:
1065         * text3.C:
1066         * toc.C:
1067         * undo_funcs.C:
1068         * frontends/controllers/ControlDocument.C:
1069         * insets/insetcaption.C: rearrange the #includes into some sort of
1070         coherent order.
1071
1072         * buffer.h: remove #includes ErrorList.h, undo.h
1073
1074 2003-09-06  Angus Leeming  <leeming@lyx.org>
1075
1076         * support/types.h: add a 'depth_type' typedef, used to store the
1077         nesting depth of a paragraph.
1078
1079         * paragraph.h:
1080         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1081         defining explicitly.
1082
1083         * buffer.h:
1084         * paragraph_funcs.h:
1085         * ParagraphParameters.h:
1086         * sgml.h: use lyx::depth_type rather than Paragraph or
1087         ParameterStruct's depth_type.
1088
1089         * buffer.h
1090         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1091
1092         * BufferView.C:
1093         * BufferView_pimpl.C:
1094         * CutAndPaste.C:
1095         * ParagraphParameters.C:
1096         * buffer_funcs.C:
1097         * bufferlist.C:
1098         * bufferview_funcs.C:
1099         * lyx_cb.C:
1100         * lyxfunc.C:
1101         * tabular.C:
1102         * text3.C:
1103         * toc.C:
1104         * undo_funcs.C:
1105         * frontends/LyXView.C:
1106         * frontends/controllers/ControlDocument.C:
1107         * frontends/controllers/ControlErrorList.C:
1108         * insets/insetbibitem.C:
1109         * insets/insetbranch.C:
1110         * insets/insetcaption.C:
1111         * insets/insetcollapsable.C:
1112         * insets/insetenv.C:
1113         * insets/insetert.C:
1114         * insets/insetfloat.C:
1115         * insets/insetfoot.C:
1116         * insets/insetfootlike.C:
1117         * insets/insetnewline.C:
1118         * insets/insetquotes.C:
1119         * insets/insettabular.C:
1120         * insets/insettext.C:
1121         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1122
1123         * frontends/controllers/ControlChanges.C: #include "changes.h".
1124
1125 2003-09-06  Angus Leeming  <leeming@lyx.org>
1126
1127         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1128         than #including paragraph.h.
1129
1130         * ParagraphList.h:
1131         * RowList.h: deleted. Superfluous.
1132
1133         * CutAndPaste.h:
1134         * iterators.h:
1135         * lyxcursor.h:
1136         * lyxtext.h:
1137         * text_funcs.h:
1138         * undo.h:
1139         * undo_funcs.h:
1140         * insets/inset.h:
1141         * insets/insettext.h: use ParagraphList_fwd.h rather than
1142         ParagraphList.h.
1143
1144         * paragraph.h: don't forward declare ParagraphList.
1145
1146         * buffer.h:
1147         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1148         rather than ParagraphList.h. paragraph.h is still needed for the
1149         Paragraph::depth_type parameters.
1150
1151         * textcursor.h: enable it to compile stand-alone in light of the
1152         above changes.
1153
1154         * bufferview_funcs.C:
1155         * iterators.C:
1156         * lyxfunc.C:
1157         * lyxrow_funcs.C:
1158         * paragraph.C:
1159         * rowpainter.C:
1160         * text.C:
1161         * text2.C:
1162         * text3.C:
1163         * text_funcs.C:
1164         * textcursor.C:
1165         * undo.C:
1166         * frontends/controllers/ControlParagraph.C:
1167         * frontends/controllers/ControlTabular.C:
1168         * insets/insetmarginal.C:
1169         * insets/insetminipage.C:
1170         * insets/insetnote.C:
1171         * insets/insetoptarg.C: add header files needed to compile again.
1172
1173 2003-09-06  Angus Leeming  <leeming@lyx.org>
1174
1175         * RowList_fwd.h: new file, forward-declaring Row rather than
1176         #including lyxrow.h.
1177
1178         * lyxrow_funcs.h:
1179         * lyxtext.h:
1180         * paragraph.h:
1181         * insets/insettext.h: use it instead of RowList.h
1182
1183         * bufferview_funcs.C:
1184         * lyxfunc.C:
1185         * lyxrow_funcs.C:
1186         * paragraph.C:
1187         * rowpainter.C:
1188         * text.C:
1189         * text2.C:
1190         * text3.C: #include "RowList.h".
1191
1192 2003-09-05  Angus Leeming  <leeming@lyx.org>
1193
1194         * factory.C (createInset):
1195         * vspace.C (c-tor): replace sscanf call with an istringstream.
1196         * ispell.C: re-add missing HP/UX headers.
1197         * lyxserver.C: re-add missing  os2 headers.
1198
1199 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1200
1201         * BranchList.C:
1202         * graph.C:
1203         * ispell.C:
1204         * lastfiles.C:
1205         * lyx_cb.C:
1206         * lyxserver.C:
1207         * texrow.C:
1208         * text3.C: re-add missing system headers, needed for 2.95.2.
1209
1210 2003-09-05  Angus Leeming  <leeming@lyx.org>
1211
1212         Changes most place everywhere due to the removal of using directives
1213         from support/std_sstream.h.
1214
1215 2003-09-05  Angus Leeming  <leeming@lyx.org>
1216
1217         Replace LString.h with support/std_string.h,
1218         Lsstream.h with support/std_sstream.h,
1219         support/LIstream.h with support/std_istream.h,
1220         support/LOstream.h with support/std_ostream.h.
1221
1222         Changes resulting throughout the tree.
1223
1224 2003-09-05  Angus Leeming  <leeming@lyx.org>
1225
1226         * sgml.h: ensure that the header file can be compiled stand-alone.
1227         * *.C: strip out redundant #includes. (320 in total.)
1228
1229 2003-09-04  Angus Leeming  <leeming@lyx.org>
1230
1231         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1232         here (from getPackages).
1233
1234         * debug.[Ch]: add a new EXTERNAL tag.
1235
1236 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1237
1238         * text2.C (cursorEnd): simplify
1239         (setCursor): adjust
1240         (getColumnNearX): adjust
1241
1242         * text.C (computeBidiTables): adjust
1243         (fill): adjust
1244
1245         * rowpainter.C (paintChars): adjust
1246         (paintSelection): adjust
1247         (paintChangeBar): adjust
1248         (paintText): adjust
1249
1250         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1251         lastPos instead.
1252         (numberOfSeparators): adjust
1253
1254 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1255
1256         * LyXAction.C:
1257         * box.[Ch]:
1258         * lfuns.h:
1259         * lyxfunc.C:
1260         * text3.C: Restricts the mouse click functionality
1261         of insets like bibtex, include, toc and floatlist to the visible
1262         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1263         up the dialogs. Cursor has to be in front of the inset (i.e.
1264         start of row) for this to function.
1265
1266 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1267
1268         * bufferview_funcs.C (currentState): output row information
1269
1270 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1271
1272         * bufferview_funcs.C (currentState): output paragraph position
1273
1274 2003-09-04  Angus Leeming  <leeming@lyx.org>
1275
1276         * FloatList.h: move out #include "Floating.h".
1277         * LaTeX.h: move out #include "DepTable.h".
1278         * LyXAction.h: move out #include "funcrequest.h".
1279         * buffer.h: move out #include "author.h", "iterators.h".
1280         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1281         * lyx_main.h: move out #include "errorlist.h".
1282         * lyxfunc.h: move out #include "FuncStatus.h".
1283         * lyxtext: move out #include "lyxcursor.h".
1284         * paragraph_pimpl.h: move out #include "counters.h".
1285
1286 2003-09-03  Angus Leeming  <leeming@lyx.org>
1287
1288         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1289         preamble_snippets list, enabling us to add snippets to the preamble
1290         only if the snippet was not there already.
1291
1292 2003-09-04  Angus Leeming  <leeming@lyx.org>
1293
1294         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1295
1296 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1297
1298         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1299         update
1300
1301 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1302
1303         * BranchList.C: point fix, earlier forgotten
1304
1305 2003-09-02  Angus Leeming  <leeming@lyx.org>
1306
1307         * box.C (contains): renamed from 'contained' after a fantastic
1308         amount of hot air.
1309
1310 2003-09-02  John Levon  <levon@movementarian.org>
1311
1312         * BufferView.C:
1313         * lyxcursor.h:
1314         * lyxcursor.C:
1315         * lyxfunc.C:
1316         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1317
1318 2003-09-02  John Levon  <levon@movementarian.org>
1319
1320         * text2.C: simplification of cursorEnd(), including partial
1321         fix for bug 1376
1322
1323 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1324
1325         * buffer.C (readFile): add a space
1326
1327 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1328
1329         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1330
1331 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1332
1333         * buffer.C (readFile): new function, take a filename and a
1334         ParagraphList::iterator
1335         (readFile): adjust
1336         (readFile): adjust, make it private. don't use setStream, make
1337         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1338         always contain the filename.
1339
1340         * BufferView.C (insertLyXFile): simplify and make it work for
1341         gzipped files.
1342
1343 2003-08-30  John Levon  <levon@movementarian.org>
1344
1345         * Makefile.am: fix dist (from Kayvan)
1346
1347 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1348
1349         * most files: change to use const Buffer refs
1350
1351 2003-08-27  André Pönitz  <poenitz@gmx.net>
1352
1353         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1354         on top of ownerPar().
1355
1356 2003-08-27  John Levon  <levon@movementarian.org>
1357
1358         * funcrequest.C: properly initialise POD members
1359
1360 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1361
1362         * lyxtext.h (top_y): move top_y from here
1363         * text.C:
1364         * text2.C:
1365         * text3.C:
1366         * BufferView.[Ch]:
1367         * BufferView_pimpl.[Ch]: to here
1368         * frontends/screen.C:
1369         * insets/insettabular.C:
1370         * insets/insettext.C: adjust
1371         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1372
1373 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1374
1375         * BufferView.[Ch]:
1376         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1377
1378 2003-08-26  André Pönitz  <poenitz@gmx.net>
1379
1380         * paragraph_func.[Ch] (outerPar): new function
1381
1382         * paragraph.C:
1383         * paragraph_funcs.C:
1384         * paragraph_funcs.h:
1385         * paragraph_pimpl.C:
1386         * text2.C: remove Inset::par_owner
1387
1388 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1389
1390         * lyxrow_funcs.C:
1391         * lyxtext.h:
1392         * text.C:
1393         * text2.C: eliminates the needFullRow/display() stuff
1394         altogether, putting the logic in metrics/draw in the insets.
1395
1396 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1397
1398         * text2.C (redoParagraphInternal, redoParagraphs):
1399         * text.C (redoParagraph): add a call to updateRowPositions at the
1400         end of each 'metrics-like' call. Remove all others.
1401         (getRow): remove the 'y-computing' version.
1402         (getRowNearY): do not compute nor return the real y. Solve the
1403         'y < 0' problem and simplify.
1404
1405 2003-08-22  Angus Leeming  <leeming@lyx.org>
1406
1407         * *.[Ch]: clean-up of licence and author blurbs.
1408         Also move config.h out of a few .h files and into a few .C files.
1409
1410 2003-08-22  André Pönitz  <poenitz@gmx.net>
1411
1412         * lyxrow.[Ch]: add x_ and *fill_ members
1413
1414         * lyxtext.h:
1415         * text.C:
1416         * rowpainter.C:
1417         * text2.C: adjust/remove prepareToPrint() calls
1418
1419 2003-08-22  André Pönitz  <poenitz@gmx.net>
1420
1421         * lyxrow.[Ch]: add  end_ member
1422
1423         * lyxrow_funcs.C: use LyXRow::end_
1424
1425         * lyxtext.h (singleWidth): add LyXFont parameter
1426
1427         * rowpainter.C:
1428         * text2.C: adjust LyXText::singleWidth() calls
1429
1430         * text.C (redoParagraph): simplify row breaking logic
1431
1432
1433 2003-08-19  André Pönitz  <poenitz@gmx.net>
1434
1435         * funcrequest.C: initialize button_ member
1436
1437         * text3.C:
1438         * rowpainter.[Ch]: interface consolidation
1439
1440 2003-08-18  André Pönitz  <poenitz@gmx.net>
1441
1442         * BufferView.C:
1443         * BufferView_pimpl.C:
1444         * lyxfind.C:
1445         * paragraph_funcs.C:
1446         * rowpainter.C:
1447         * text3.C: remove LyXScreen::draw() and fitCursor calls
1448
1449         * BranchList.h: remove spurious semicolons
1450
1451         * MenuBackend.C: fix branchlist related crash
1452
1453 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1454
1455         * BranchList.[Ch]:
1456         * InsetList.[Ch]:
1457         * LColor.[Ch]:
1458         * LyXAction.C:
1459         * Makefile.am:
1460         * MenuBackend.[Ch]:
1461         * bufferparams.[Ch]:
1462         * factory.C:
1463         * lfuns.h:
1464         * lyxfunc.C:
1465         * text3.C: implements the 'branch inset'
1466         idea. This allows the output of various versions of a document
1467         from a single source version, selectively outputing or suppressing
1468         output of parts of the text.
1469         This implementation contains a 'branch list editor' in a separate
1470         tab of the document settings dialog. Branches are user definable
1471         and have a "display colour" to distinguish them on-screen.
1472
1473         ColorHandler was somewhat cleaned up.
1474         (1) make possible a dynamically growing LColor list by allowing
1475         the graphic context cache to grow along (vector);
1476         (2) eliminate an IMHO unnecessary step in colour allocation.
1477
1478 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1479
1480         * BufferView_pimpl.C: compile fix
1481
1482 2003-08-15  André Pönitz  <poenitz@gmx.net>
1483
1484         * rowpainter.C: remove extra metrics calls
1485
1486         * lyxtext.h: merge the two constructors into a single one,
1487           pass reference to owner's par list
1488
1489         * BufferView_pimpl.C:
1490         * text.C:
1491         * text2.C: adjust
1492
1493 2003-08-15  André Pönitz  <poenitz@gmx.net>
1494
1495         * lyxrow_funcs.[Ch]:
1496         * lyxtext.h:
1497         * paragraph.h:
1498         * paragraph_funcs.C:
1499         * rowpainter.C:
1500         * text.C:
1501         * text2.C:
1502         * text3.C:
1503         * text_funcs.C: split LyXText::rowlist_ into individual
1504         Paragraph::rows_ chunks
1505
1506         * BufferView.[Ch]:
1507         * BufferView_pimpl.[Ch]:
1508         * lyxfind.C:
1509         * lyxtext.h:
1510         * text3.C: remove toggleSelection()
1511
1512 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1513
1514         * bufferlist.C: beautify two alerts (shorter text of buttons)
1515         * buffer.C: Remove redundant ' ' from message
1516         * tabular.h:
1517         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1518         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1519         rename VALIGN_CENTER to VALIGN_MIDDLE
1520
1521 2003-08-11  André Pönitz  <poenitz@gmx.net>
1522
1523         * lyxtext.h (getPar):
1524         * text.C: new function
1525
1526 2003-08-11  André Pönitz  <poenitz@gmx.net>
1527
1528         * Makefile.am:
1529         * tracer.[Ch]: remove unneeded files
1530
1531         * InsetList.[Ch]: remove resizeInsetsLyXText()
1532
1533         * lyxtext.h:
1534         * text.C:
1535         * text2.C:
1536         * text3.C: merge insertParagraphs() and appendParagraph()
1537         remove breakAgain(), update()
1538
1539         * BufferView_pimpl.[Ch]:
1540         * bufferview_funcs.[Ch]:
1541         * lyxfunc.C:
1542         * paragraph.[Ch]:
1543         * rowpainter.C:
1544         * tabular.C: adjust after text & InsetList changes.
1545
1546 2003-08-08  André Pönitz  <poenitz@gmx.net>
1547
1548         * text.C (insertChar, backspace): replace rowlist fiddling
1549         with rebreak of full par
1550
1551         * lyxtext.h:
1552         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1553         checkParagraph, updateInset): removed
1554
1555 2003-08-07  André Pönitz  <poenitz@gmx.net>
1556
1557         * paragraph.C:
1558         * text3.C: merge some LFUN handlers, remove dead code
1559
1560 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1563
1564 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1565
1566         * text2.C (DEPM): fix part of bug 1255 and 1256
1567
1568 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * BufferView_pimpl.C (workAreaDispatch): change to use
1571         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1572         that are no mouse related.
1573
1574 2003-08-05  André Pönitz  <poenitz@gmx.net>
1575
1576         * BufferView.[Ch]:
1577         * BufferView_pimpl.[Ch]:
1578         * bufferview_funcs.C:
1579         * text2.C:
1580         * text3.C: rip out "deep update"
1581
1582         * textcursor.[Ch] (last_sel_cursor): remove unused member
1583
1584 2003-08-04  André Pönitz  <poenitz@gmx.net>
1585
1586         * BufferView.[Ch]:
1587         * BufferView_pimpl.[Ch]:
1588         * ParagraphParameters.C:
1589         * bufferview_funcs.C:
1590         * lyx_cb.C:
1591         * lyxfind.C:
1592         * lyxfunc.C:
1593         * text.C:
1594         * text2.C:
1595         * text3.C: replace "complicated" BufferView::update(...) calls with
1596         simpler ones.
1597
1598         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1599
1600 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1601
1602         * Makefile.am (lyx_SOURCES): add paper.h
1603
1604 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1605
1606         * Makefile.am: move things around so that both lyx-qt and
1607         lyx-xforms can be built (according to --with-frontend). Then lyx
1608         is a symbolic link to lyx-[firstfrontend]
1609
1610 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1611
1612         * Always use std::endl with lyxerr
1613
1614 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1615
1616         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1617
1618 2003-08-01  André Pönitz  <poenitz@gmx.net>
1619
1620         * BufferView.[Ch]:
1621         * BufferView_pimpl.[Ch]:
1622         * lyxfunc.C:
1623         * text3.C: merge BufferView::repaint() and BufferView::update()
1624
1625 2003-08-01  José Matos  <jamatos@lyx.org>
1626
1627         * buffer.[Ch]: file_format is no longer a buffer data element.
1628
1629 2003-08-01  André Pönitz  <poenitz@gmx.net>
1630
1631         * BufferView.C:
1632         * lyxtext.h:
1633         * text.C:
1634         * text2.C: make redoParagraph more independent of current cursor
1635
1636         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1637         * text.C:
1638         * text2.C: remove unneeded members
1639
1640 2003-07-30  André Pönitz  <poenitz@gmx.net>
1641
1642         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1643
1644         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1645           create a single function...
1646
1647         * paragraph_funcs.C (moveItem): ... here.
1648
1649         * text.C:
1650           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1651
1652 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1653
1654         * LColor.[Ch]: Add comment and greyedout logical colors.
1655
1656 2003-07-30  André Pönitz  <poenitz@gmx.net>
1657
1658         * tabular.C: don't use Assert too heavily. This crashes where it
1659           shouldn't
1660
1661 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1662
1663         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1664         is disabled (bug 1232)
1665
1666 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1667
1668         * factory.C: limited 'arg' scope
1669
1670 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1671
1672         * factory.C: fixed Note submenu issues
1673
1674 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1675
1676         * factory.C: submenu for Note/Comment/Greyedout
1677
1678 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1679
1680         * lyx_main.C (LyX):
1681         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1682
1683 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1684
1685         * LaTeXFeatures.C:
1686         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1687         greyedout. Patch provided by Jürgen Spitzmüller.
1688
1689 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * kbmap.C (read): fix error message when reading bind files
1692
1693 2003-07-29  Angus Leeming  <leeming@lyx.org>
1694
1695         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1696         certainly does not do what it purports to do. I am doing it, and
1697         us, a favour by killing it.
1698
1699 2003-07-28  José Matos  <jamatos@lyx.org>
1700
1701         * buffer.C (readBody, do_writeFile):
1702         * paragraph.C(readParagraph): \end_document replaces \the_end.
1703
1704 2003-07-29  André Pönitz  <poenitz@gmx.net>
1705
1706         * BufferView.[Ch]:
1707         * BufferView_pimpl.[Ch]:
1708         * lyxfunc.C:
1709         * text2.C:
1710         * text3.C:
1711         * textcursor.[Ch]: remove toggleToggle & Co
1712
1713 2003-07-28  José Matos  <jamatos@fep.up.pt>
1714
1715         * buffer.C (readParagraph):
1716         * params_func (readParToken, readParagraph):
1717         * paragraph.C (write): \layout -> \begin_layout.
1718
1719 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * lyxlex_pimpl.C (setFile): clean up slightly.
1722
1723         * bufferparams.h: add compressed var
1724
1725         * buffer_funcs.C (readFile): adjust for LyXLex change
1726         (newFile): ditto + simplify
1727
1728         * buffer.C (writeFile): handle writing of compressed files
1729
1730         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1731         Check if the file is compressed and set a bufferparm if so.
1732
1733         * Makefile.am (lyx_LDADD): remove explicit -lz
1734
1735 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1736
1737         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1738         makeDocBookFile): put the real LyX version in the first line of
1739         the file
1740
1741         * version.h:
1742         * version.C.in: remove lyx_docversion
1743
1744         * tabular.C (write_attribute): add a template-based version to
1745         write enums properly
1746
1747 2003-07-28  André Pönitz  <poenitz@gmx.net>
1748
1749         * lyxtext.h:
1750         * text.C:
1751         * text2.C:
1752         * text3.C: use doubles again for x-coordinates. They are needed.
1753
1754 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1755
1756         * messages.C (getLocaleDir): use lyx_localedir()
1757
1758         * lyxlex_pimpl.C (setFile): compress stuff
1759
1760         * buffer.C (writeFile): add some compression stuff
1761         (do_writeFile): new func, dont call expliti close... will this
1762         breake anything?
1763
1764         * Makefile.am (lyx_LDADD): add -lz
1765
1766 2003-07-28  José Matos  <jamatos@fep.up.pt>
1767
1768         * buffer.C: increment file format.
1769         * paragraph_funcs (readParagraph, readParToken):
1770         * paragraph.C (readParagraph): add \end_layout.
1771
1772 2003-07-27  Angus Leeming  <leeming@lyx.org>
1773
1774         * Makefile.am: remove special casing for configure-time setting of
1775         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1776
1777         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1778         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1779
1780 2003-07-26  André Pönitz  <poenitz@gmx.net>
1781
1782         * paragraph_func.[Ch]:
1783         * paragraph.C (realizeFont): inline it whereever it is used
1784
1785         * rowpainter.C:
1786         * text.C:
1787         * text2.C:
1788         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1789
1790
1791 2003-07-26  André Pönitz  <poenitz@gmx.net>
1792
1793         *       lyxtext.h:
1794         * text.C:
1795         * text2.C: get rid of LyXText::need_break_row
1796
1797 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1798
1799         * toc.[Ch]: put namespace toc inside namespace lyx
1800
1801         * MenuBackend.C (expandToc2): adjust for lyx::toc
1802         (expandToc): ditto
1803
1804         * lyxfunc.C (dispatch): adjust for lyx::find
1805
1806         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1807         lyx::find instead. Reorganize a bit.
1808         (LyXReplace): rename to replace
1809         (LyXFind): rename to find
1810
1811         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1812         (dispatch): ditto
1813
1814 2003-07-26  André Pönitz  <poenitz@gmx.net>
1815
1816         * text.C (setHeightOfRow): restrict scope of temporary variable
1817
1818         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1819           code (never has been used?)
1820
1821 2003-07-27  Asger Alstrup  <alstrup@local>
1822
1823         * text.C (fill): Optimise algorithm to exploit that we can reuse
1824         the LyXFont for many characters.
1825         (setHeightOfRow): Same thing.
1826         (rowBreakPoint): Same thing.
1827
1828 2003-07-26  Asger Alstrup  <alstrup@local>
1829
1830         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1831
1832         * text.C (singleWidth): Spurious font copying in hot-spot
1833         singleWidth avoided. Reorder tests for arabic for efficiency.
1834
1835         * text.C (fill): handle empty paragraphs better.
1836
1837 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * ispell.C:
1840         * encoding.h: add includes
1841
1842         * lyxrc.C: remove reading of bind files
1843
1844         * lyx_main.C (init): setup bindings and menus only if we have a
1845         gui.
1846
1847         * kbmap.C (read): new method. Do the actual reading of bind
1848         files.
1849
1850         * converter.C (dvipdfm_options):
1851         * bufferparams.C:
1852         * lyxrc.C (read):
1853         (output): adapt PAPER_* enums.
1854
1855         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1856
1857         * bufferparams.h: remove paper-related enums from there
1858
1859         * paper.h: New file. A trivial header file to hold paper-related
1860         enums. It should later expand to contain many paper-related
1861         horrors access.
1862
1863         * lyxrc.C: declare extern displayTranslator
1864
1865 2003-07-27  José Matos  <jamatos@fep.up.pt>
1866
1867         * tabular.[Ch] (linuxdoc): add support for tables and figures
1868         (linuxdoc).
1869
1870 2003-07-27  José Matos  <jamatos@fep.up.pt>
1871
1872         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1873         consistency in both functions.
1874         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1875
1876 2003-07-26  Asger Alstrup  <alstrup@local>
1877
1878         * rowpainter.C (paintRows): Change algorithm to work directly on
1879         the insets rather than asking every character in the document
1880         whether its an inset.
1881
1882 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1883
1884         * buffer.C (openFileWrite): factorize some code
1885
1886 2003-07-26  Angus Leeming  <leeming@lyx.org>
1887
1888         * lyx_cb.C:
1889         * lyx_main.[Ch]: replace occurances of system_tempdir with
1890         os::getTmpDir().
1891
1892 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1893
1894         * rename Inset to InsetOld
1895
1896 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1897
1898         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1899         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1900         which I think is a bit clearer. EDIT is gone, since it was
1901         premature optimisation, and broken for mathed anyway.
1902         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1903         with cursor positioning in insets as well (math insets still do not
1904         work, but that's a different story anyway.) It mysteriously
1905         crashes sometimes with undo in the first paragraph, but I'm fairly
1906         confident that this is a compiler bug.
1907
1908 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1909
1910         * paragraph.C (Paragraph): adjust for new clone return type
1911         (operator==): ditto
1912         (copyIntoMinibuffer): ditto
1913
1914 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1915
1916         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1917         by not having a special case, and always doing a full rebreak of
1918         the document after undo.
1919
1920 2003-07-23  Angus Leeming  <leeming@lyx.org>
1921
1922         * factory.C (createInset): InsetExternal::setParams now takes a
1923         Buffer const * arg.
1924
1925 2003-07-23  Angus Leeming  <leeming@lyx.org>
1926
1927         * factory.C (createInset): changed interface to the external and
1928         graphics mailers' string2params functions.
1929
1930 2003-07-23  Angus Leeming  <leeming@lyx.org>
1931
1932         * factory.C (createInset): pass a
1933         Buffer const * parameter to InsetExternalMailer's string2params.
1934
1935 2003-07-22  John Levon  <levon@movementarian.org>
1936
1937         * Thesaurus.h: include the right aiksaurus header
1938
1939 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1940
1941         * MenuBackend.C (expand): check menu shortcuts unconditionally
1942
1943 2003-07-21  Angus Leeming  <leeming@lyx.org>
1944
1945         * factory.C (createInset): pass a
1946         buffer_path parameter to InsetGraphicsMailer's string2params.
1947
1948 2003-07-21  Angus Leeming  <leeming@lyx.org>
1949
1950         * BufferView_pimpl.C (buffer):
1951         * buffer.C (d-tor):
1952         * lyx_main.C (LyX):
1953         * lyxfunc.C (dispatch):
1954         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1955         rather than the grfx shortcut.
1956
1957 2003-07-21  André Pönitz  <poenitz@gmx.net>
1958
1959         * rowpainter.C: remove unused variables
1960
1961         * tabular_funcs.C:
1962         * tabular_funcs.h: move to tabular.C
1963         * Makefile.am: adjust
1964
1965         * tabular.[Ch]: basic optical cleaning
1966
1967         * author.h: pass references, not values
1968
1969 2003-07-18  André Pönitz  <poenitz@gmx.net>
1970
1971         * lyxtext.h:
1972         * metricsinfo.C:
1973         * metricsinfo.h:
1974         * rowpainter.C:
1975         * text.C:
1976         * text2.C:
1977         * text3.C: two-phase drawing for InsetText and InsetTabular
1978         some float -> int changes.
1979
1980 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1981
1982         * lyx_main.C: fix the fix
1983
1984 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1985
1986         * lyx_main.C: fix a crash in batch mode if no files specified
1987         * converter.C: ws
1988
1989 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1990
1991         * format.[Ch] (papersize): moved to BufferParams
1992         * converter.[Ch] (dvips_options): moved to BufferParams
1993         (dvipdfm_options): moved to anon namespace
1994         * bufferparams.[Ch]: added above functions.
1995
1996 2003-07-17  André Pönitz  <poenitz@gmx.net>
1997
1998         * lyxtext.h:
1999         * rowpainter.C:
2000         * text2.C: don't call inset->update() anymore
2001
2002         * metricsinfo.[Ch]: add convenience constructor
2003
2004 2003-07-16  André Pönitz  <poenitz@gmx.net>
2005
2006         * lyxcursor.[Ch]:
2007         * lyxfunc.[Ch]:
2008         * text.C:
2009         * text2.C: replace the LyXCursor::irow_ member with
2010          on-demand computation of the value
2011
2012 2003-07-16  John Levon  <levon@movementarian.org>
2013
2014         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2015
2016 2003-07-15  André Pönitz  <poenitz@gmx.net>
2017
2018         * text.C:
2019         * text2.C: remove no more needed refresh_row
2020
2021 2003-07-15  André Pönitz  <poenitz@gmx.net>
2022
2023         * lyxtext.h:
2024         * rowpainter.C:
2025         * text2.C:
2026         * text3.C: refresh_status tristate -> need_update bool
2027
2028 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2029
2030         * lyxtext.h (init): remove reinit argument (act as if always true)
2031         * text2.C: adjust to that
2032
2033 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2034
2035         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2036         * text3.C: use it to delete selections in some cases
2037         (bugs 441, 673, 702, 954).
2038
2039 2003-07-14  André Pönitz  <poenitz@gmx.net>
2040
2041         * rowpainter.[Ch]: reduce interface
2042
2043 2003-07-14  André Pönitz  <poenitz@gmx.net>
2044
2045         * BufferView_pimpl.C:
2046         * text2.C: adjust after removing unused BufferView * argument
2047
2048 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2049
2050         * text2.C (init): fix a crash fired on resize
2051
2052 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2053
2054         * buffer.[Ch]: added new closing signal
2055         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2056         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2057         BufferView::Pimpl via the closing the signal
2058
2059 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2060
2061         * buffer.[Ch]: take out all bv-related from buffer
2062         * BufferView.C:
2063         * BufferView_pimpl.[Ch]: connect to new signals
2064         * CutAndPaste.C: removed useless asserts
2065         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2066         * lyxvc.[Ch]:
2067         * vc-backend.[Ch]:
2068         * lyxfunc.C: moved view-related funciontality from vc here
2069         * paragraph.C: removed outdated comments
2070         * text.C: ws
2071
2072 2003-07-10  André Pönitz  <poenitz@gmx.net>
2073
2074         * BufferView_pimpl.C:
2075         * tabular.h:
2076         * tabular_funcs.C:
2077         * text.C:
2078         * text2.C: remove InsetText::InnerCache, clean up consequences
2079
2080 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2081
2082         * ispell.C: fix two typos in error messages
2083
2084 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2085
2086         * Extend Note inset to other forms of annotation like Comment
2087         and Greyedout. Right button click gives dialog.
2088
2089         Files modified or added (+):
2090
2091         * insetnote.[Ch]
2092         * FormNote.[Ch]      +
2093         * ControlNote.[Ch]   +
2094         * form_note.fd       +
2095         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2096         frontends/controllers
2097         * xforms/Dialogs.C
2098         * factory.C
2099
2100 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2101
2102         * aspell.C: add missing namespace lyx::support
2103
2104 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * BufferView.[Ch] (newFile): Add
2107         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2108         * LaTeX.[Ch] (message): added this signal and use it
2109         * buffer.[Ch] (busy, message): added these signals and use them
2110         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2111         * converter.C:
2112         * exporter.C:
2113         * format.C:
2114         * importer.C: use buffer signals instead of direct bv calling
2115         * lyx_cb.[Ch] (ShowMessage): removed
2116         * lyx_main.C:
2117         * lyxfunc.C:
2118         * paragraph_funcs.C:
2119         * text2.C: use buffer signals
2120
2121 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2122
2123         * introduce namespace lyx::graphics
2124
2125 2003-07-02  André Pönitz  <poenitz@gmx.net>
2126
2127         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2128
2129 2003-07-01  André Pönitz  <poenitz@gmx.net>
2130
2131         * text.C:
2132         * text2.C:
2133         * text3.C:
2134         * text_funcs.[Ch]:
2135         * textcursor.h:
2136         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2137           text*.C to text_func.C
2138
2139 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2140
2141         * introduce namespace lyx::support
2142
2143 2003-06-30  André Pönitz  <poenitz@gmx.net>
2144
2145         * Chktex.C:
2146         * funcrequest.C:
2147         * lyxtext.h:
2148         * text.C: re-enable --with-included-string
2149
2150 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * textcursor.C: add <config.h>
2153
2154         * text.C (getWord): remove const from word_location arg
2155
2156         * lyxvc.C (getLogFile): fix const type order
2157
2158         * lyxtext.h: remove const from word_location arg, add arg name
2159
2160         * lyxlayout.h: currect type on labeltype.
2161
2162         * importer.C: correct \file
2163
2164         * converter.C (intToFormat): use std:: on ret val, ws changes
2165
2166         * bufferlist.h: correct \file
2167
2168         * buffer.C (makeLinuxDocFile): fix const type order
2169         (makeDocBookFile): ditto
2170         (fillWithBibKeys): use std:: on stdlib args.
2171
2172         * CutAndPaste.C: fix authors.
2173         (availableSelections): use std:: on return vector
2174
2175 2003-06-27  André Pönitz  <poenitz@gmx.net>
2176
2177         * BufferView_pimpl.C:
2178         * bufferview_funcs.C:
2179         * lyxcursor.C:
2180         * lyxcursor.h:
2181         * lyxfunc.C:
2182         * lyxtext.h:
2183         * rowpainter.C:
2184         * text.C:
2185         * text2.C:
2186         * text3.C: remove LyXCursor::row_ member
2187
2188         * lyxtext.h:
2189         * text.C: rename fullRebreak() to partialRebreak() and implement
2190           a fullRebreak() that really bereks fully
2191
2192         * textcursor.h: new struct for cursor-related data
2193
2194 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2195
2196         * lyx_main.C (LyX): get full path of document loaded on the
2197         command line
2198
2199 2003-06-26  André Pönitz  <poenitz@gmx.net>
2200
2201         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2202           remove unused/broken operator>,<,>=.
2203
2204         *       text.C: remove only use of broken operator<= in an Assert().
2205
2206 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2207
2208         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2209         moved errorlist_.clear to showErrorList
2210
2211 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2212
2213         * converter.C (scanLog, runLaTeX):
2214         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2215         move the bv->showErrorList call to the callers
2216         * lyxfunc.C: i.e. here...
2217         * text2.C: and here
2218         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2219         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2220         namespace, the second to...
2221         * buffer_funcs (BufferFormat, parseErrors): added
2222         * errorlist.C (ErrorList(TeXErrors const &)): removed
2223
2224 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2225
2226         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2227
2228 2003-06-24  "Garst R. Reese" <reese@isn.net>
2229
2230         * debug.C: fix typo
2231
2232 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2233
2234         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2235
2236         * version.C.in: change docversion to 1.4
2237
2238 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2239
2240         * buffer.C: fix a bug just introduced
2241
2242 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2243
2244         * buffer.[Ch]: added the parseError signal and use it, removed
2245         sgmlError
2246         * BufferView.[Ch] (addError): moved to ...
2247         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2248         to the Buffer::parseError signal to catch (guess what) parse errors
2249         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2250
2251 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2252
2253         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2254         ability to create a buffer and to return an existing one from
2255         the list. Moved these functions to...
2256         * buffer_funcs.[Ch]: added
2257         * BufferView.[Ch] (loadLyXFile): added
2258         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2259         job removed from bufferlist::loadLyXFile.
2260         * buffer.C (setReadOnly): make it work without view
2261         (i.e added an if (users))
2262
2263 2003-06-19  Angus Leeming  <leeming@lyx.org>
2264
2265         * lfuns.h:
2266         * LyXAction.C (init):
2267         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2268         with LFUN_DIALOG_SHOW <name> <data>.
2269
2270 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2271
2272         * CutAndPaste.C (availableSelections): small compilation fix for
2273         ancient (gcc 2.9x) compilers
2274
2275 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * text3.C (cursorNext): add tmp var
2278
2279         * text2.C (updateCounters): for function calling out of for clause
2280         (replaceSelectionWithString): ditto
2281         (insertStringAsParagraphs): ditto
2282         (getColumnNearX): add tmp var
2283         (setCursorFromCoordinates): add tmp var
2284         (cursorDownParagraph): add tmp var
2285         (deleteEmptyParagraphMechanism): add tmp var
2286
2287         * text.C (insertChar): add tmp var
2288
2289         * rowpainter.C (paintDepthBar): add tmp var
2290
2291         * CutAndPaste.C (availableSelections): potentially check all
2292         paragraphs in a cut to fill the shown strings.
2293
2294 2003-06-18  André Pönitz  <poenitz@gmx.net>
2295
2296         * kbmap.[Ch]: use vector<> instead of list<>
2297
2298 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2299
2300         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2301         pasteSelection with index
2302
2303         * text2.C (pasteSelection): modify, call pasteSelection with index
2304
2305         * paragraph.C (asString): reimplement version with no interval to
2306         call the one with interval.
2307
2308         * lyxtext.h: add index arg to pasteSelection
2309
2310         * MenuBackend.C (MenuItem): handle PasteRecent
2311         (Menu::read::Menutags): add md_pasterecent
2312         (read): handle it
2313         (expandPasteRecent): new function
2314         (expand): use it
2315
2316         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2317
2318         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2319         the limited stack
2320         (availableSelections): new function
2321
2322 2003-06-17  Angus Leeming  <leeming@lyx.org>
2323
2324         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2325
2326 2003-06-17  Angus Leeming  <leeming@lyx.org>
2327
2328         * lfuns.h:
2329         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2330
2331         * lyxfunc.C (dispatch): invoke it.
2332
2333 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2334
2335         * iterators.C (operator++, ParPosition): reintroduce some
2336         const_cast for the benefit of older compilers.
2337
2338 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * text3.C (dispatch): do not modify clipboard when doing
2341         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2342         LFUN_DELETE_SKIP on a selection selection
2343
2344 2003-06-16  André Pönitz  <poenitz@gmx.net>
2345
2346         * BufferView.C:
2347         * buffer.C:
2348         * buffer.h:
2349         * paragraph.C:
2350         * tabular.[Ch]: IU of clone() and getLabelList();
2351
2352 2003-06-13  André Pönitz  <poenitz@gmx.net>
2353
2354         * tabular.h: compactification
2355
2356 2003-06-12  André Pönitz  <poenitz@gmx.net>
2357
2358         * tabular.C:
2359         * tabular.h:
2360         * tabular_funcs.h: some renaming plus whitespace
2361
2362 2003-06-12  André Pönitz  <poenitz@gmx.net>
2363
2364         * BufferView.C:
2365         * BufferView_pimpl.C:
2366         * CutAndPaste.C:
2367         * buffer.C:
2368         * iterators.[Ch]:
2369         * lyxfunc.C:
2370         * text.C:
2371         * toc.C: Return a Paragraph & for ParIterator::operator*()
2372
2373 2003-06-11  John Levon  <levon@movementarian.org>
2374
2375         * lyx_main.C:
2376         * ToolbarBackend.h:
2377         * ToolbarBackend.C: add "Toolbars" section and
2378         put the flags there
2379
2380 2003-06-10  Angus Leeming  <leeming@lyx.org>
2381
2382         * lfuns.h:
2383         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2384
2385         * lyxfunc.C (dispatch): invoke it.
2386
2387 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2388
2389         * main.C: protect <ios> with HAVE_IOS
2390         (main): protect sync_with_stdio with HAVE_IOS
2391
2392 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2393
2394         * text2.C (cutSelection): adjust
2395         (pasteSelection): adjust
2396
2397         * messages.C: handle get of empty string
2398
2399         * main.C (main): use sync_with_stdio(false)
2400
2401         * lyxfunc.C (dispatch): adjust
2402
2403         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2404         (WriteAs): remove unneeded BufferView arg.
2405
2406         * bufferparams.h: use correct types on papersize, papersize2 and
2407         paperpackage.
2408
2409         * bufferparams.C (readToken): adjust for type
2410         (writeLaTeX): add missing cases to switch.
2411
2412         * bufferlist.C (quitWriteBuffer): adjust
2413         (close): adjust
2414
2415         * buffer.C (asciiParagraph): remove some commented code.
2416
2417         * CutAndPaste.C: remove current_view extern variable.
2418         (cutSelection): add BufferParams arg.
2419         (eraseSelection): add BufferParams arg.
2420         (pasteSelection): add Buffer const & arg
2421
2422 2003-06-07  John Levon  <levon@movementarian.org>
2423
2424         * buffer.C:
2425         * paragraph_funcs.C:
2426         * paragraph_pimpl.C:
2427         * text.C:
2428         * text2.C:
2429         * paragraph.h:
2430         * paragraph.C: allow InsetERT to freely space lines,
2431         and some consolidation of code
2432
2433 2003-06-06  José Matos  <jamatos@fep.up.pt>
2434
2435         * buffer.C (makeDocBookFile): fix bug #821
2436
2437 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2438
2439         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2440
2441 2003-06-04  Angus Leeming  <leeming@lyx.org>
2442
2443         * buffer.C: bump format to 224.
2444
2445 2003-06-05  André Pönitz  <poenitz@gmx.net>
2446
2447         * text2.C (redoParagraphs): remove two const_cast<>
2448
2449 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2450
2451         * ParagraphList.h: remove last remnants of NO_STD_LIST
2452
2453 2003-06-03  Angus Leeming  <leeming@lyx.org>
2454
2455         * factory.C (createInset): small change to the way InsetExternal's params
2456         are set.
2457
2458 2003-06-04  André Pönitz  <poenitz@gmx.net>
2459
2460         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2461
2462         * paragraph_pimpl.h:
2463         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2464
2465         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2466
2467         * undo_funcs.C: make some simple cases of undo work again
2468
2469 2003-06-03  John Levon  <levon@movementarian.org>
2470
2471         * ispell.C: HPUX doesn't have sys/select.h
2472         (from Albert Chin)
2473
2474 2003-06-03  John Levon  <levon@movementarian.org>
2475
2476         * CutAndPaste.C: update tabular and include inset
2477         buffer references
2478
2479         * buffer.h:
2480         * paragraph.h:
2481         * paragraph.C: remove owningBuffer(), don't pass Buffer
2482         to clone()
2483
2484         * factory.C: insetGraphicsParams changed
2485
2486 2003-06-02  John Levon  <levon@movementarian.org>
2487
2488         * LyXAction.C:
2489         * factory.C:
2490         * lfuns.h:
2491         * lyxfunc.C:
2492         * text3.C: remove insetparent
2493
2494 2003-06-02  John Levon  <levon@movementarian.org>
2495
2496         * buffer.h:
2497         * buffer.C: fix inset_iterator.end(), move out of line
2498         (bug 1149)
2499
2500 2003-06-01  John Levon  <levon@movementarian.org>
2501
2502         * text3.C: use a proper cut/paste when doing inset
2503         insert (from Jürgen Spitzmüller)
2504
2505 2003-06-01  John Levon  <levon@movementarian.org>
2506
2507         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2508
2509 2003-05-30  André Pönitz  <poenitz@gmx.net>
2510
2511         * rowpainter.C: unify second drawing phase
2512
2513 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2514
2515         * trans_mgr.C: remove one case of current_view
2516
2517         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2518
2519         * paragraph_funcs.h: remove paragraph.h include
2520
2521         * paragraph.h: delete NO_STD_LIST stuff
2522
2523         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2524
2525         * buffer.h: remove paragraph.h include
2526
2527         * ParagraphList.C: delete file
2528
2529         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2530
2531         * toc.C (getTocList): adjust
2532
2533         * paragraph_pimpl.C (validate): adjust
2534
2535         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2536
2537         * paragraph.C (Paragraph): adjust
2538         (getPositionOfInset): use const_iterator, adjust
2539         (bibitem): use const_iterator, adjust
2540         (setInsetOwner): adjust
2541
2542         * iterators.C (operator++): adjust
2543
2544         * InsetList.[Ch]: Replace selfmade iterator with standard
2545         vector::iterator also introduce const_iterator. Remove getPos,
2546         getInset and setInset from InsetTable. Adjust accordingly.
2547
2548         * BufferView.C (lockInset): adjust
2549         (ChangeInsets): adjust
2550
2551         * tabular.[Ch]: delete commented same_id functions
2552
2553 2003-05-28  John Levon  <levon@movementarian.org>
2554
2555         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2556
2557 2003-05-28  André Pönitz  <poenitz@gmx.net>
2558
2559         * metricsinfo.[Ch]: remove 'fullredraw' member
2560
2561 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2562
2563         * lyxtextclass.C (operator): remove caching.
2564
2565 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2566
2567         * text3.C: adjust
2568
2569         * text2.C (cursorBottom): adjust
2570         (setCounter): use ParagraphList::find, adjust
2571
2572         * text.C (workWidth): use ParagraphList::find, adjust
2573
2574         * lyxcursor.C (LyXCursor): adjust
2575
2576         * buffer.C (inset_iterator): adjust
2577
2578         * ParagraphList.h: make iterator(value_type) private, make
2579         ParagraphList a friend of iterator.
2580
2581         * ParagraphList.C (find): new function
2582
2583         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2584
2585 2003-05-27  André Pönitz  <poenitz@gmx.net>
2586
2587         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2588
2589 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2590
2591         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2592
2593 2003-05-26  John Levon  <levon@movementarian.org>
2594
2595         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2596
2597 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * remove same_id from function signatures, adjust.
2600
2601 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2604
2605         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2606
2607         * paragraph.C (Paragraph): get rid of same_ids parameter
2608
2609         * ParagraphList.C (insert): adjust
2610         (push_back): adjust
2611
2612 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * paragraph_funcs.C (breakParagraph): adjust
2615         (breakParagraphConservative): adjust
2616
2617         * buffer.C (readParagraph): adjust
2618
2619         * ParagraphList.C (insert): take a reference instead of a pointer
2620         (insert): adjust
2621
2622         * paragraph.[Ch] (id): new function
2623
2624         * bufferlist.C (newFile): adjust
2625
2626         * ParagraphList.C (ParagraphList): adjust
2627         (assign): adjust
2628         (push_back): take a reference instead of a pointer.
2629
2630         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2631
2632         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2633         instead.
2634
2635         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2636         set else use old code.
2637
2638         * ParagraphList.C: remove all NO_NEXT code and only compile this
2639         code of NO_STD_LIST is set.
2640
2641 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * BufferView_pimpl.C:
2644         * TextCache.C:
2645         * TextCache.h:
2646         * bufferlist.C:
2647         * errorlist.h:
2648         * format.C:
2649         * format.h:
2650         * graph.C:
2651         * lyxfunc.C:
2652         * lyxrc.C:
2653         * graphics/GraphicsConverter.C:
2654         * graphics/PreviewLoader.C: header adjustment
2655
2656 2003-05-23  Angus Leeming  <leeming@lyx.org>
2657
2658         * LaTeXFeatures.[Ch] (useBabel): new method.
2659         * bufferparams.C (writeLaTeX): use it.
2660
2661 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * ParagraphList.h (set): remove unused function.
2664
2665 2003-05-23  André Pönitz  <poenitz@gmx.net>
2666
2667         * BufferView.C:
2668         * BufferView_pimpl.C:
2669         * buffer.C:
2670         * buffer.h:
2671         * lyxfunc.C:
2672         * undo_funcs.C: setUndo reworked
2673
2674         * iterators.[Ch]: add access to topmost ParagraphList
2675
2676         * lyxtext.[Ch] (workWidth): add a const
2677
2678 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2679
2680         * texrow.[Ch] (increasePos): remove function
2681         * exporter.C (export): removed unused var and outdated comment
2682
2683 2003-05-23  Angus Leeming  <leeming@lyx.org>
2684
2685         * latexrunparams.h: rename fragile as moving_arg.
2686         * paragraph.C (simpleTeXOnePar): ditto.
2687         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2688
2689 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2690
2691         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2692         (createUndo): ditto
2693         (textUndoOrRedo): comment out a currently unused var.
2694
2695         * paragraph.h (NO_NEXT): enable NO_NEXT
2696
2697         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2698
2699         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2700
2701         * exporter.C (Export): adjust for removeAutoInsets removal.
2702
2703         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2704
2705         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2706
2707         * BufferView.[Ch] (removeAutoInsets): delete function
2708
2709 2003-05-22  Angus Leeming  <leeming@lyx.org>
2710
2711         * latexrunparams.h: add a free_spacing variable.
2712
2713         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2714         to pass moving_arg, as the data is stored in runparams.fragile.
2715
2716         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2717         to Inset::latexOptional or to simpleTeXOnePar.
2718
2719         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2720         free_spacing arg to Inset::latexOptional.
2721
2722         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2723         free_spacing arg.
2724
2725 2003-05-22  Angus Leeming  <leeming@lyx.org>
2726
2727         * latexrunparams.h: add fragile and use_babel variables.
2728
2729         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2730         * buffer.C (makeLaTeXFile): store this returned value in
2731         runparams.use_babel, thus passing it to the inset::latex methods.
2732
2733         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2734         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2735
2736         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2737         longer has a fragile arg, as it is stored in runparams.fragile.
2738
2739         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2740         moving_arg parameter as the data is stored in runparams.fragile.
2741
2742         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2743         a fragile parameter as the data is stored in runparams.fragile.
2744
2745 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2748
2749 2003-05-22  Angus Leeming  <leeming@lyx.org>
2750
2751         * latexrunparams.h: add a 'bool nice' which defaults to false.
2752
2753         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2754         now encapsulated within runparams.
2755
2756         * bufferlist.C (updateIncludedTeXfiles):
2757         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2758
2759 2003-05-22  Angus Leeming  <leeming@lyx.org>
2760
2761         * latexrunparams.h: new file containing struct LatexRunParams.
2762         * Makefile.am: add new file.
2763
2764         * LaTeX.[Ch] (c-tor, run):
2765         * buffer.[Ch] (makeLaTeXFile):
2766         * bufferlist.[Ch] (updateIncludedTeXfiles):
2767         * converter.C (convert, scanLog):
2768         * converter.[Ch] (runLaTeX):
2769         * exporter.C (Export):
2770         * paragraph.[Ch] (simpleTeXOnePar):
2771         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2772         * paragraph_funcs.[Ch] (latexParagraphs):
2773         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2774         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2775         pass around a LatexRunParams parameter.
2776
2777 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * paragraph.[Ch]: remove unused constructor
2780
2781         * ParagraphList.C (erase): new function, taking two iterators
2782
2783 2003-05-22  André Pönitz  <poenitz@gmx.net>
2784
2785         * undo_funcs.C: remove duplicated code
2786
2787         * iterator.[Ch]: operator=
2788
2789 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2790
2791         * tabular.C (SetMultiColumn): ws changes
2792
2793         * rowpainter.C (paintFirst): get rid of a ->previous
2794
2795         * lyx_cb.C (getPossibleLabel): parlist simplification
2796
2797         * BufferView.C (ChangeInsets): simplify slightly.
2798
2799 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2800
2801         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2802         * lfuns.h: new LFUN_SPACE
2803         * lyxfunc.C: protected space has a new lfun
2804         * paragraph_funcs.C: read new space insets
2805         * text3.C:
2806         * factory.C: handle new space insets
2807
2808 2003-05-22  André Pönitz  <poenitz@gmx.net>
2809
2810         * BufferView.C:
2811         * BufferView_pimpl.C:
2812         * buffer.[Ch]:
2813         * lyxfunc.C:
2814         * undo_funcs.C: return a ParIterator from getParFromID.
2815
2816         * iterators.[Ch]: add two const's
2817
2818 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * toc.C (getTocList): adjust
2821
2822         * iterators.[Ch]: rework for parlist
2823
2824         * buffer.C (par_iterator_begin): adjust
2825         (par_iterator_end): adjust
2826
2827         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2828
2829         * BufferView.C (removeAutoInsets): adjust
2830         (ChangeInsets): adjust
2831
2832 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2833
2834         * text.C (top_y): fix bug 1110
2835
2836 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2837
2838         * errorlist.[Ch]: added
2839         * buffer.C:
2840         * BufferView.[Ch]:
2841         * BufferView_pimpl.C:
2842         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2843         instead
2844
2845 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * Makefile.am: ensure that lyx is relinked upon changes to the
2848         various "convenience" libs.
2849
2850 2003-05-20  Angus Leeming  <leeming@lyx.org>
2851
2852         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2853         files are compiled in alphabetical order again.
2854
2855         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2856
2857 2003-05-19  Angus Leeming  <leeming@lyx.org>
2858
2859         * gettext.[Ch]: remove "char const * _(char const *)".
2860
2861 2003-05-19  André Pönitz  <poenitz@gmx.net>
2862
2863         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2864
2865         * Makefile.am:
2866         * BufferView.C:
2867         * DepTable.h:
2868         * LaTeXFeatures.C:
2869         * buffer.C:
2870         * lyxfont.C:
2871         * lyxlex.h:
2872         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2873
2874 2003-05-19  André Pönitz  <poenitz@gmx.net>
2875
2876         * buffer.C:
2877         * lyxlayout.[Ch]:
2878         * lyxtextclass.[Ch]:
2879         * paragraph.C:
2880         * paragraph_funcs.[Ch]:
2881         * text2.C:
2882         * text3.C: more insetenv work
2883
2884 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2885
2886         * ParagraphParameters.C (params2string): small bug fixed
2887
2888 2003-05-16  André Pönitz  <poenitz@gmx.net>
2889
2890         * debug.C:
2891         * bufferview_funcs.C: patch from Kornel Benko to prevent
2892           crash when _(...) is called twice in a statement
2893
2894 2003-05-16  André Pönitz  <poenitz@gmx.net>
2895
2896         * BufferView.C:
2897         * lyxfunc.C:
2898         * text.C:
2899         * text2.C:
2900         * text3.C:
2901         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2902
2903 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2904
2905         * lyx_main.C (init): remove spurious static_cast
2906
2907 2003-05-14  André Pönitz  <poenitz@gmx.net>
2908
2909         * BufferView.C: fix format string
2910
2911 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * BufferView.[Ch] (insertErrors): removed
2914         * BufferView.[Ch] (showErrorList): added
2915         * buffer.C (runChkTeX):
2916         * converter.C (scanLog): call showErrorList instead of inserterrors
2917
2918 2003-05-13  André Pönitz  <poenitz@gmx.net>
2919
2920         * BufferView_pimpl.C:
2921         * buffer.C:
2922         * bufferview_func.C:
2923         * MenuBackend.C:
2924         * lyxfunc.C:
2925         * lyxrc.C:
2926         * tex-accent.C:
2927         * text3.C:
2928         * toc.C:
2929         * tabular_funcs.h: tostr() from its own header
2930
2931         * ParagraphParameters.C:
2932         * ToolbarBackend.C:
2933         * bufferparams.C:
2934         * format.C:
2935         * lyxlex_pimpl.C:
2936         * text3.C: STRCONV()
2937
2938 2003-05-12  André Pönitz  <poenitz@gmx.net>
2939
2940         * BufferView.C:
2941         * BufferView_pimpl.C:
2942         * CutAndPaste.C:
2943         * LaTeX.C:
2944         * LaTeXFeatures.C:
2945         * ParagraphParameters.C:
2946         * buffer.C:
2947         * bufferlist.C:
2948         * bufferparams.C:
2949         * bufferview_funcs.C:
2950         * converter.C:
2951         * counters.C:
2952         * debug.C:
2953         * exporter.C:
2954         * format.C:
2955         * importer.C:
2956         * lyx_cb.C:
2957         * lyx_main.C:
2958         * lyxfont.C:
2959         * lyxfunc.C:
2960         * lyxvc.C:
2961         * paragraph.C:
2962         * paragraph_funcs.C:
2963         * tabular.C:
2964         * tabular_funcs.C:
2965         * text2.C:
2966         * text3.C:  boost::format -> bformat  all over the place
2967
2968
2969 2003-05-09  André Pönitz  <poenitz@gmx.net>
2970
2971         * LColor.[Ch]: Pimpl the #include <map> away
2972
2973 2003-05-09  John Levon  <levon@movementarian.org>
2974
2975         * bufferlist.C: never remove emergency saves
2976
2977 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * Makefile.am: better lib building
2980
2981 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2982
2983         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2984         instead.
2985         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2986         (simpleTeXSpecialChars): adjust
2987         (simpleTeXSpecialChars): adjust
2988         * paragraph.C (simpleTeXOnePar): adjust
2989         * buffer.C (makeLaTeXFile): adjust
2990
2991         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2992
2993         * text2.C (changeDepth): parlist cleanup
2994         (getColumnNearX): ditto
2995
2996         * rowpainter.C (getLabelFont): parlist cleanup
2997
2998         * bufferlist.C (newFile): parlist cleanup
2999
3000         * CutAndPaste.C (eraseSelection): parlist cleanup
3001
3002         * BufferView_pimpl.C (trackChanges): parlist cleanup
3003         (dispatch): ditto
3004
3005         * BufferView.C (lockInset): parlist cleanup.
3006         (ChangeInsets): ditto
3007
3008 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * CutAndPaste.h: Update file header.
3011
3012         * CutAndPaste.C: Update file header.
3013         Store the parts cut out of the Document in a limited_stack.
3014         (copySelection): adjust
3015         (pasteSelection): new function, takes the index in the limited stack.
3016         (nrOfParagraphs): adjust
3017         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3018         simplify error inset insertion.
3019         (checkPastePossible): adjust
3020
3021 2003-05-06  John Levon  <levon@movementarian.org>
3022
3023         * text2.C: don't cast wrap inset to float
3024
3025 2003-05-05  André Pönitz  <poenitz@gmx.net>
3026
3027         * iterator.C:
3028         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3029
3030         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3031           few naked Paragraph *.
3032
3033 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3034
3035         * bufferparams.C: Output warning if a document with missing
3036         TeX document class is loaded
3037         * exporter.C: Disable TeX exports if the document class is missing
3038         * lyxtextclass.C:
3039         * lyxtextclass.h:
3040         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3041         isTeXClassAvailable()
3042
3043 2003-05-03  John Levon  <levon@movementarian.org>
3044
3045         * BufferView.h:
3046         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3047         explicit cursor show/hide
3048
3049         * BufferView_pimpl.h:
3050         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3051         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3052
3053         * lyxfunc.C: hide cursor before dispatching.
3054
3055         * lyx_cb.C:
3056         * lyxfind.C:
3057         * text.C:
3058         * text3.C: remove explicit cursor hides
3059
3060 2003-05-02  André Pönitz  <poenitz@gmx.net>
3061
3062         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3063
3064         * undo_funcs.C:
3065         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3066           linked lists
3067
3068         * text2.C: tiny whitespace
3069
3070 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * undo_funcs.C: almost only ws changes.
3073
3074         * ParagraphList.C (splice): just return if pl is empty.
3075
3076 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3077
3078         * ParagraphList.C (splice): new function.
3079
3080         * CutAndPaste.C (pasteSelection): use it
3081
3082 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3083
3084         * CutAndPaste.C (pasteSelection): remove the last next and
3085         previous from this file.
3086
3087 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3088
3089         * CutAndPaste.C (pasteSelection): more clean up, user proper
3090         ParagraphList functions for pasteing.
3091
3092         * ParagraphList.C (insert): new function, three arg insert
3093
3094 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * ParagraphList.C (insert): new function, three arg insert
3097
3098         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3099         not on paragraphs.
3100
3101 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3104
3105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3108
3109 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3112         (copySelection): clean up a bit.
3113         (pasteSelection): use make_pair
3114
3115         * ParagraphList.C (ParagraphList): implement copy constructor
3116         (operator=): implement, base on copy constructor.
3117         (assign): new func
3118
3119         * paragraph.C (erase): return a bool
3120
3121         * paragraph_pimpl.C (erasePos): remove function, move contents...
3122         (erase): ... here. Return a bool.
3123         (erase): call erase instead of erasePos.
3124
3125 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3126
3127         * ParagraphList.h: define PitPosPair
3128         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3129         ParagraphList, fix a bug on pasting multiple pars
3130         * text2.C: change interface to C&P
3131
3132 2003-04-30  André Pönitz  <poenitz@gmx.net>
3133
3134         * undo_func.C: revert part of yesterday's patch 2
3135
3136 2003-04-30  John Levon  <levon@movementarian.org>
3137
3138         * LColor.C: s/tabular/table/
3139
3140 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * text3.C (dispatch): do not convert iterator -> pointer
3143         * undo_funcs.C (setCursorParUndo): ditto
3144         * text_funcs.C (transposeChars): ditto
3145
3146         * text2.C (setLayout): ws changes only
3147
3148         * text.C (breakParagraph): do not convert iterator -> pointer
3149         (insertChar): ditto
3150         (acceptChange): ditto
3151         (rejectChange): ditto
3152         (changeCase): ditto
3153         (Delete): ditto
3154         (backspace): ditto
3155
3156         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3157         pointer
3158
3159 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3160
3161         * text3.C (gotoInset): YABG (yet another bad getChar)
3162
3163 2003-04-29  André Pönitz  <poenitz@gmx.net>
3164
3165         * paragraph.h: make operator= private unimplemented as long as
3166           it is unusable
3167
3168         * ParagraphList.C: whitespace
3169
3170         * paragraph.[Ch]:
3171         * paragraph_pimpl.[Ch]:
3172         * paragraph_funcs.C:
3173         * CutAndPaste.C:
3174         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3175
3176         * text2.C:
3177           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3178
3179 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3180
3181         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3182         * paragraph.[Ch] (erase):
3183         * paragraph_pimpl.[Ch] (erase): change return type and value
3184         * text2.C (cutSelection): some rework
3185
3186 2003-04-28  John Levon  <levon@movementarian.org>
3187
3188         * bufferlist.C: changes for unsaved changes dialog
3189
3190 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * bufferlist.C (newFile): set language (messages_) for new
3193         documents also.
3194
3195         * buffer.C (readFile): ws changes only.
3196
3197 2003-04-28  André Pönitz  <poenitz@gmx.net>
3198
3199         * undo_funcs.C:
3200         * lyxfunc.C:
3201         * buffer.[Ch]:
3202         * BufferView_pimpl.C:
3203         * BufferView.C: getParFromID related ParagraphList::iterator changes
3204
3205 2003-04-28  André Pönitz  <poenitz@gmx.net>
3206
3207         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3208           Changes
3209
3210 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3211
3212         * messages.C: remove one more localedir class variable.
3213
3214 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * messages.C (getLocaleDir): singleton generation function
3217         (Pimpl): use it.
3218         (Messages): add a default constructor.
3219
3220         * main.C (main): do not setup localedir here, do not call
3221         gettext_init.
3222
3223         * gettext.C (_): use it.
3224         (gettext_init): delete funciton
3225
3226 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * gettext.C (getLyXMessages): new singleton generating function.
3229
3230         * buffer.C (updateDocLang): adjust
3231
3232         * Makefile.am (messages.o): add target
3233         (main.o): remove target
3234
3235 2003-04-27  John Levon  <levon@movementarian.org>
3236
3237         * bufferlist.C:
3238         * lyx_cb.C:
3239         * lyxfunc.C:
3240         * lyxvc.C: specify cancel button in Alert::prompt
3241
3242 2003-04-26  John Levon  <levon@movementarian.org>
3243
3244         * text3.C:
3245         * lyxfunc.C:
3246         * lfuns.h:
3247         * LyXAction.C: add LFUN_INSET_SETTINGS
3248
3249         * lyxfunc.C: don't enable tabular-feature when there's
3250         just any locking inset
3251
3252 2003-04-26  John Levon  <levon@movementarian.org>
3253
3254         * bufferlist.C: re-add Cancel to buffer close question
3255
3256         * lyxfunc.C: fix import UI a bit
3257
3258 2003-04-25  John Levon  <levon@movementarian.org>
3259
3260         * gettext.C: remove the broken asserts for now
3261
3262 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * messages.C: make case where setlocale cannot comply work better.
3265
3266         * buffer.C (updateDocLang): new function
3267         (changeLanguage): use it
3268         (readFile): use it
3269
3270         * text2.C (setCounter): use B_ a bit.
3271
3272         * lyxlayout.C (Read): be sure to trim the label strings.
3273
3274         * messages.C (Messages): fix typo in comment
3275
3276         * buffer.C (readFile): set message_ after file is loaded.
3277         (makeDocBookFile): remove double return
3278         (changeLanguage): reset message_ upon language change.
3279         (B_): new func, use this to get translated buffer strings.
3280
3281         * main.C: add myself and Jean Marc as authors.
3282
3283 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * messages.[hC]: pimplify Messages, and three different pimpls to be
3286         used in different circumstances.
3287
3288         * gettext.[Ch]: change for use with new message code.
3289
3290 2003-04-24 André Pönitz <poenitz@gmx.net>
3291
3292         * factory.C: support for eqref
3293
3294 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3295
3296         * messages.[Ch]: add missing char
3297
3298         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3299
3300         * messages.[Ch]: New files
3301
3302 2003-04-18  John Levon  <levon@movementarian.org>
3303
3304         * BufferView.h:
3305         * BufferView.C:
3306         * BufferView_pimpl.C:
3307         * lfuns.h:
3308         * LyXAction.C:
3309         * lyxtext.h:
3310         * text2.C: remove layout-copy/paste (bug 778)
3311
3312 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3313
3314         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3315
3316 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3317
3318         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3319         if they succeed. Act accordingly.
3320
3321 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3322
3323         * text2.C (setCharFont): adjust
3324         (setCounter): adjust
3325         (insertStringAsLines): adjust
3326
3327         * text.C (leftMargin): adjust
3328         (setHeightOfRow): adjust
3329
3330         * rowpainter.C (paintFirst): adjust
3331         (paintLast): adjust
3332
3333         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3334         (outerHook): ditto
3335         (isFirstInSequence): ditto
3336         (getEndLabel): ditto
3337         (outerFont): adjust
3338
3339         * paragraph.C (getParLanguage): comment out some hard stuff.
3340
3341         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3342         (sgmlError): ditto
3343         (simpleDocBookOnePar): ditto
3344         (makeDocBookFile): use ParagraphList::iterator
3345
3346         * CutAndPaste.C (pasteSelection): adjust
3347
3348 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * text2.C (getFont): adjust
3351         (getLayoutFont): adjust
3352         (getLabelFont): adjust
3353
3354         * paragraph_funcs.C (TeXOnePar): adjust
3355
3356         * buffer.C (simpleLinuxDocOnePar): adjust
3357         (simpleDocBookOnePar): adjust
3358
3359         * CutAndPaste.C (pasteSelection): adjust
3360
3361         * BufferView.C (getEncoding): adjust
3362
3363         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3364
3365 2003-04-16  John Levon  <levon@movementarian.org>
3366
3367         * lyxfind.C: use parlist stuff for search/changes
3368
3369 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3372
3373         * text2.C (deleteEmptyParagraphMechanism): adjust
3374
3375         * text2.[Ch] (ownerParagraph): delete func (both of them
3376
3377 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3380
3381 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * ParagraphList.C: prepare for NO_NEXT
3384
3385 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * text2.C (getFont): adjust
3388         (getLayoutFont): adjust
3389         (getLabelFont): adjust
3390
3391         * paragraph.C (getFont): adjust
3392         (getLabelFont): adjust
3393         (getLayoutFont): adjust
3394
3395         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3396
3397 2003-04-15  John Levon  <levon@movementarian.org>
3398
3399         From Angus Leeming
3400
3401         * lyx_main.C: handle Include in .ui files
3402
3403 2003-04-15  John Levon  <levon@movementarian.org>
3404
3405         * MenuBackend.C: make the doc files length shorter
3406
3407         * ToolbarBackend.h:
3408         * ToolbarBackend.C: handle toolbar placement flags,
3409         Minibuffer
3410
3411 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3412
3413         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3414         adjust
3415
3416         * paragraph_funcs.C (TeXOnePar): adjust
3417
3418         * paragraph.C (getLabelFont): add outerfont arg, adjust
3419         (getLayoutFont): ditto
3420         (simpleTeXOnePar): adjust
3421
3422         * paragraph_pimpl.C (realizeFont): delete func
3423
3424 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3425
3426         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3427         row argument, constify cur argument.
3428
3429 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * text2.C (getFont): adjust
3432         (getLayoutFont): adjust
3433         (getLabelFont): adjust
3434
3435         * paragraph_funcs.C (TeXOnePar): adjust
3436         (outerFont): new func...
3437         (realizeFont): ...moved out from here, changed this to facilitate
3438         transition
3439
3440         * paragraph.C (getFont): take outerfont as arg, adjust
3441         (simpleTeXOnePar): add outerfont arg, adjust
3442
3443         * buffer.C (simpleLinuxDocOnePar): adjust
3444         (simpleDocBookOnePar): adjust
3445
3446         * CutAndPaste.C (pasteSelection): adjust
3447
3448         * BufferView.C (getEncoding): adjust
3449
3450 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * text2.C (setCharFont): adjust
3453         (setCounter): adjust
3454
3455         * text.C (leftMargin): adjust
3456         (setHeightOfRow): adjust
3457
3458         * rowpainter.C (paintFirst): adjust
3459         (paintLast): adjust
3460
3461         * paragraph_pimpl.C (realizeFont): adjust
3462
3463         * paragraph.C (isFirstInSequence): move from here...
3464         * paragraph_funcs.C (isFirstInSequence): ...to here
3465
3466         * paragraph.C (outerHook): move from here...
3467         * paragraph_funcs.C (outerHook): ...to here
3468
3469         * paragraph.C (depthHook): move from here...
3470         * paragraph_funcs.C (depthHook): ...to here
3471
3472         * paragraph.C (getEndLabel): move from here...
3473         * paragraph_funcs.C (getEndLabel): ...to here
3474
3475         * text2.C (realizeFont): move from here...
3476         * paragraph_funcs.C (realizeFont): ...to here
3477
3478 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3481
3482 2003-04-14  Angus Leeming  <leeming@lyx.org>
3483
3484         * LColor.[Ch]: scrap LColor mathcursor.
3485
3486 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * lyxlex.[Ch] (text): delete function
3489         * trans.C (Load): adjust
3490         * paragraph_funcs.C (readParToken): adjust
3491
3492 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3495         vector<char> instead of a char[].
3496
3497         * lyxlex_pimpl.C (getString): adjust
3498         (next): adjust
3499         (lex): use getString
3500         (eatLine): adjust
3501         (nextToken): adjust
3502
3503         * lyxlex.C (text): use pimpl_->getString()
3504         (getBool): ditto
3505         (findToken): ditto
3506
3507 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3510         (makeFontEntriesLayoutSpecific): temp var for par.size()
3511         (setLayout): temp var for ownerParagraphs().end()
3512         (fullRebreak): temp var for rows().end()
3513         (selectionAsString): temp var for boost::next(startpit), realize
3514         that the while really is a regular for loop.
3515         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3516         setCursor in one place.
3517         (setParagraph): temp vr for ownerParagraphs().end()
3518         (updateCounters): make the while loop a for loop
3519         (cutSelection): temp var for ownerParagraphs().end()
3520         (updateInset): make the do {} while() a regular for loop
3521         (getCursorX): use temp vars
3522         (setCurrentFont): use temp vars
3523         (getColumnNearX): use temp vars
3524
3525 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * text.C (transformChar): use temp var for getChar
3528         (computeBidiTables): use temp var for row->par()
3529         (fill): move temp vars for row->par() and pit->layout() earlier in
3530         the function.
3531         (labelFill): use temp var for row->par()
3532         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3533         asc and desc, realize that pit never changes and that firstpit is
3534         just a duplicate and not needed. Exchange rit->par() with pit in a
3535         lot of places.
3536         (breakAgain): use a temp var for boost::next(rit)
3537         (breakAgainOneRow): ditto
3538         (breakParagraph): use a temp var for rows().begin()
3539         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3540         (cursorRightOneWord): use temp var for cursor.par() and
3541         cursor.pos(), remove usage of tmpcursor.
3542         (cursorLeftOneWord): use temp var for cursor.par() and
3543         cursor.pos() only set cur at end of function.
3544
3545 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * text.C, text2.C: exchange all usage of Paragraph::next with
3548         boost::next(ParagraphList::iterator)
3549
3550         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3551
3552         * text2.C (cursorTop): simplify implementation
3553         (cursorBottom): ditto
3554         (setParagraph): use ParagraphList::iterator
3555         (setCurrentFont): adjust
3556         (getColumnNearX): adjust
3557         (cursorRight): adjust
3558         (cursorLeft): remove usage of Paragraph::previous
3559         (cursorUpParagraph): ditto
3560         (deleteEmptyParagraphMechanism): slight cleanup
3561
3562         * text.C (isBoundary): take a Paragraph const & instead of a
3563         pointer as arg.
3564         (addressBreakPoint): ditto
3565         (leftMargin): remove usage of Paragraph::previous.
3566         (setHeightOfRow): ditto
3567         (cursorLeftOneWord): ditto
3568         (selectNextWordToSpellcheck): ditto
3569         (Delete): ditto
3570         (backspace): ditto
3571         (breakParagraph): remove one usage of Paragraph::next
3572         (redoParagraph): ditto
3573         (acceptChange): ditto
3574         (insertChar): adjust
3575         (rowBreakPoint): adjust
3576
3577         * bufferview_funcs.C (toggleAndShow): adjust
3578
3579 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3582         methods to access it.
3583         * lyxtext.h:
3584         * text.C: Added updateRowPositions to compute all row positions.
3585         Make top_y and getRowNearY() to use the cached y position
3586
3587 2003-04-11  John Levon  <levon@movementarian.org>
3588
3589         * text.C (rowBreakPoint): reintroduce the labelEnd
3590         checks, code copied from the row fill stuff. Deep voodoo.
3591
3592         * text.C (fill): add a comment and debugging for the
3593         next poor soul.
3594
3595 2003-04-11  John Levon  <levon@movementarian.org>
3596
3597         * text.C: make sure fullrow insets get wrapped to the next line,
3598         even when they're in a manual label
3599
3600 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * text2.C (insertParagraph): make it take ParagraphList::iterator
3603         as arg.
3604         (setLayout): make it return ParagraphList::iterator
3605         (redoParagraphs): ditto
3606         (setCounter): ditto
3607         (checkParagraph): ditto
3608
3609         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3610
3611         * text2.C: adjust several funcs.
3612         (realizeFont): take a ParagraphList::iterator as arg.
3613         (getLayoutFont): ditto
3614         (getLabelFont): ditto
3615         (setCharFont): ditto
3616
3617         * text.C: adjust several funcs.
3618
3619 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3620
3621         * text.C (selectNextWordToSpellcheck): don't accidentally
3622         skip insets
3623
3624 2003-04-10  John Levon  <levon@movementarian.org>
3625
3626         * ToolbarBackend.C (getIcon): special handling for
3627         LFUN_MATH_DELIM
3628
3629 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3630
3631         * text2.C (cursorRight): a getChar assert fixed
3632
3633 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3634
3635         * text2.C (getFont): change to take a ParagraphList::iterator
3636         instead of Paragraph*
3637         Adjust several functions.
3638
3639         * text.C (transformChar): change to take a ParagraphList::iterator
3640         instead of Paragraph*
3641         (singleWidth): ditto
3642         Adjust several functions.
3643
3644         * rowpainter.C: adjust several functions
3645         * rowpainter.h:store a ParagraphList::iterator and not a
3646         Paragraph&.
3647
3648
3649 2003-04-09  John Levon  <levon@movementarian.org>
3650
3651         * lyxfunc.C:
3652         * lfuns.h:
3653         * LyXAction.h:
3654         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3655         and the "help" bits as well
3656
3657 2003-04-09  John Levon  <levon@movementarian.org>
3658
3659         * ToolbarBackend.h:
3660         * ToolbarBackend.C: allow multiple toolbars
3661
3662 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * undo_funcs.C (setCursorParUndo): adjust
3665
3666         * text_funcs.C (transposeChars): adjust
3667
3668         * text3.C (gotoNextInset): adjust
3669         (dispatch): adjust
3670
3671         * text2.C (setLayout): adjust
3672         (changeDepth): adjust
3673         (setFont): adjust
3674         (redoParagraphs): adjust
3675         (selectionAsString): adjust
3676         (setParagraph): adjust
3677         (insertInset): adjust
3678         (cutSelection): adjust
3679         (copySelection): adjust
3680         (pasteSelection): adjust
3681         (insertStringAsLines): adjust
3682         (updateInset): adjust
3683         (setCursor): change to take a ParagraphList::iterator parameter
3684         (setCursorIntern): change to take a ParagraphList::iterator parameter
3685         (setCurrentFont): adjust
3686         (cursorLeft): adjust
3687         (cursorRight): adjust
3688         (deleteEmptyParagraphMechanism): adjust
3689
3690         * text.C (breakParagraph): adjust
3691         (insertChar): adjust
3692         (acceptChange): adjust
3693         (rejectChange): adjust
3694         (selectNextWordToSpellcheck): adjust
3695         (changeCase): adjust
3696         (Delete): adjust
3697         (backspace): adjust
3698
3699         * lyxfind.C (SearchForward): adjust
3700         (SearchBackward): adjust
3701         (nextChange): adjust
3702
3703         * lyxcursor.C (par): adjust
3704
3705         * lyxcursor.h: store a ParagraphList::iterator instead of a
3706         Paragraph*
3707
3708         * lyx_cb.C (getPossibleLabel): adjust
3709
3710         * bufferview_funcs.C (toggleAndShow): adjust
3711
3712         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3713         (dispatch): adjust
3714
3715         * BufferView.C (removeAutoInsets): adjust
3716         (lockedInsetStoreUndo): adjust
3717
3718 2003-04-09  John Levon  <levon@movementarian.org>
3719
3720         * ToolbarBackend.C: try icon without argument
3721         if with argument fails
3722
3723 2003-04-08  John Levon  <levon@movementarian.org>
3724
3725         * ToolbarBackend.h:
3726         * ToolbarBackend.C: add getIcon(), handle tooltip,
3727         and change from "Icon" to "Item".
3728
3729 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3730
3731         * BufferView.C (lockInset): another bad getchar crunched
3732
3733 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3734
3735         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3736         again)
3737
3738 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3739
3740         * lyxfind.C (searchForward, searchBackwards): bug 782
3741
3742 2003-04-07  John Levon  <levon@movementarian.org>
3743
3744         * paragraph.C: remove dead comment
3745
3746         * text.C: remove troublesome depth-fiddling code
3747         in leftMargin() and rightMargin() (bug 1017)
3748
3749         * text.C: fix breaking of rows in nested lists
3750         (bug 1004)
3751
3752         * text2.C (updateCounters): fix up depth values
3753         (bug 1013)
3754
3755 2003-04-07  John Levon  <levon@movementarian.org>
3756
3757         * BufferView_pimpl.C: clear message when doc finishes resizing,
3758         and after a mouse event
3759
3760         * lyxfunc.C: clear message after exiting inset
3761
3762 2003-04-07  John Levon  <levon@movementarian.org>
3763
3764         * bufferview_funcs.C: show math status not outside
3765         status in the statusbar
3766
3767 2003-04-07  John Levon  <levon@movementarian.org>
3768
3769         * lyxfunc.C: note status changed after a depth change
3770
3771 2003-04-04  Angus Leeming  <leeming@lyx.org>
3772
3773         * LaTeX.h: move AuxInfo operator==, != out of line.
3774         Remove LaTeX virtual destructor; nothing derives from it.
3775         Move operator()() out of public area and rename it startscript().
3776         Change protected for private.
3777
3778 2003-04-04  Angus Leeming  <leeming@lyx.org>
3779
3780         * lyxfunc.C:
3781         * text2.C: remove unneeded #includes.
3782
3783 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3784
3785         * text2.C (dEPM): fix the heigth of the next row
3786
3787 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * text.C: squashed an invalid getChar requester + some ws changes
3790
3791 2003-04-03  John Levon  <levon@movementarian.org>
3792
3793         * bufferview_funcs.h:
3794         * bufferview_funcs.C:
3795         * lyxfunc.C:
3796         * lyxtext.h:
3797         * text2.C: make getStatus work for the env depth lfuns
3798
3799 2003-04-03  John Levon  <levon@movementarian.org>
3800
3801         * bufferview_funcs.h:
3802         * bufferview_funcs.C:
3803         * lyxfunc.C:
3804         * lyxtext.h:
3805         * text2.C: parlistize decDepth(), by merging it with incDepth()
3806
3807 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3808
3809         * lyxrow.h: store a ParagraphList::iterator instead of a
3810         Paragraph* and adjust other class functions to suit.
3811
3812         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3813         above.
3814
3815 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3816
3817         * text2.C (setCursor): do not anchor to cursor row for the time being
3818
3819 2003-04-02  John Levon  <levon@movementarian.org>
3820
3821         * LyXAction.C:
3822         * lfuns.h:
3823         * lyx_main.C:
3824         * lyxtext.h:
3825         * text.C:
3826         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3827
3828 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * paragraph.h: make ParagraphList and ParagraphList::iterator
3831         friends of Paragraph.
3832
3833         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3834
3835         * ParagraphList.C: Use the private next_ and previous_ from
3836         Paragraph.
3837
3838 2003-04-01  John Levon  <levon@movementarian.org>
3839
3840         * ToolbarBackend.h:
3841         * ToolbarBackend.C:
3842         * Makefile.am: rename, remove defaults gunk
3843
3844         * MenuBackend.h:
3845         * MenuBackend.C: remove defaults gunk
3846
3847         * Languages.h:
3848         * Languages.C: remove defaults gunk
3849
3850         * lyx_main.h:
3851         * lyx_main.C: error out if files couldn't be found.
3852
3853 2003-04-02  John Levon  <levon@movementarian.org>
3854
3855         * text2.C: make incDepth() use parlist
3856
3857 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3858
3859         * undo_funcs.C (firstUndoParagraph): adjust
3860
3861         * text3.C (gotoInset): adjust
3862         (dispatch): adjust, and rewrite loop.
3863
3864         * text2.C (init): adjust, and rewrite loop.
3865         (redoParagraphs): adjust
3866         (updateInset): adjust, and rewrite loop.
3867         (deleteEmptyParagraphMechanism): adjust
3868
3869         * tabular.C (LyXTabular): adjust
3870         (SetMultiColumn): adjust
3871         (TeXRow): adjust
3872
3873         * lyxtext.[Ch] (ownerParagraph): delete function
3874         (ownerParagraphs): new function returns a ParagraphList.
3875
3876         * BufferView.C (removeAutoInsets): adjust
3877         (insertErrors): adjust
3878         (setCursorFromRow): adjust
3879
3880 2003-04-01  Angus Leeming  <leeming@lyx.org>
3881
3882         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3883         in the frontends.
3884
3885 2003-04-02  John Levon  <levon@movementarian.org>
3886
3887         * lyxtext.h:
3888         * text.C:
3889         * Makefile.am:
3890         * text_funcs.h:
3891         * text_funcs.C: make transposeChars a free function
3892
3893         * lyxrow_funcs.C: remove wrong comment
3894
3895 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * lyxtext.h: adjust
3898         * rowpainter.C: adjust
3899         * text.C: adjust
3900         * text2.C: adjust
3901         * text3.C: adjust
3902
3903         * lyxrow_funcs. [Ch]: new files
3904
3905         * lyxrow.[Ch]: remove next and previous pointers
3906         (next,previous): remove accessor functions
3907         (isParEnd): move to lyxrow_funcs
3908         (lastPos): move to lyxrow_funcs
3909         (nextRowIsAllInset): move to lyxrow_funcs
3910         (lastPrintablePos): move to lyxrow_funcs
3911         (numberOfSeparators): move to lyxrow_funcs
3912         (numberOfHfills): move to lyxrow_funcs
3913         (numberOfLabelHfills): move to lyxrow_funcs
3914         (hfillExpansion): move to lyxrow_funcs
3915
3916         * lyxfunc.C: adjust
3917
3918         * bufferview_funcs.C (toggleAndShow): adjust
3919
3920         * RowList.h: Remove class RowList from file leave just a
3921         std::list<Row>.
3922
3923         * RowList.C: delete file
3924
3925         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3926         and lyxrow_funcs.h
3927
3928 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3929
3930         * text3.C (cursorPrevious): adjust
3931         (cursorNext): adjust
3932         (dispatch): adjust
3933
3934         * text2.C (redoHeightOfParagraph): adjust
3935         (redoDrawingOfParagraph): adjust
3936         (setCursor): adjust
3937
3938         * text.C (breakParagraph): adjust
3939         (insertChar): adjust
3940         (backspace): adjust
3941
3942         * rowpainter.C (RowPainter): adjust
3943         (leftMargin): simplify and adjust
3944         (most rowpainter functions): adjust.
3945
3946         * rowpainter.h: store the row as RowList::iterator not as Row*
3947
3948         * lyxcursor.C (row): taka RowList::iterator as arg
3949         (irow): ditto
3950
3951         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3952         of Row*.
3953
3954 2003-04-01  Angus Leeming  <leeming@lyx.org>
3955
3956         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3957         stuff like bool Bool.
3958
3959 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3960
3961         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3962         rewrite a loop
3963
3964 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3967         RowList::iterator.
3968
3969         * lyxtext.h (rows): drop one version and leve a const variant that
3970         returns a RowList::iterator.
3971
3972 2003-03-31  Angus Leeming  <leeming@lyx.org>
3973
3974         * text.C (fill): ensure that the signature is the same as that in the
3975         header file.
3976
3977 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * text2.C (redoParagraphs): adjust
3980         (updateCounters): adjust
3981         (checkParagraph): adjust
3982         (getColumnNearX): adjust and reformat a bit.
3983
3984         * text.C (top_y): adjust
3985         (workWidth): adjust
3986         (leftMargin): adjust
3987         (prepareToPrint): adjust
3988         (getRow): adjust
3989         (getRowNearY): adjust
3990
3991         * lyxtext.h: make rowlist_ mutable.
3992
3993         * RowList.h: add const_iterator
3994         * RowList.C: adjust for RowList::const_iterator.
3995
3996         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3997         adjust.
3998
3999 2003-03-31  John Levon  <levon@movementarian.org>
4000
4001         * lyxrc.h:
4002         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4003
4004         * lyx_main.C: set default fonts from using lyx_gui funcs
4005
4006         * exporter.C: pdf_mode moved from lyxrc
4007
4008         * lyx_cb.C:
4009         * lyxfunc.C: changes from above
4010
4011 2003-03-31  John Levon  <levon@movementarian.org>
4012
4013         * lyx_main.C: fix to the last fix
4014
4015 2003-03-31  John Levon  <levon@movementarian.org>
4016
4017         * bufferlist.C: "Load original" -> "Load Original"
4018
4019         * converter.C:
4020         * exporter.C:
4021         * importer.C:
4022         * lyx_main.C:
4023         * format.C: more Alert cleanups
4024
4025 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * text2.C (removeParagraph): make it take a RowList::iterator as
4028         arg, adjust.
4029         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4030         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4031
4032         * text.C (anchor_row): make it take a RowList::iterator as arg,
4033         adjust.
4034         (computeBidiTables): make it take a const reference to Row instead
4035         of Row pointer, adjust.
4036         (leftMargin): make it take a RowList::iterator as arg, adjust.
4037         (rowBreakPoint): adjust
4038         (breakAgainOneRow): make it take a RowList::iterator as arg,
4039         adjust.
4040         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4041
4042         * bufferview_funcs.C (toggleAndShow): adjust
4043
4044 2003-03-30  John Levon  <levon@movementarian.org>
4045
4046         * Makefile.am:
4047         * BoostFormat.h:
4048         * boost-inst.C: moved to support
4049
4050         * several files: changes as a result
4051
4052 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * text2.C (LyXText): adjust.
4055         (init): adjust
4056         (removeRow): make it take a RowList::iterator as arg, adjust.
4057         (fullRebreak): adjust
4058         (deleteEmptyParagraphMechanism): adjust
4059         (clearPaint): adjust
4060         (postPaint): adjust
4061
4062         * text.C (top_y): adjust
4063         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4064         (breakAgain): make it take a RowList::iterator as arg, adjust.
4065         (breakParagraph): adjust
4066         (insertChar): adjust
4067         (backspace): adjust
4068
4069         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4070         need_break_row, and refresh_row.
4071
4072         * text3.C (dispatch): adjust
4073
4074         * text2.C (checkParagraph): adjust
4075         (setCursor): adjust
4076         (setCursorFromCoordinates): adjust
4077
4078         * text.C (top_y): adjust
4079         (workWidth): adjust
4080         (getRow): make it return a RowList::iterator, adjust
4081         (getRowNearY): make it return a RowList::iterator, adjust
4082
4083         * text2.C (init): adjust
4084         (insertRow): remove function
4085         (insertParagraph): adjust
4086         (redoParagraphs): adjust
4087         (fullRebreak): adjust
4088         (updateCounters): adjust
4089
4090         * text.C (top_y): rewrite to use RowList iterators.
4091         (top_y): adjust
4092         (setHeightOfRow): rewrite to sue RowList iterators.
4093         (appendParagraph): adjust
4094         (breakAgain): adjust
4095         (breakAgainOneRow): adjust
4096         (breakParagraph): adjust
4097         (getRow): adjust
4098         (getRowNearY): adjust, and remove commented code.
4099
4100         * lyxtext.h (firstRow): delete function
4101         (lastRow): delete function
4102         (rows): new function (const and non-const versions.)
4103         (insertRow): delete function
4104
4105         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4106
4107 2003-03-29  John Levon  <levon@movementarian.org>
4108
4109         * BufferView_pimpl.C: always update scrollbar top
4110         because pasting text when we're anchored could mean we
4111         miss an update altogether
4112
4113 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * text2.C (init): use rowlist_.end() and not 0.
4116         (insertRow): change to take a RowList::iterator as arg, adjust
4117         for this.
4118         (insertParagraph): change to take a RowList::iterator as arg,
4119         adjust for this.
4120         (redoParagraphs): remove some debug msgs.
4121
4122         * text.C (appendParagraph): change to take a RowList::iterator
4123         arg, adjust for this.
4124         (breakAgain): add an assert
4125         (breakAgainOneRow): ditto
4126
4127 2003-03-29  John Levon  <levon@movementarian.org>
4128
4129         * text2.C: do not clear selection after inc/decDepth
4130         (bug 550)
4131
4132 2003-03-29  John Levon  <levon@movementarian.org>
4133
4134         * BufferView.C:
4135         * buffer.C: fix broken strerrors according to Lars
4136
4137 2003-03-29  John Levon  <levon@movementarian.org>
4138
4139         * converters.C: more Alert cleanups
4140
4141 2003-03-29  John Levon  <levon@movementarian.org>
4142
4143         * bufferview_funcs.C: remove pointless Alert
4144
4145         * buffer.C: fix confusing error message when
4146         a template is chmoded 000
4147
4148 2003-03-29  John Levon  <levon@movementarian.org>
4149
4150         * BufferView.C:
4151         * BufferView.h:
4152         * BufferView_pimpl.C: Alert fixes
4153
4154         * Makefile.am:
4155         * tabular.C:
4156         * tabular-old.C: remove unused table compat reading
4157
4158 2003-03-29  John Levon  <levon@movementarian.org>
4159
4160         * BufferView.C:
4161         * buffer.C:
4162         * lyx_cb.h:
4163         * lyx_cb.C: more Alert cleanups
4164
4165         * lyxfunc.C: don't allow chktex if not latex document
4166
4167 2003-03-29  John Levon  <levon@movementarian.org>
4168
4169         * lyx_cb.C:
4170         * BufferView.C:
4171         * buffer.C: warnings pushed down from support/,
4172         kill err_alert
4173
4174 2003-03-29  John Levon  <levon@movementarian.org>
4175
4176         * lyxfunc.C: safety check for C-r (revert)
4177
4178 2003-03-29  John Levon  <levon@movementarian.org>
4179
4180         * bufferlist.h:
4181         * bufferlist.C: several UI fixes using Alert::prompt.
4182         Fix the pointless looping quit code. Fix stupid revert
4183         behaviour (bug 938)
4184
4185         * lyxvc.h:
4186         * lyxvc.C:
4187         * lyx_cb.C: use Alert::prompt
4188
4189         * lyx_main.C: remove a silly question
4190
4191         * lyxfunc.C: remove a couple of silly questions,
4192         use Alert::prompt
4193
4194 2003-03-28  John Levon  <levon@movementarian.org>
4195
4196         * text2.C: fix bug 974 (End on empty par)
4197
4198 2003-03-28  John Levon  <levon@movementarian.org>
4199
4200         * BufferView_pimpl.C:
4201         * LyXAction.C:
4202         * lfuns.h: remove do-nothing math greek lfuns
4203
4204 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * lyxgluelength.h (isValidGlueLength): add default arg on
4207         parameter 2. Remove default arg from friend in class.
4208
4209         * lyxlength.h (isValidLength): add default arg on parameter 2.
4210         Remove default arg from friend in class.
4211
4212         * text2.C (LyXText): adjust, initialize refresh_row.
4213         (init): adjust
4214         (removeRow): adjust
4215         (insertRow): adjust
4216         (insertParagraph): adjst
4217         (redoParagraphs): adjust
4218         (fullRebreak): adjust
4219         (updateCounters): adjust
4220         (deleteEmptyParagraphMechanism): first attempt at fixing a
4221         crashing bug.
4222
4223         * text.C (top_y): adjust
4224         (setHeightOfRow): adjust
4225         (getRow): adjust
4226         (getRowNearY): adjust
4227
4228         * lyxtext.h: include RowList.h
4229         (~LyXText): not needed anymore, deleted.
4230         (firstRow): modify for RowList
4231         (lastRow): new function
4232         Delete firstrow and lastrow class variables, add a Rowlist
4233         rowlist_ class variable.
4234
4235         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4236         paragraph is empty.
4237
4238         * RowList.C (insert): fix case where it == begin().
4239
4240 2003-03-26  Angus Leeming  <leeming@lyx.org>
4241
4242         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4243         the thesaurus dialog.
4244
4245 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4248
4249         * RowList.[Ch]: new files
4250
4251         * ParagraphList.C (erase): handle the case where it == begin
4252         correctly.
4253
4254 2003-03-25  John Levon  <levon@movementarian.org>
4255
4256         * Makefile.am:
4257         * aspell_local.h:
4258         * aspell.C: add new aspell support
4259
4260         * lyxrc.h:
4261         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4262         have it accessible.
4263
4264 2003-03-25  Angus Leeming  <leeming@lyx.org>
4265
4266         * lfuns.h:
4267         * LyXAction.C (init): new LFUN_INSET_INSERT.
4268
4269         * BufferView_pimpl.C (dispatch): split out part of the
4270         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4271
4272         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4273         LFUN_INSET_APPLY.
4274
4275 2003-03-25  Angus Leeming  <leeming@lyx.org>
4276
4277         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4278
4279 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4280
4281         * text2.C:
4282         * text3.C: remove useless row->height(0)
4283
4284 2003-03-25  John Levon  <levon@movementarian.org>
4285
4286         * lyxtext.h:
4287         * text2.C:
4288         * text3.C: rename the refreshing stuff to better names
4289
4290 2003-03-24  John Levon  <levon@movementarian.org>
4291
4292         * BufferView_pimpl.h:
4293         * BufferView_pimpl.C: update layout choice on a mouse
4294         press/release
4295
4296 2003-03-23  John Levon  <levon@movementarian.org>
4297
4298         * Makefile.am: fix commandtags.h reference
4299
4300 2003-03-22  John Levon  <levon@movementarian.org>
4301
4302         * BufferView_pimpl.C:
4303         * lyxtext.h:
4304         * rowpainter.C:
4305         * rowpainter.h:
4306         * text.C:
4307         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4308
4309 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4310
4311         * lyxtext.h:
4312         * text.C: take the rtl methods out of line
4313
4314 2003-03-21 André Pönitz <poenitz@gmx.net>
4315
4316         * metricsinfo.[Ch]: new files containing structures to be passed around
4317         during the two-phase-drawing...
4318
4319 2003-03-21 André Pönitz <poenitz@gmx.net>
4320
4321         * lyxtextclass.C: read 'environment' tag.
4322
4323 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4324
4325         * text2.C (removeRow): fix bug 964
4326
4327 2003-03-20  John Levon  <levon@movementarian.org>
4328
4329         * rowpainter.C:
4330         * text.C:
4331         * text2.C: paint cleanups. Inset::update() dropped font
4332         parameter
4333
4334 2003-03-19  John Levon  <levon@movementarian.org>
4335
4336         * lyxfunc.C: only fitcursor/markDirty if available()
4337
4338 2003-03-19  John Levon  <levon@movementarian.org>
4339
4340         * commandtags.h: rename to ...
4341
4342         * lfuns.h: ... this, and renumber / cleanup
4343
4344 2003-03-19  John Levon  <levon@movementarian.org>
4345
4346         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4347         fit the cursor after an lfun
4348
4349         * BufferView.h:
4350         * BufferView.C:
4351         * BufferView_pimpl.h:
4352         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4353
4354         * LyXAction.C: layout-character should have ReadOnly
4355
4356         * ParagraphParameters.C:
4357         * buffer.C:
4358         * bufferview_funcs.C:
4359         * lyx_cb.C:
4360         * lyxfind.C:
4361         * lyxtext.h:
4362         * text.C:
4363         * text2.C:
4364         * text3.C:
4365         * undo_funcs.C: changes from above
4366
4367 2003-03-18  John Levon  <levon@movementarian.org>
4368
4369         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4370         remove it from update()
4371
4372         * lyxfunc.C: update layout choice after an lfun
4373
4374         * text3.C: remove extra updateLayoutChoice()s
4375
4376 2003-03-18  John Levon  <levon@movementarian.org>
4377
4378         * text.C: top_y change means full repaint, fix
4379         a drawing bug with cursor movement
4380
4381 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * lyxtext.h:
4384         * text.C:
4385         * text2.C: anchor row on setCursor
4386
4387 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * lyxtext.h: remove almost all mutable keywords
4390         * text.C:
4391         * text2.C:
4392         * text3.C: remove const keywords accordingly
4393
4394 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4397         anon namespace
4398         (TeXEnvironment): ditto
4399         (TeXOnePar): ditto
4400
4401 2003-03-17  John Levon  <levon@movementarian.org>
4402
4403         * text.C (rowBreakPoint): remove attempt to fix displayed
4404         math insets inside a manual label
4405
4406 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * lyxtext.h: remove BufferView* as first arg from almost all class
4409         functions.
4410         * other files: adjust.
4411
4412 2003-03-17  John Levon  <levon@movementarian.org>
4413
4414         * lyxtext.h:
4415         * undo_funcs.C:
4416         * text2.C: more paint cleanups
4417
4418         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4419
4420         * rowpainter.h:
4421         * rowpainter.C: remove "smart" background painting code
4422
4423 2003-03-16  John Levon  <levon@movementarian.org>
4424
4425         * lyxtext.h:
4426         * text.C:
4427         * text2.C:
4428         * text3.C: add helper functions for setting refresh_row/y
4429
4430 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4431
4432         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4433         newline inset which *can* get inserted in the pass_thru layouts.
4434         This is primarily for literate documents.
4435
4436 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4437
4438         * buffer.C: increment LYX_FORMAT to 223
4439
4440 2003-03-14 André Pönitz <poenitz@gmx.net>
4441
4442         * textclass.h: prepare for environment handling, ws changes
4443         * lyxlayout.C: read latexheader and latexfooter tags
4444
4445 2003-03-14  John Levon  <levon@movementarian.org>
4446
4447         * text2.C: rewrite ::status() a bit
4448
4449 2003-03-13  John Levon  <levon@movementarian.org>
4450
4451         * lyxtext.h: add some docs
4452
4453 2003-03-13  John Levon  <levon@movementarian.org>
4454
4455         * lyxtext.h:
4456         * text.C:
4457         * text2.C:
4458         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4459
4460 2003-03-13  John Levon  <levon@movementarian.org>
4461
4462         * text3.C: fix appendix redrawing
4463
4464 2003-03-13  John Levon  <levon@movementarian.org>
4465
4466         * text.C (setHeightOfRow):
4467         * rowpainter.h:
4468         * rowpainter.C: make appendix mark have the text
4469           "Appendix" so the user knows what it is
4470
4471         * LColor.h:
4472         * LColor.C: s/appendixline/appendix/ from above
4473
4474 2003-03-13  John Levon  <levon@movementarian.org>
4475
4476         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4477
4478         * text.C: fix a getChar(pos) bug properly
4479
4480 2003-03-13  Angus Leeming  <leeming@lyx.org>
4481
4482         * commandtags.h:
4483         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4484         Probably only temporary. Let's see how things pan out.
4485
4486         * BufferView.C (unlockInset):
4487         * BufferView_pimpl.C (fitCursor):
4488         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4489
4490         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4491         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4492
4493         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4494         new functions that convert ParagraphParameters to and from a string.
4495
4496         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4497         BufferView::Pimpl's dispatch.
4498         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4499
4500 2003-03-13 André Pönitz <poenitz@gmx.net>
4501
4502         * lyxfunc.C:
4503         * text3.C:
4504         * factory.C: make it aware of InsetEnv
4505
4506 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * text2.C (setCursor): never ask for one past last
4509         (setCursor): add some debugging messages.
4510
4511         * text.C (singleWidth): never ask for one past last
4512         (singleWidth): ditto
4513         (leftMargin): ditto
4514         (rightMargin): ditto
4515         (rowBreakPoint): ditto
4516         (setHeightOfRow): ditto
4517         (prepareToPrint): ditto
4518
4519         * rowpainter.C (paintBackground): never ask for one past last
4520         (paintText): never ask for one past last
4521
4522         * paragraph_pimpl.C (getChar): make the assert stricter, never
4523         allow the one past last pos to be taken
4524
4525         * paragraph.C (getChar): ws changes only
4526
4527         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4528         (numberOfSeparators): ditto
4529         (numberOfHfills): ditto
4530
4531 2003-03-12  John Levon  <levon@movementarian.org>
4532
4533         * author.h:
4534         * author.C:
4535         * bufferparams.h:
4536         * bufferparams.C:
4537         * paragraph_funcs.C: fix per-buffer authorlists
4538
4539 2003-03-12  John Levon  <levon@movementarian.org>
4540
4541         * text.C: fix newline in right address
4542
4543 2003-03-12  Angus Leeming  <leeming@lyx.org>
4544
4545         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4546         duplicate those in LyXFunc::dispatch.
4547
4548         * commandtags.h:
4549         * LyXAction.C:
4550         * ToolbarDefaults.C:
4551         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4552         Add LFUN_FONTFREE_UPDATE.
4553
4554         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4555         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4556
4557         * bufferview_func.[Ch]: several new functions to facilliate
4558         transfer of data to and from the character dialog.
4559
4560 2003-03-12  John Levon  <levon@movementarian.org>
4561
4562         * buffer.C:
4563         * paragraph.h:
4564         * paragraph.C:
4565         * paragraph_funcs.C:
4566         * paragraph_pimpl.C:
4567         * sgml.C:
4568         * tabular.C:
4569         * text.C:
4570         * text3.C: remove META_NEWLINE in favour of an inset
4571
4572         * rowpainter.h:
4573         * rowpainter.C: remove paintNewline (done by inset)
4574
4575 2003-03-12  John Levon  <levon@movementarian.org>
4576
4577         * paragraph_pimpl.C: complain about bad getChar()s
4578         for a while at least
4579
4580 2003-03-12  John Levon  <levon@movementarian.org>
4581
4582         * buffer.h:
4583         * buffer.C: move paragraph read into a separate function,
4584         a little renaming to reflect that.
4585
4586         * bufferparams.h:
4587         * bufferparams.C: remove the author_ids map, not necessary now
4588
4589         * factory.h:
4590         * factory.C: moved Buffer::readInset to here
4591
4592         * paragraph_funcs.h:
4593         * paragraph_funcs.C: readParagraph free function moved from
4594         buffer.C
4595
4596         * tabular.C: name change
4597
4598 2003-03-12  John Levon  <levon@movementarian.org>
4599
4600         * buffer.C:
4601         * ParagraphParameters.C: move par params input to
4602         a read() method
4603
4604         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4605         behave like a normal read from the stream wrt reading
4606         a line vs. a \\token
4607
4608 2003-03-12  John Levon  <levon@movementarian.org>
4609
4610         * paragraph.C:
4611         * ParagraphParameters.h:
4612         * ParagraphParameters.C: move output code to a
4613         ::write() method
4614
4615 2003-03-12  John Levon  <levon@movementarian.org>
4616
4617         * BufferView.C (insertLyXFile):
4618         * buffer.h:
4619         * buffer.C:
4620         * tabular.C: use a parlist iterator for creating the
4621           document.
4622
4623 2003-03-12  John Levon  <levon@movementarian.org>
4624
4625         * buffer.C: make current_change static local not
4626           static file-scope
4627
4628 2003-03-12  John Levon  <levon@movementarian.org>
4629
4630         * buffer.C: fix insertStringAsLines for change tracking
4631
4632 2003-03-12  John Levon  <levon@movementarian.org>
4633
4634         * BufferView.C:
4635         * tabular.C:
4636         * buffer.h:
4637         * buffer.C:
4638         * bufferparams.h:
4639         * bufferparams.C: move author list into params. Rename some
4640           functions. Move the header reading into a separate token
4641           loop. Move the header token reading into BufferParams.
4642
4643 2003-03-12  John Levon  <levon@movementarian.org>
4644
4645         * changes.C: put debug inside lyxerr.debugging() checks
4646
4647 2003-03-11 André Pönitz <poenitz@gmx.net>
4648
4649         * factory.C: make it aware of InsetHFill
4650
4651 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4652
4653         * buffer.C (latexParagraphs): move function from here...
4654         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4655         args.
4656
4657 2003-03-10  Angus Leeming  <leeming@lyx.org>
4658
4659         * LyXAction.C (init): fix bug in poplating array with multiple entries
4660         with the same LFUN (spotted by JMarc).
4661
4662 2003-03-10  John Levon  <levon@movementarian.org>
4663
4664         * text.C:
4665         * text2.C: move getColumnNearX() near its
4666         only call site
4667
4668 2003-03-10  John Levon  <levon@movementarian.org>
4669
4670         * text.C: fix break before a minipage
4671
4672 2003-03-10  John Levon  <levon@movementarian.org>
4673
4674         * text.C: fix the last commit
4675
4676 2003-03-09  John Levon  <levon@movementarian.org>
4677
4678         * lyxtext.h:
4679         * text.C:
4680         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4681         bug 365 (don't break before insets unless needed). Don't
4682         return a value > last under any circumstances.
4683
4684 2003-03-09  Angus Leeming  <leeming@lyx.org>
4685
4686         * BufferView_pimpl.C (trackChanges, dispatch): call
4687         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4688
4689 2003-03-09  Angus Leeming  <leeming@lyx.org>
4690
4691         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4692         than Dialogs::showAboutlyx().
4693
4694 2003-03-09  Angus Leeming  <leeming@lyx.org>
4695
4696         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4697         than Dialogs::showTabularCreate().
4698
4699 2003-03-09  John Levon  <levon@movementarian.org>
4700
4701         * lyxtext.h:
4702         * text.C:
4703         * text2.C: 3rd arg to nextBreakPoint was always the same.
4704           Use references.
4705
4706 2003-03-08  John Levon  <levon@movementarian.org>
4707
4708         * lyxrow.C:
4709         * paragraph.C:
4710         * paragraph.h:
4711         * rowpainter.C:
4712         * text.C:
4713         * text2.C: Remove the "main" bit from the "main body"
4714           notion.
4715
4716 2003-03-08  John Levon  <levon@movementarian.org>
4717
4718         * text.C (leftMargin): The left margin of an empty
4719         manual label paragraph should not include the label width
4720         string length.
4721
4722         * text.C (prepareToPrint): don't attempt to measure hfills
4723         for empty manual label paragraphs - the answer should be 0
4724
4725 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * CutAndPaste.C: remove commented code and reindent.
4728
4729 2003-03-08  John Levon  <levon@movementarian.org>
4730
4731         * lyxfunc.h:
4732         * lyxfunc.C: move reloadBuffer()
4733
4734         * BufferView.h:
4735         * BufferView.C: to here
4736
4737         * lyxvc.C: add comment
4738
4739         * vc-backend.h:
4740         * vc-backend.C: call bv->reload() to avoid
4741           getStatus() check on MENURELOAD
4742
4743 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4744
4745         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4746         to an old format .dep file.
4747
4748 2003-03-07  Angus Leeming  <leeming@lyx.org>
4749
4750         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4751         when the LFUN_MOUSE_RELEASE should have been handled by
4752         inset->localDispatch.
4753
4754 2003-03-07  Angus Leeming  <leeming@lyx.org>
4755
4756         * BufferView_pimpl.C (dispatch):
4757         * LyXAction.C (init):
4758         * ToolbarDefaults.C (init):
4759         * commandtags.h:
4760         * lyxfunc.C (getStatus):
4761         remove LFUN_INSET_GRAPHICS.
4762
4763         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4764
4765 2003-03-07  Angus Leeming  <leeming@lyx.org>
4766
4767         * commandtags.h:
4768         * LyXAction.C (init):
4769         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4770
4771         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4772
4773         * commandtags.h:
4774         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4775
4776         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4777         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4778
4779 2003-03-07  Angus Leeming  <leeming@lyx.org>
4780
4781         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4782         remove "ert".
4783
4784 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * ParagraphList.C (front): new function
4787         (back): implement
4788
4789 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4792         and top_row_offset_. removed var first_y.
4793         * text.C (top_y):
4794         * text2.C (LyXText, removeRow):
4795         * text3.C:
4796         * BufferView_pimpl.C:
4797         use these methods instead of using first_y
4798
4799 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * text2.C (pasteSelection): adjust for checkPastePossible
4802
4803         * CutAndPaste.C: remove Paragraph * buf and replace with
4804         ParagraphList paragraphs.
4805         (DeleteBuffer): delete
4806         (cutSelection): change the tc type to textclass_type
4807         (copySelection): change the tc type to textclass_type
4808         (copySelection): adjust for ParagraphList
4809         (pasteSelection): change the tc type to textclass_type
4810         (pasteSelection): adjust for Paragraphlist
4811         (nrOfParagraphs): simplify for ParagraphList
4812         (checkPastePossible): simplify for ParagraphList
4813         (checkPastePossible): remove unused arg
4814
4815         * ParagraphList.C (insert): handle the case where there are no
4816         paragraphs yet.
4817
4818         * CutAndPaste.h: make CutAndPaste a namespace.
4819
4820         * text3.C (dispatch): adjust
4821
4822         * text.C (breakParagraph): add a ParagraphList as arg
4823
4824         * paragraph_funcs.C (breakParagraph): change to take a
4825         BufferParams and a ParagraphList as args.
4826         (breakParagraphConservative): ditto
4827         (mergeParagraph): ditto
4828         (TeXDeeper): add a ParagraphList arg
4829         (TeXEnvironment): ditto
4830         (TeXOnePar): ditto
4831
4832         * buffer.C (readLyXformat2): adjust
4833         (insertStringAsLines): adjust
4834         (latexParagraphs): adjust
4835
4836         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4837         (cutSelection): adjust
4838         (pasteSelection): adjust
4839
4840         * BufferView_pimpl.C (insertInset): adjust
4841
4842 2003-03-05  Angus Leeming  <leeming@lyx.org>
4843
4844         * commandtags.h:
4845         * LyXAction.C (init):
4846         * BufferView_pimpl.C (dispatch):
4847         * lyxfunc.C (getStatus):
4848         remove LFUN_CHILD_INSERT.
4849
4850         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4851
4852 2003-03-05  Angus Leeming  <leeming@lyx.org>
4853
4854         * commandtags.h:
4855         * LyXAction.C (init):
4856         * src/factory.C (createInset):
4857         * lyxfunc.C (getStatus):
4858         * text3.C (dispatch):
4859         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4860
4861         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4862
4863 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * ParagraphList.C (insert): handle insert right before end()
4866         (erase): fix cases where it can be first or last paragraph.
4867
4868 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4869
4870         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4871         Paragraph::next and Paragraph::previous
4872         (TeXOnePar): ditto
4873
4874         * text.C (breakParagraph): adjust
4875
4876         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4877         BufferParams& as arg.
4878         (breakParagraph): use ParagraphList::insert
4879         (breakParagraphConservative): take a Buffer* instead of a
4880         BufferParams& as arg.
4881         (breakParagraphConservative): use ParagraphList::insert.
4882
4883         * buffer.C (insertStringAsLines): un-const it
4884         (insertStringAsLines): adjust
4885
4886         * ParagraphList.C (insert): new function
4887
4888         * CutAndPaste.C (pasteSelection): adjust
4889
4890         * text.C (backspace): adjust
4891
4892         * tabular.C (SetMultiColumn): adjust
4893
4894         * CutAndPaste.C (cutSelection): adjust
4895         (pasteSelection): adjust
4896
4897         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4898         Buffer const * as arg
4899
4900         * ParagraphList.C (erase): new function
4901         * paragraph_funcs.C (mergeParagraph): use it
4902         (mergeParagraph): make it take a Buffer* instead of a
4903         BufferParams* as arg
4904
4905         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4906         as arg
4907         (breakParagraphConservative): ditto
4908
4909         * paragraph.h: remove the breakParagraph friend
4910
4911         * paragraph.C (eraseIntern): new function
4912         (setChange): new function
4913
4914         * paragraph_funcs.C (mergeParagraph): make it take a
4915         ParagraphList::iterator instead of a Paragraph *, adjust
4916         accordingly.
4917
4918         * paragraph.h: move an #endif so that the change tracking stuff
4919         also works in the NO_NEXT case.
4920
4921 2003-03-04  Angus Leeming  <leeming@lyx.org>
4922
4923         * commandtags.h:
4924         * LyXAction.C: new LFUN_INSET_MODIFY.
4925
4926         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4927         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4928
4929 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * several files: ws changes only
4932
4933         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4934         (TeXEnvironment): ditto
4935         (TeXDeeper): ditto
4936
4937         * buffer.C (makeLaTeXFile): adjust
4938         (latexParagraphs): make it take ParagraphList::iterator as args
4939
4940 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4941
4942         * buffer.C (latexParagraphs): adjust
4943
4944         * paragraph.C (TeXOnePar): move function...
4945         (optArgInset): move function...
4946         (TeXEnvironment): move function...
4947         * paragraph_pimpl.C (TeXDeeper): move function...
4948         * paragraph_funcs.C: ...here
4949
4950         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4951
4952 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4953
4954         * buffer.C (readInset): remove compability code for old Figure and
4955         InsetInfo insets
4956
4957 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * buffer.C: ws changes
4960         (readInset):
4961
4962         * BufferView_pimpl.C: ditto
4963         * author.C: ditto
4964         * buffer.h: ditto
4965         * bufferlist.h: ditto
4966         * changes.h: ditto
4967         * lyxfunc.C: ditto
4968
4969 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4970
4971         * converter.[Ch]: split into itself +
4972         * graph.[Ch]
4973         * format.[Ch]
4974         * Makefile.am: += graph.[Ch] + format.[Ch]
4975         * MenuBackend.C
4976         * buffer.C
4977         * exporter.C
4978         * importer.C
4979         * lyx_main.C
4980         * lyxfunc.C
4981         * lyxrc.C: added #include "format.h"
4982
4983 2003-02-27  Angus Leeming  <leeming@lyx.org>
4984
4985         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4986           a label.
4987
4988         * factory.C (createInset): add "label" to the factory.
4989
4990         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4991           string and do no more.
4992
4993 2003-02-27  Angus Leeming  <leeming@lyx.org>
4994
4995         * commandtags.h:
4996         * LyXAction.C (init):
4997         * factory.C (createInset):
4998         * BufferView_pimpl.C (dispatch):
4999           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5000
5001         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5002
5003         * lyxfunc.C (dispatch):
5004         * text3.C (dispatch): pass name to params2string.
5005
5006 2003-02-26  Angus Leeming  <leeming@lyx.org>
5007
5008         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5009           blocks together.
5010           Rearrange the ~includes. Strip out the unnecessary ones.
5011
5012         * factory.C (createInset): reformat.
5013           create new insets for the various LFUN_XYZ_APPLY lfuns.
5014
5015 2003-02-26  John Levon  <levon@movementarian.org>
5016
5017         * lyxrow.h:
5018         * lyxrow.C: add isParStart,isParEnd helpers
5019
5020         * paragraph.h: make isInserted/DeletedText take refs
5021
5022         * paragraph_funcs.h:
5023         * paragraph_funcs.C: remove #if 0'd code
5024
5025         * lyxtext.h:
5026         * text3.C:
5027         * text2.C:
5028         * text.C: use lyxrow helpers above.
5029           Move draw and paint routines to RowPainter.
5030           Make several methods use refs not pointers.
5031           Make backgroundColor() const.
5032           Add markChangeInDraw(), isInInset().
5033           Merge changeRegionCase into changeCase.
5034           Make workWidth() shouldn't-happen code into an Assert.
5035
5036         * rowpainter.h:
5037         * rowpainter.C: new class for painting a row.
5038
5039         * vspace.h:
5040         * vspace.C: make inPixels take a ref
5041
5042 2003-02-26  Angus Leeming  <leeming@lyx.org>
5043
5044         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5045         LFUN_REF_APPLY.
5046
5047 2003-02-25  John Levon  <levon@movementarian.org>
5048
5049         * ispell.C: give the forked command a more accurate name
5050
5051 2003-02-22  John Levon  <levon@movementarian.org>
5052
5053         * toc.h:
5054         * toc.C: make TocItem store an id not a Paragraph *
5055           (bug #913)
5056
5057 2003-02-21  Angus Leeming  <leeming@lyx.org>
5058
5059         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5060           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5061           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5062           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5063           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5064           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5065
5066         * BufferView_pimpl.C (dispatch):
5067         * LyXAction.C (init):
5068         * factory.C (createInset):
5069         * lyxfunc.C (getStatus, dispatch):
5070         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5071
5072 2003-02-21  Angus Leeming  <leeming@lyx.org>
5073
5074         * BufferView_pimpl.C (MenuInsertLyXFile):
5075         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5076         * lyxfunc.C (menuNew, open, doImport):
5077           no longer pass a LyXView & to fileDlg.
5078
5079 2003-02-21  Angus Leeming  <leeming@lyx.org>
5080
5081         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5082         * LyXAction.C: change, BIBKEY to BIBITEM.
5083         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5084         Change InsetBibKey to InsetBibitem.
5085         Change BIBKEY_CODE to BIBITEM_CODE.
5086         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5087         * factory.C: replace insetbib.h with insetbibitem.h.
5088         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5089         * paragraph.C: replace insetbib.h with insetbibitem.h.
5090         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5091         Change bibkey() to bibitem().
5092         * text.C: remove insetbib.h.
5093         * text2.C: replace insetbib.h with insetbibitem.h.
5094         change bibkey() to bibitem().
5095         * text3.C: remove insetbib.h.
5096         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5097
5098 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5099
5100         * lyxrc.C (output): enclose user email in quotes (in case there are
5101         several words)
5102
5103 2003-02-18  John Levon  <levon@movementarian.org>
5104
5105         * buffer.h: add std::
5106
5107 2003-02-17  John Levon  <levon@movementarian.org>
5108
5109         * SpellBase.h:
5110         * ispell.h:
5111         * ispell.C:
5112         * pspell.h:
5113         * pspell.C: reworking. Especially in ispell, a large
5114           number of clean ups and bug fixes.
5115
5116         * lyxfunc.C: fix revert to behave sensibly
5117
5118 2003-02-17 André Pönitz <poenitz@gmx.net>
5119
5120         * LyXAction.C:
5121         * commandtags.h: new LFUN_INSERT_BIBKEY
5122
5123         * layout.h:
5124         * lyxlayout.C:
5125         * buffer.C:
5126         * factory.C:
5127         * text.C:
5128         * text2.C:
5129         * text3.C:
5130         * paragraph.[Ch]:
5131         * paragraph_func.C: remove special bibkey handling
5132
5133 2003-02-17  John Levon  <levon@movementarian.org>
5134
5135         * text.C (Delete): fix case where delete at the end of
5136           the very first paragraph would not merge the pars
5137
5138 2003-02-17  John Levon  <levon@movementarian.org>
5139
5140         * lyxrow.C: fix lastPrintablePos()
5141
5142 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5143
5144         * bufferparams.C (writeLaTeX): add a std:here
5145
5146         * buffer.C: and remove a using directive there
5147
5148 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5149
5150         * buffer.C (makeLaTeXFile): move the code that generates the
5151           preamble...
5152
5153         * bufferparams.C (writeLaTeX): ... in this new method
5154
5155         * LaTeXFeatures.C (getEncodingSet): make const
5156           (getLanguages): make const
5157
5158         * MenuBackend.C (binding): returns the binding associated to this
5159           action
5160           (add): sets the status of each item by calling getStatus. Adds
5161           some intelligence.
5162           (read): add support for OptSubMenu
5163           (expand): remove extra separator at the end of expanded menu
5164
5165 2003-02-15  John Levon  <levon@movementarian.org>
5166
5167         * BufferView.C:
5168         * BufferView_pimpl.C:
5169         * bufferlist.h:
5170         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5171           inset code that had no actual effect. Remove unneeded status
5172           code.
5173
5174 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5175
5176         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5177           in preamble
5178
5179 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5180
5181         * text.C (drawLengthMarker): also draw an arrow marker for
5182           symbolic lengths (medskip...)
5183
5184 2003-02-14  John Levon  <levon@movementarian.org>
5185
5186         * tabular.h:
5187         * tabular.C: better method names
5188
5189 2003-02-14  John Levon  <levon@movementarian.org>
5190
5191         * BufferView_pimpl.C:
5192         * bufferlist.C:
5193         * buffer.C:
5194         * converter.C:
5195         * lyx_cb.C:
5196         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5197           it's a more accurate name. Remove some pointless uses.
5198
5199 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5200
5201         * text2.C (LyXText): change order of initilizers to shut off
5202           warnings
5203
5204 2003-02-14  John Levon  <levon@movementarian.org>
5205
5206         * buffer.C: use ParIterator for getParFromID()
5207
5208         * paragraph.h:
5209         * paragraph.C:
5210         * paragraph_pimpl.h:
5211         * paragraph_pimpl.C: remove unused getParFromID()
5212
5213 2003-02-14  John Levon  <levon@movementarian.org>
5214
5215         * buffer.C: remove some very old #if 0'd parse code
5216
5217 2003-02-13  John Levon  <levon@movementarian.org>
5218
5219         * text.h:
5220         * text.C:
5221         * text2.C: move hfillExpansion(), numberOfSeparators(),
5222           rowLast(), rowLastPrintable(), numberofHfills(),
5223           numberOfLabelHfills() ...
5224
5225         * lyxrow.h:
5226         * lyxrow.C: ... to member functions here.
5227
5228         * paragraph.h:
5229         * paragraph.C:
5230         * lyxtext.h:
5231         * text.C: remove LyXText::beginningOfMainBody(), and call
5232           p->beginningOfMainBody() directly. Move the check for
5233           LABEL_MANUAL into the latter.
5234
5235         * text.h:
5236         * text.C:
5237         * text2.C:
5238         * vspace.C:
5239         * BufferView.h:
5240         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5241
5242         * text.h:
5243         * text.C:
5244         * text2.C:
5245         * text3.C:
5246         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5247           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5248
5249 2003-02-13  John Levon  <levon@movementarian.org>
5250
5251         * CutAndPaste.C: remove debug
5252
5253 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5254
5255         * paragraph.C (asString): remove two unused variables
5256
5257         * lyxtextclass.C (readTitleType):
5258           (Read):
5259           (LyXTextClass): handle new members titletype_ and titlename_
5260
5261         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5262
5263 2003-02-09  John Levon  <levon@movementarian.org>
5264
5265         * buffer.h:
5266         * buffer.C: replace hand-coded list with a map for the dep clean
5267
5268 2003-02-08  John Levon  <levon@movementarian.org>
5269
5270         * LaTeX.C: consolidate code into showRunMessage() helper
5271
5272 2003-02-08  John Levon  <levon@movementarian.org>
5273
5274         * lyxfind.C:
5275         * lyxtext.h:
5276         * text2.C:
5277         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5278           and pass the size in explicitly
5279
5280         * BufferView_pimpl.h:
5281         * BufferView_pimpl.C:
5282         * BufferView.h:
5283         * BufferView.C: add getCurrentChange()
5284
5285         * BufferView_pimpl.h:
5286         * BufferView_pimpl.C: handle change lfuns
5287
5288         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5289           for changes. Mark pasted paragraphs as new.
5290
5291         * support/lyxtime.h:
5292         * support/lyxtime.C:
5293         * DepTable.C: abstract time_t as lyx::time_type
5294
5295         * LColor.h:
5296         * LColor.C: add colours for new text, deleted text, changebars
5297
5298         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5299           package use "usenames" option.
5300
5301         * commandtags.h:
5302         * lyxfunc.C:
5303         * LyXAction.C: add change lfuns
5304
5305         * Makefile.am:
5306         * author.h:
5307         * author.C: author handling
5308
5309         * buffer.h:
5310         * buffer.C: add a per-buffer author list, with first entry as
5311           current author. Handle new .lyx tokens for change tracking. Output
5312           author list to .lyx file. Output dvipost stuff to .tex preamble.
5313           Bump lyx format to 222.
5314
5315         * bufferlist.h:
5316         * bufferlist.C: add setCurrentAuthor() to reset current author details
5317           in all buffers.
5318
5319         * bufferparams.h:
5320         * bufferparams.C: add param for tracking
5321
5322         * bufferview_funcs.C: output change info in minibuffer
5323
5324         * Makefile.am:
5325         * changes.h:
5326         * changes.C: add change-tracking structure
5327
5328         * debug.h:
5329         * debug.C: add CHANGES debug flag
5330
5331         * lyxfind.h:
5332         * lyxfind.C: add code for finding the next change piece
5333
5334         * lyxrc.h:
5335         * lyxrc.C: add user_name and user_email
5336
5337         * lyxrow.h:
5338         * lyxrow.C: add a metric for the top of the text line
5339
5340         * lyxtext.h:
5341         * text.C: implement accept/rejectChange()
5342
5343         * lyxtext.h:
5344         * text.C: paint changebars. Paint new/deleted text in the chosen
5345         colours. Strike through deleted text.
5346
5347         * paragraph.h:
5348         * paragraph.C:
5349         * paragraph_pimpl.h:
5350         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5351           in the current change to the insert functions. Rework erase to
5352           mark text as deleted, adding an eraseIntern() and a range-based
5353           erase(). Implement per-paragraph change lookup and
5354           accept/reject.
5355
5356         * paragraph_funcs.C: Fixup paste for change tracking.
5357
5358         * tabular.C: mark added row/columns as new.
5359
5360         * text.C: fix rowLast() to never return -1. Don't allow
5361           spellchecking of deleted text. Track transpose changes. Don't
5362           allow paragraph break or merge where appropriate.
5363
5364         * text2.C: leave cursor at end of selection after a cut.
5365
5366 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5367
5368         * text.C (getLengthMarkerHeight):
5369         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5370         visible on screen too.
5371
5372 2003-02-07  John Levon  <levon@movementarian.org>
5373
5374         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5375
5376 2003-02-05  Angus Leeming  <leeming@lyx.org>
5377
5378         * lyxserver.C (read_ready): revert my patch of 11 September last year
5379         as it sends PC cpu through the roof. Presumably this means that
5380         the lyxserver will no longer run on an Alpha...
5381
5382 2003-01-30  Angus Leeming  <leeming@lyx.org>
5383
5384         * factory.C (createInset): create an InsetCommandParam of type "index"
5385         and use it to 'do the right thing'.
5386
5387         * text2.C (getStringToIndex): ensure that cursor position is always
5388         reset to the reset_cursor position.
5389
5390 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5391
5392         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5393         disabled.
5394
5395 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5396
5397         * bufferview.C:
5398         * lyxcb.C:
5399         * lyxfunc.C: Output messages with identical spelling, punctuation,
5400         and spaces
5401
5402 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5403
5404         * MenuBackend.C (expandFormats): List only viewable export formats
5405         in "View" menu
5406
5407         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5408         message
5409
5410         * lyxfunc.C (getStatus): Make sure that formats other than
5411         "fax" can also be disabled
5412
5413 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5414
5415         * text3.C (dispatch): put the lfuns that insert insets in 3
5416         groups, and call doInsertInset with appropriate arguments.
5417         (doInsertInset): new function, that creates an inset and inserts
5418         it according to some boolean parameters.
5419
5420 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * buffer.C (readFile): remember to pass on 'par' when calling
5423         readFile recursively.
5424
5425 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5426
5427         * MenuBackend.C (expandFormats): add "..." to import formats.
5428
5429 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5430
5431         * paragraph.C (asString): Remove XForms RTL hacks.
5432
5433 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5434         * buffer.C: fix typo
5435
5436 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * Makefile.am (LIBS): delete var
5439         (lyx_LDADD): add @LIBS@ here instead.
5440
5441 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5442
5443         * Clarify the meaning of "wheel mouse jump"
5444
5445 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5446
5447         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5448         tabular in a float
5449
5450 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5451
5452         * importer.C (Loaders): do not preallocate 3 elements in the
5453         vector, since one ends up with 6 elements otherwise
5454
5455 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5456
5457         * DepTable.C (write): write the file name as last element of the
5458         .dep file (because it may contain spaces)
5459         (read): read info in the right order
5460
5461 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5462
5463         * paragraph_pimpl.C (simpleTeXBlanks):
5464         (simpleTeXSpecialChars):
5465         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5466
5467         * tabular.C (latex): add some missing case statements. Reindent.
5468
5469         * MenuBackend.C (expandToc): remove unused variable.
5470
5471 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5472
5473         * LColor.C:
5474         * LaTeX.C:
5475         * LyXAction.C:
5476         * MenuBackend.C:
5477         * buffer.C:
5478         * exporter.C:
5479         * lyxfunc.C:
5480         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5481         and the like.
5482
5483 2003-01-05  John Levon  <levon@movementarian.org>
5484
5485         * BufferView.h:
5486         * BufferView.C: add getEncoding()
5487
5488         * kbsequence.h:
5489         * kbsequence.C: do not store last keypress
5490
5491         * lyxfunc.h:
5492         * lyxfunc.C: store last keypress here instead. Pass encoding
5493           to getISOEncoded()
5494
5495 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5496
5497         * lyx_main.C (init): remove annoying error message when following
5498         symbolic links (bug #780)
5499
5500 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5501
5502         * text.C (insertChar):
5503         * lyxrc.C (getDescription): remove extra spaces
5504
5505 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5506
5507         * lyxrc.C (getDescription): remove extra spaces
5508
5509 2002-12-20  John Levon  <levon@movementarian.org>
5510
5511         * text3.C: hack fix for page up/down across tall rows
5512
5513 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5514
5515         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5516         not been invoked
5517
5518 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5519
5520         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5521         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5522         thesaurus is not compiled in
5523
5524 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5525
5526         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5527
5528 2002-12-16  Angus Leeming  <leeming@lyx.org>
5529
5530         * lyxrc.[Ch]:
5531         * lyx_main.C (init): remove override_x_deadkeys stuff.
5532
5533 2002-12-12  John Levon  <levon@movementarian.org>
5534
5535         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5536           insert. Only remove shift modifier under strict
5537           circumstances.
5538
5539 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * MenuBackend.C (expandToc): fix crash.
5542
5543 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * MenuBackend.C (expandToc): gettext on float names.
5546
5547 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5548
5549         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5550         implement bool empty() [bug 490]
5551
5552 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5555
5556 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * several files: ws changes
5559
5560 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * text2.C (setCounter): clean up a bit, use boost.format.
5563         (updateCounters): initialize par upon declaration.
5564
5565         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5566         if the layout exists. We do not just store the layout any more.
5567         (SwitchLayoutsBetweenClasses): use boost.format
5568
5569 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5570
5571         * converter.C (convert): if from and to files are the same, use a
5572         temporary files as intermediary
5573
5574 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5575
5576         * commandtags.h:
5577         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5578
5579 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5580
5581         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5582
5583 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * tabular.C (asciiPrintCell): use string(size, char) instead of
5586         explicit loop.
5587
5588         * sgml.C (openTag): fix order of arguments to string constructor
5589         (closeTag): ditto
5590
5591         * lyxfunc.C (dispatch): use boost.format
5592
5593         * lots of files: change "c" -> 'c'
5594
5595 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5596
5597         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5598
5599 2002-11-25  Angus Leeming  <leeming@lyx.org>
5600
5601         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5602
5603         * lyx_main.C (init): compile fix.
5604
5605 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5606
5607         * lyx_cb.C (start): boost.formatify
5608         do not include <iostream>
5609
5610         * lengthcommon.C: ws only
5611
5612         * boost-inst.C,BoostFormat.h: add more explict instantations
5613
5614 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * lots of files: handle USE_BOOST_FORMAT
5617
5618 2002-11-21  John Levon  <levon@movementarian.org>
5619
5620         * pspell.C: fix compile
5621
5622 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5623
5624         * lyxfunc.C (dispatch): use boost::format
5625         (open): ditto
5626         (doImport): ditto
5627
5628         * lyxfont.C (stateText): use boost::format
5629
5630         * lyx_main.C (LyX): use boost::format
5631         (init): ditto
5632         (queryUserLyXDir): ditto
5633         (readRcFile): ditto
5634         (parse_dbg): ditto
5635         (typedef boost::function): use the recommened syntax.
5636
5637         * importer.C (Import): use boost::format
5638
5639         * debug.C (showLevel): use boost::format
5640
5641         * converter.C (view): use boost::format
5642         (convert): ditto
5643         (move): ditto
5644         (scanLog): ditto
5645
5646         * bufferview_funcs.C (currentState): use boost::format
5647
5648         * bufferlist.C (emergencyWrite): use boost::format
5649
5650         * buffer.C (readLyXformat2): use boost::format
5651         (parseSingleLyXformat2Token): ditto
5652
5653         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5654
5655         * LaTeX.C (run): use boost::format
5656
5657         * Chktex.C (scanLogFile): use boost::format
5658
5659         * BufferView_pimpl.C (savePosition): use boost::format
5660         (restorePosition): ditto
5661         (MenuInsertLyXFile): ditto
5662
5663         * BoostFormat.h: help file for explicit instation.
5664
5665 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5666
5667         * tabular.C (latex): Support for block alignment in fixed width
5668         columns.
5669
5670 2002-11-17  John Levon  <levon@movementarian.org>
5671
5672         * BufferView_pimpl.C:
5673         * lyx_cb.C:
5674         * lyxfunc.C: split filedialog into open/save
5675
5676 2002-11-08  Juergen Vigna  <jug@sad.it>
5677
5678         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5679         by my last patch (hopefully).
5680
5681 2002-11-08  John Levon  <levon@movementarian.org>
5682
5683         * iterators.h:
5684         * iterators.C:
5685         * buffer.h:
5686         * buffer.C:
5687         * paragraph.h:
5688         * paragraph.C:
5689         * toc.h:
5690         * toc.C: ParConstIterator, and use it (from Lars)
5691
5692 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5693
5694         * lyxtextclass.[Ch]: revise and add doxygen comments
5695
5696 2002-11-07  John Levon  <levon@movementarian.org>
5697
5698         * text.C: fix progress value for spellchecker
5699
5700         * toc.C: fix navigate menu for insetwrap inside minipage
5701
5702         * paragraph_funcs.C: added FIXME for suspect code
5703
5704 2002-11-07  John Levon  <levon@movementarian.org>
5705
5706         * BufferView_pimpl.C: fix redrawing of insets
5707           on buffer switch
5708
5709 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5710
5711         * text2.C (updateCounters): fix bug 668
5712
5713 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5714
5715         * text3.C (dispatch): Do not make the buffer dirty when moving the
5716         cursor.
5717
5718 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * vc-backend.C: STRCONV
5721         (scanMaster): ditto
5722
5723         * text2.C (setCounter): STRCONV
5724
5725         * paragraph.C (asString): STRCONV
5726
5727         * lyxlength.C (asString): STRCONV
5728         (asLatexString): ditto
5729
5730         * lyxgluelength.C (asString): STRCONV
5731         (asLatexString): ditto
5732
5733         * lyxfunc.C (dispatch): STRCONV
5734         (open): ditto
5735
5736         * lyxfont.C (stateText): STRCONV
5737
5738         * importer.C (Import): STRCONV
5739
5740         * counters.C (labelItem): STRCONV
5741         (numberLabel): ditto
5742         (numberLabel): remove unused ostringstream o
5743
5744         * chset.C: STRCONV
5745         (loadFile): ditto
5746
5747         * bufferview_funcs.C (currentState): STRCONV
5748
5749         * buffer.C (readFile): STRCONV
5750         (asciiParagraph): ditto
5751         (makeLaTeXFile): ditto
5752
5753         * Spacing.C (writeEnvirBegin): STRCONV
5754
5755         * LaTeXFeatures.C (getLanguages): STRCONV
5756         (getPackages): ditto
5757         (getMacros): ditto
5758         (getBabelOptions): ditto
5759         (getTClassPreamble): ditto
5760         (getLyXSGMLEntities): ditto
5761         (getIncludedFiles): ditto
5762
5763         * LaTeX.C: STRCONV
5764         (run): ditto
5765         (scanAuxFile): ditto
5766         (deplog): ditto
5767
5768         * LString.h: add the STRCONV macros
5769
5770         * BufferView_pimpl.C (savePosition): STRCONV
5771         (restorePosition): ditto
5772         (MenuInsertLyXFile): ditto
5773
5774         * vc-backend.C (scanMaster): change from submatch[...] to
5775         submatch.str(...)
5776
5777         * funcrequest.C: include config.h
5778
5779         * factory.C: include config.h
5780
5781         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5782
5783         * box.C: include config.h
5784
5785         * LaTeX.C (scanAuxFile): change from submatch[...] to
5786         submatch.str(...)
5787         (deplog): ditto
5788
5789 2002-10-25  Angus Leeming  <leeming@lyx.org>
5790
5791         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5792
5793         * ispell.[Ch] (setError): new method.
5794         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5795         Use setError() insetead of goto END.
5796
5797         * lyx_cb.C (AutoSave): move out child process into new class
5798         AutoSaveBuffer.
5799
5800 2002-10-30  John Levon  <levon@movementarian.org>
5801
5802         * text3.C: make start appendix undoable
5803
5804 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5805
5806         * lyxlength.C (inPixels): Fix returned value.
5807
5808         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5809         environment.
5810
5811 2002-10-24  Angus Leeming  <leeming@lyx.org>
5812
5813         * lyxgluelength.h: no need to forward declare BufferParams
5814         or BufferView, so don't.
5815
5816 2002-10-21  John Levon  <levon@movementarian.org>
5817
5818         * BufferView.C: menuUndo ->undo, redo
5819
5820         * BufferView.h: document, remove dead, make some methods private
5821
5822         * paragraph_funcs.h:
5823         * paragraph_funcs.C:
5824         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5825
5826         * buffer.h:
5827         * buffer.C:
5828         * sgml.h:
5829         * sgml.C: move sgml open/close tag into sgml.C
5830
5831         * bufferview_funcs.h: unused prototype
5832
5833         * lyxfunc.h:
5834         * lyxfunc.C: remove unused
5835
5836         * lyxtext.h:
5837         * text.C: remove unused
5838
5839 2002-10-21  John Levon  <levon@movementarian.org>
5840
5841         * BufferView.h:
5842         * BufferView.C:
5843         * BufferView_pimpl.h:
5844         * BufferView_pimpl.C: fix mouse wheel handling based on
5845           patch from Darren Freeman
5846
5847 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5848
5849         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5850
5851 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5852
5853         * lyxlength.C (inPixels): Fix hanfling of negative length.
5854         Fix LyXLength::MU case.
5855
5856 2002-10-16  John Levon  <levon@movementarian.org>
5857
5858         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5859
5860 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5861
5862         * converter.C (view): add support for $$i (file name) and $$p
5863         (file path) for the viewer command. If $$i is not specified, then
5864         it is appended to the command (for compatibility with old syntax)
5865
5866 2002-10-14  Juergen Vigna  <jug@sad.it>
5867
5868         * undo_funcs.C (textHandleUndo): alter the order in which the
5869         new undopar is added to the LyXText, as we have to set first
5870         the right prev/next and then add it as otherwise the rebuild of
5871         LyXText is not correct. Also reset the cursor to the right paragraph,
5872         with this IMO we could remove the hack in "redoParagraphs()".
5873
5874 2002-10-09  Angus Leeming  <leeming@lyx.org>
5875
5876         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5877         to turn off an optimisation if a new inset is to be inserted.
5878
5879 2002-10-11 André Pönitz <poenitz@gmx.net>
5880
5881         * lyxtext.h: make some functions public to allow access
5882         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5883
5884 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5885
5886         * text3.C (dispatch): when changing layout, avoid an infinite loop
5887         [bug #652]
5888
5889 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5890
5891         * lyxrc.C (read): treat a viewer or converter command of "none" as
5892         if it were empty.
5893
5894         * MenuBackend.C (expandFormats): for an update, also allow the
5895         formats that are not viewable
5896
5897         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5898         script if it is newer than the lyxrc.defaults in user directory
5899
5900 2002-10-07 André Pönitz <poenitz@gmx.net>
5901
5902         * text.C: Vitaly Lipatov's small i18n fix
5903
5904 2002-09-25  Angus Leeming  <leeming@lyx.org>
5905
5906         * ispell.h: doxygen fix.
5907
5908 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5909
5910         * buffer.h (readFile): Add a new argument to the method, to allow
5911         reading of old-format templates.
5912
5913 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5914
5915         * toc.C (getTocList): Get TOC from InsetWrap.
5916
5917 2002-09-16  John Levon  <levon@movementarian.org>
5918
5919         * lyxfunc.C: check tabular for cut/copy too
5920
5921 2002-09-12  John Levon  <levon@movementarian.org>
5922
5923         * LyXAction.C: tidy
5924
5925         * factory.h:
5926         * factory.C: add header
5927
5928         * paragraph_funcs.h:
5929         * paragraph_funcs.C: cleanup
5930
5931 2002-09-11  John Levon  <levon@movementarian.org>
5932
5933         * PrinterParams.h: odd/even default to true
5934
5935 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5936
5937         * PrinterParams.h: update printer parameters for new xforms dialog
5938
5939 2002-09-11  Angus Leeming  <leeming@lyx.org>
5940
5941         * lyxserver.C (read_ready): re-write to make it more transparent
5942         and to make it work in coherent fashion under Tru64 Unix.
5943
5944 2002-09-11  André Pönitz <poenitz@gmx.net>
5945
5946         * commandtags.h:
5947         * LyXAction.C:
5948         * text3.C: implement LFUN_WORDSEL
5949
5950 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5953         make floatlist_ a boost::shared_ptr<FloatList>
5954
5955         * lyxtextclass.C: include FloatList.h
5956         (LyXTextClass): initialize floatlist_
5957         (TextClassTags): add TC_NOFLOAT
5958         (Read): match "nofloat" to TC_NOFLOAT and use it.
5959         (readFloat): modify call to floatlist_
5960         (floats): ditto
5961         (floats): ditto
5962
5963         * FloatList.[Ch] (FloatList): remove commented out float
5964         initialization.
5965         (erase): new function
5966
5967 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5968
5969         * MenuBackend.C (expandToc): fix crash when there is no document
5970         open
5971
5972 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5973
5974         * many files: Add insetwrap.
5975
5976 2002-09-09  John Levon  <levon@movementarian.org>
5977
5978         * text2.C: remove confusing and awkward depth wraparound
5979
5980 2002-09-09  John Levon  <levon@movementarian.org>
5981
5982         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5983
5984         * buffer.h:
5985         * buffer.C: remove getIncludeonlyList()
5986
5987         * paragraph.C:
5988         * lyxfunc.C: remove headers
5989
5990 2002-09-09  Juergen Vigna  <jug@sad.it>
5991
5992         * text.C (getColumnNearX): fix form Michael this is most
5993         probably a cut&paste bug.
5994
5995 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5998
5999         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6000         references, ws changes.
6001
6002         * text2.C (init): update counters after init
6003         (insertParagraph): no need to set counter on idividual paragraphs.
6004         (setCounter): access the counters object in the textclass object
6005         on in the buffer object.
6006         (updateCounters): ditto
6007
6008         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6009         shared_ptr<Counters> to avoid loading counters.h in all
6010         compilation units.
6011         (LyXTextClass): initialize ctrs_
6012         (TextClassTags): add TC_COUNTER, and ...
6013         (Read): use it here.
6014         (CounterTags): new tags
6015         (readCounter): new function
6016         (counters): new funtion
6017         (defaultLayoutName): return a const reference
6018
6019         * counters.C (Counters): remove contructor
6020         (newCounter): remove a couple of unneeded statements.
6021         (newCounter): simplify a bit.
6022         (numberLabel): some small formatting changes.
6023
6024         * buffer.[Ch]: remove all traces of counters, move the Counters
6025         object to the LyXTextClass.
6026
6027 2002-09-06  Alain Castera  <castera@in2p3.fr>
6028
6029         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6030         package to set the horizontal alignment on fixed width columns.
6031
6032         * lyx_sty.C:
6033         * lyx_sty.h: added tabularnewline macro def.
6034
6035         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6036
6037 2002-09-06  John Levon  <levon@movementarian.org>
6038
6039         * LyXAction.C: tooltips for sub/superscript
6040
6041         * MenuBackend.C: a bit more verbose
6042
6043         * lyxfunc.C: tiny clean
6044
6045         * undo_funcs.C: document undo_frozen
6046
6047 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * counters.C (Counters): add missing algorithm counter.
6050
6051         * text2.C (setCounter): lookup the counter with layouts latexname
6052         instead of by section number.
6053         (setCounter): use a hackish way to lookup the correct enum
6054         counter.
6055         a float name->type change
6056         reset enum couners with counter name directly instead of depth value.
6057
6058         * counters.C (Counters): remove the push_backs, change to use the
6059         float type not the float name.
6060         (labelItem): remove unused string, float name->type change
6061
6062         * counters.h: don't include vector, loose the enums and sects vectors
6063
6064 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6067         (Read): add float->TC_FLOAT to textclassTags
6068         (Read): and handle it in the switch
6069         (readFloat): new function
6070
6071         * FloatList.C (FloatList): comment out the hardcoded float
6072         definitions.
6073
6074         * lyxlayout.h: ws change.
6075
6076 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6077
6078         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6079
6080 2002-09-03  Angus Leeming  <leeming@lyx.org>
6081
6082         * BufferView_pimpl.h: qualified name is not allowed in member
6083         declaration: WorkArea & Pimpl::workarea() const;
6084
6085         * factory.C: added using std::endl directive.
6086
6087         * text3.C: added using std::find and std::vector directives.
6088
6089 2002-08-29  André Pönitz <poenitz@gmx.net>
6090
6091         * lyxtext.h:
6092         * text2.C: remove unused member number_of_rows
6093
6094         * Makefile.am:
6095         * BufferView2.C: remove file, move contents to...
6096         * BufferView.C: ... here
6097
6098         * BufferView_pimpl.C:
6099         * factory.C: move more inset creation to factory
6100
6101         * vspace.C: avoid direct usage of LyXText, ws changes
6102
6103         * BufferView.[Ch]:
6104                 don't provide direct access to WorkArea, use two simple
6105                 acessors haveSelction() and workHeight() instead
6106
6107
6108 2002-08-29  John Levon  <levon@movementarian.org>
6109
6110         * BufferView_pimpl.C (dispatch): do not continue when
6111           no buffer
6112
6113 2002-08-28  André Pönitz <poenitz@gmx.net>
6114
6115         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6116
6117         * BufferView.h:
6118         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6119
6120 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6121
6122         * buffer.C: increment LYX_FORMAT to 221
6123
6124         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6125         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6126
6127         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6128
6129         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6130
6131 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6132
6133         * factory.C (createInset): use LyXTextClass::floats
6134
6135         * MenuBackend.C (expandFloatListInsert):
6136         (expandFloatInsert):
6137         (expandToc):
6138
6139         * text2.C (setCounter):
6140
6141         * LaTeXFeatures.C (useFloat):
6142         (getFloatDefinitions):
6143
6144         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6145
6146         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6147         floatlist_, with accessor floats().
6148
6149         * FloatList.h: remove global FloatList
6150
6151 2002-08-26  André Pönitz <poenitz@gmx.net>
6152
6153         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6154
6155         * BufferView.h:
6156         * BufferView2.C:
6157         * BufferView_pimpl.C:
6158         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6159
6160 2002-08-25  John Levon  <levon@movementarian.org>
6161
6162         * LyXAction.C: fix margin note description
6163
6164 2002-08-24  John Levon  <levon@movementarian.org>
6165
6166         * buffer.C:
6167         * bufferlist.C:
6168         * bufferview_funcs.C:
6169         * lyxfont.C:
6170         * undo_funcs.C: cleanups
6171
6172         * lyxfunc.C: disable CUT/COPY when no selection
6173
6174 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6175
6176         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6177         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6178
6179         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6180         Add backward compatibility to "mono", "gray" and "no".
6181
6182 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6183
6184         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6185         (and file_format >= 200).
6186
6187 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6188
6189         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6190
6191 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6192
6193         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6194
6195 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6196
6197         * BufferView_pimpl.C:
6198         * LyXAction.C:
6199         * buffer.C:
6200         * commandtags.h:
6201         * lyxfunc.C:
6202         * paragraph.[Ch]:
6203         * text2.C:
6204         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6205         inset and code to make it  work with the paragraph code. The inset
6206         can be anywhere in the paragraph, but will only do the expected
6207         thing in LaTeX if the layout file contains the parameter line
6208                         OptionalArgs    1
6209         (or more generally, a nonzero value) for that layout.
6210
6211 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * paragraph.h: remove the declaration of undefined counters class
6214         function.
6215
6216 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6217
6218         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6219         Dr. Richard Hawkins.
6220
6221 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6222
6223         * paragraph_funcs.h: remove some unneeded includes
6224
6225         * text.C (backspace): pasteParagraph now in global scipe
6226
6227         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6228         (pasteSelection): ditto
6229
6230         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6231         * paragraph_funcs.C (pasteParagraph): ... here
6232
6233 2002-08-20  André Pönitz <poenitz@gmx.net>
6234
6235         * commandtags.h: new LFUNs for swapping/copying table row/colums
6236
6237         * LyXAction.C:
6238         * lyxfunc.C: support for new lfuns
6239
6240 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * tabular.C:
6243         * buffer.[Ch]: remove NO_COMPABILITY stuff
6244
6245 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * boost.C (throw_exception): new file, with helper function for
6248         boost compiled without exceptions.
6249
6250         * paragraph.h:
6251         * lyxlength.C:
6252         * buffer.C:
6253         * ParameterStruct.h:
6254         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6255
6256         * bufferlist.C (emergencyWriteAll): use boost bind
6257
6258         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6259
6260         * text.C: include paragraph_funcs.h
6261         (breakParagraph): breakParagraph is now in global scope
6262
6263         * paragraph_funcs.[Ch]: new files
6264
6265         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6266         global scope
6267
6268         * buffer.C: include paragraph_funcs.h
6269         (insertStringAsLines): breakParagraph is now in global scope
6270
6271         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6272         paragraph_funcs.C
6273
6274         * CutAndPaste.C: include paragraph_funcs.h
6275         (cutSelection): breakParagraphConservative is now in global scope
6276         (pasteSelection): ditto
6277
6278         * buffer.h: declare oprator== and operator!= for
6279         Buffer::inset_iterator
6280
6281         * bufferlist.C (emergencyWrite): don't use fmt(...)
6282
6283         * text3.C: add using std::endl
6284
6285         * BufferView.C (moveCursorUpdate): remove default arg
6286
6287 2002-08-20  André Pönitz <poenitz@gmx.net>
6288
6289         * buffer.[Ch]: move inline functions to .C
6290
6291         * BufferView2.C:
6292         * BufferView_pimpl.C:
6293         * text.C:
6294         * buffer.[Ch]: use improved inset_iterator
6295
6296         * buffer.C:
6297         * paragraph.[Ch]: write one paragraph at a time
6298
6299 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6300
6301         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6302         style if style is not specified.
6303
6304 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6305
6306         * text2.C (setCounter): when searching for right label for a
6307         caption, make sure to recurse to parent insets (so that a caption
6308         in a minipage in a figure float works) (bug #568)
6309
6310 2002-08-20  André Pönitz <poenitz@gmx.net>
6311
6312         * text3.C: new file for LyXText::dispatch() and helpers
6313
6314         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6315
6316         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6317
6318 2002-08-19  André Pönitz <poenitz@gmx.net>
6319
6320         * lyxtext.h:
6321         * text.C: new LyXText::dispatch()
6322
6323         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6324
6325 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6326
6327         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6328
6329         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6330         Hebrew text.
6331
6332 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6333
6334         * Makefile.am: use $(variables) instead of @substitutions@
6335
6336 2002-08-15  André Pönitz <poenitz@gmx.net>
6337
6338         * lyxfunc.C:
6339         * BufferView_pimpl.C: streamlining mathed <-> outer world
6340         interaction
6341
6342         * commandtags.h:
6343         * LyXAction.C: remove unused LFUN_MATH
6344
6345 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6348
6349 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * paragraph.C (Paragraph): reformat a bit
6352         (cutIntoMinibuffer): use builtin InsetList function instad of
6353         doing it manually.
6354         (getInset): ditto
6355
6356         * buffer.C: include boost/bind.hpp, add using std::for_each
6357         (writeFileAscii): use ParagraphList iterators
6358         (validate): use for_each for validate traversal of paragraphs
6359         (getBibkeyList): use ParagraphList iterators
6360         (resizeInsets): use for_each to resizeInsetsLyXText for all
6361         paragraphs.
6362         (getParFromID): use ParagraphList iterators
6363
6364         * BufferView2.C (lockInset): use paragraph list and iterators
6365
6366 2002-08-14  John Levon  <levon@movementarian.org>
6367
6368         * lyxserver.C: remove spurious xforms include
6369
6370 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6371
6372         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6373
6374 2002-08-13  André Pönitz <poenitz@gmx.net>
6375
6376         * LyXAction.[Ch]:
6377         * lyxfunc.C: further cleaning
6378
6379 2002-08-13  André Pönitz <poenitz@gmx.net>
6380
6381         * funcrequest.h: new constructor
6382
6383         * funcrequest.C: move stuff here from .h
6384
6385         * Makefile.am:
6386         * BufferView_pimpl.C:
6387         * LyXAction.C:
6388         * toc.C:
6389         * lyxfunc.C: subsequent changes
6390
6391         * lyxfunc.h: new view() member function
6392
6393         * lyxfunc.C: subsequent changes
6394
6395 2002-08-13  Angus Leeming  <leeming@lyx.org>
6396
6397         * BufferView2.C:
6398         * BufferView_pimpl.C:
6399         * buffer.C:
6400         * converter.C:
6401         * importer.C:
6402         * lyxfunc.C:
6403         * lyxvc.C:
6404         * toc.C:
6405         * vc-backend.C:
6406         changes due to the changed LyXView interface that now returns references
6407         to member variables not pointers.
6408
6409 2002-08-13  Angus Leeming  <leeming@lyx.org>
6410
6411         * WordLangTuple (word, lang_code): return references to strings,
6412         not strings.
6413
6414         * BufferView.h:
6415         * SpellBase.h:
6416         * lyxtext.h: forward-declare WordLangTuple.
6417
6418         * BufferView2.C:
6419         * ispell.C:
6420         * pspell.C:
6421         * text.C: #include "WordLangTuple.h".
6422
6423         * lyxtext.h:
6424         * text.C: (selectNextWordToSpellcheck): constify return type.
6425
6426 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6427
6428         * buffer.C:
6429         * buffer.h:
6430         * lyxtext.h:
6431         * paragraph.C:
6432         * paragraph_pimpl.h:
6433         * text.C:
6434         * text2.C:
6435         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6436         suggested by Angus.
6437         Made updateCounter always count from start of buffer, and removed
6438         second argument (par).
6439         Reverted floats number display to '#'. Perhaps I'll try again when the
6440         code base is sanitized a bit.
6441
6442 2002-08-12  Angus Leeming  <leeming@lyx.org>
6443
6444         * buffer.[Ch] (getLabelList): constify.
6445
6446 2002-08-07  André Pönitz <poenitz@gmx.net>
6447
6448         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6449
6450         * funcrequest.h: extension to keep mouse (x,y) position
6451
6452 2002-08-12  Juergen Vigna  <jug@sad.it>
6453
6454         * BufferView2.C (insertErrors): forbid undo when inserting error
6455         insets.
6456
6457         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6458
6459 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6460
6461         * ParagraphList.[Ch]: new files
6462
6463         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6464
6465         * BufferView2.C (lockInset): ParagraphList changes
6466         * toc.C: ditto
6467         * text2.C: ditto
6468         * bufferlist.C: ditto
6469         * buffer.h: ditto
6470         * buffer.C: ditto
6471
6472 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6473
6474         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6475         unused class variable counter_,
6476
6477         * paragraph.[Ch] (getFirstCounter): delete unused function
6478
6479         * counters.C: include LAssert.h
6480         (reset): add a new function with no arg, change other version to
6481         not have def. arg and to not allow empty arg.
6482
6483         * text2.C (setCounter): remove empty arg from call to Counters::reset
6484
6485 2002-08-11  John Levon  <levon@movementarian.org>
6486
6487         * Makefile.am: add WordLangTuple.h
6488
6489 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6492         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6493
6494         * insets/insettext.C: InsetList changes
6495
6496         * graphics/GraphicsSupport.C (operator()): InsetList changes
6497
6498         * toc.C (getTocList): InsetList changes
6499
6500         * paragraph_pimpl.[Ch]: InsetList changes
6501
6502         * paragraph.[Ch]: InsetList changes
6503
6504         * buffer.C (inset_iterator): InsetList changes
6505         (setParagraph): ditto
6506         * buffer.h (inset_iterator): ditto
6507         * iterators.C (operator++): ditto
6508         * iterators.h: ditto
6509
6510         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6511
6512         * InsetList.[Ch]: new files, most InsetList handling moved out of
6513         paragraph.C.
6514
6515         * BufferView2.C (removeAutoInsets): InsetList changes
6516         (lockInset): ditto
6517         (ChangeInsets): ditto
6518
6519 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * paragraph_pimpl.h (empty): new function
6522
6523         * paragraph.[Ch] (empty): new function
6524
6525         * other files: use the new Paragraph::empty function
6526
6527 2002-08-09  John Levon  <levon@movementarian.org>
6528
6529         * lyxtext.h: remove unused refresh_height
6530
6531 2002-08-09  John Levon  <levon@movementarian.org>
6532
6533         * Makefile.am:
6534         * sgml.h:
6535         * sgml.C:
6536         * buffer.C:
6537         * paragraph.h:
6538         * paragraph.C: move sgml char escaping out of paragraph
6539
6540         * paragraph.h:
6541         * paragraph.C: remove id setter
6542
6543         * buffer.C:
6544         * paragraph.C:
6545         * paragraph_pimpl.C: remove dead tex_code_break_column
6546
6547         * bufferview_funcs.C: small cleanup
6548
6549         * lyxfunc.C: remove dead proto
6550
6551         * lyxtext.h: make some stuff private. Remove some dead stuff.
6552
6553         * lyxgluelength.C: make as[LyX]String() readable
6554
6555 2002-08-08  John Levon  <levon@movementarian.org>
6556
6557         * LyXAction.h:
6558         * LyXAction.C:
6559         * MenuBackend.C:
6560         * ToolbarDefaults.C:
6561         * lyxfunc.C:
6562         * lyxrc.C:
6563         * toc.C: lyxaction cleanup
6564
6565 2002-08-08  John Levon  <levon@movementarian.org>
6566
6567         * BufferView2.C: small cleanup
6568
6569         * lyxfind.h:
6570         * lyxfind.C: move unnecessary header into the .C
6571
6572 2002-08-08  John Levon  <levon@movementarian.org>
6573
6574         * funcrequest.h: just tedious nonsense
6575
6576         * lyx_main.h:
6577         * lyx_main.C: cleanups
6578
6579         * buffer.C:
6580         * vspace.C: remove dead header lyx_main.h
6581
6582 2002-08-07  Angus Leeming  <leeming@lyx.org>
6583
6584         * Paragraph.[Ch]:
6585         * paragraph_pimpl.h:
6586         Forward declare class Counters in paragraph.h by moving the ctrs member
6587         variable into Paragraph::Pimpl.
6588         (counters): new method, returning a reference to pimpl_->ctrs.
6589
6590         * text2.C: ensuing changes.
6591
6592 2002-08-07  John Levon  <levon@movementarian.org>
6593
6594         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6595
6596         * BufferView_pimpl.C: announce X selection on double/triple
6597           click
6598
6599         * lyx_main.C: use correct bool in batch dispatch
6600
6601         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6602
6603 2002-08-07  André Pönitz <poenitz@gmx.net>
6604
6605         * funcrequest.h: new class to wrap a kb_action and its argument
6606
6607         * BufferView.[Ch]:
6608         * BufferView_pimpl[Ch]:
6609         * LaTeX.C:
6610         * LyXAction.[Ch]:
6611         * lyxfunc.[Ch]:
6612         * lyxrc.C: subsequent changes
6613
6614
6615 2002-08-07  John Levon  <levon@movementarian.org>
6616
6617         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6618           document options change.
6619
6620 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6621
6622         * counters.[Ch]
6623         * text2.C
6624         * paragraph.[Ch]
6625         * makefile.am: move counters functionality over from
6626         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6627
6628 2002-08-06  John Levon  <levon@movementarian.org>
6629
6630         * WordLangTuple.h: new file for word + language code tuple
6631
6632         * SpellBase.h:
6633         * pspell.h:
6634         * pspell.C:
6635         * ispell.h:
6636         * ispell.C:
6637         * lyxtext.h:
6638         * text.C:
6639         * text2.C:
6640         * BufferView.h:
6641         * BufferView2.C: use WordLangTuple
6642
6643         * layout.h:
6644         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6645
6646 2002-08-06  John Levon  <levon@movementarian.org>
6647
6648         * lyx_main.C: fix cmdline batch handling
6649
6650 2002-08-06  André Pönitz <poenitz@gmx.net>
6651
6652         * lyxrc.C: set default for show_banner to true
6653
6654 2002-08-06  John Levon  <levon@movementarian.org>
6655
6656         * pspell.C: fix a crash, and allow new aspell to work
6657
6658 2002-08-06  John Levon  <levon@movementarian.org>
6659
6660         * lyxfunc.C:
6661         * kbmap.C: small cleanup
6662
6663         * vspace.h:
6664         * vspace.C: add const
6665
6666 2002-08-05  John Levon  <levon@movementarian.org>
6667
6668         * LyXAction.C: back to tabular-insert
6669
6670 2002-08-04  John Levon  <levon@movementarian.org>
6671
6672         * BufferView.h:
6673         * BufferView.C: cosmetic change
6674
6675         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6676
6677         * bufferlist.C:
6678         * buffer.h:
6679         * buffer.C:
6680         * lyxcb.h:
6681         * lyxcb.C:
6682         * lyxserver.C:
6683         * lyxvc.C:
6684         * vc-backend.C:
6685         * BufferView2.C: purge all "Lyx" not "LyX" strings
6686
6687         * lyxcursor.h:
6688         * lyxcursor.C: attempt to add some documentation
6689
6690         * lyxfunc.C:
6691         * commandtags.h:
6692         * LyXAction.C:
6693         * ToolbarDefaults.C:
6694         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6695           merge with LFUN_TABULAR_INSERT
6696
6697         * Makefile.am:
6698         * SpellBase.h:
6699         * ispell.h:
6700         * ispell.C:
6701         * pspell.h:
6702         * pspell.C: split up i/pspell implementations into separate
6703           files, many cleanups
6704
6705         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6706
6707         * text2.C: some cleanup
6708
6709         * lyxfunc.C: don't check for isp_command == "none" any more, it
6710           didn't make any sense
6711
6712 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6713
6714         * counters.[Ch]
6715         * text2.C
6716         * paragraph.[Ch]
6717         * makefile.am: move counters functionality over
6718         from text2.C/paragraph.[Ch] to counters.[Ch], and
6719         make proper C++.
6720 2002-08-02  John Levon  <levon@movementarian.org>
6721
6722         * buffer.C: s/lyxconvert/lyx2lyx/
6723
6724 2002-08-02  Angus Leeming  <leeming@lyx.org>
6725
6726         * lyxlex.C: revert John's change as it breaks reading of the user
6727         preamble.
6728
6729 2002-08-02  Angus Leeming  <leeming@lyx.org>
6730
6731         * importer.C (Import):
6732         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6733         changes due to LyXView::view() now returning a boost::shared_ptr.
6734
6735 2002-08-02  John Levon  <levon@movementarian.org>
6736
6737         * lyxlex.C: small cleanup
6738
6739 2002-08-02  John Levon  <levon@movementarian.org>
6740
6741         * text2.C (status): small cleanup, no logic change
6742
6743 2002-08-01  John Levon  <levon@movementarian.org>
6744
6745         * buffer.h:
6746         * buffer.C (writeFile): don't output alerts, caller
6747           handles this
6748
6749         * bufferlist.C:
6750         * lyx_cb.C: from above
6751
6752         * lyxfunc.C: allow to open non-existent files
6753
6754 2002-07-31  John Levon  <levon@movementarian.org>
6755
6756         * lyxserver.C: don't let incidental errors get
6757           in the way (errno)
6758
6759 2002-07-30  John Levon  <levon@movementarian.org>
6760
6761         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6762
6763 2002-07-30  John Levon  <levon@movementarian.org>
6764
6765         * lyxserver.h:
6766         * lyxserver.C: remove I/O callback too
6767
6768 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6769
6770         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6771         log.
6772
6773 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * many files: strip,frontStrip -> trim,ltrim,rtrim
6776
6777 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * PrinterParams.h: remove extern containsOnly, and include
6780         support/lstrings.h instead.
6781
6782         * LaTeX.C (scanAuxFile): modify because of strip changes
6783         (deplog): ditto
6784         * buffer.C (makeLaTeXFile): ditto
6785         * bufferparams.C (writeFile): ditt
6786         * lyxfont.C (stateText): ditto
6787         * lyxserver.C (read_ready): ditto
6788         * vc-backend.C (scanMaster): ditto
6789
6790         * BufferView_pimpl.h: ws changes
6791
6792         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6793
6794 2002-07-26  André Pönitz <poenitz@gmx.net>
6795
6796         * kb_sequence.C: remove unnedred usings
6797
6798 2002-07-26  Juergen Vigna  <jug@sad.it>
6799
6800         * lyxfind.C (LyXReplace): we have to check better if the returned
6801         text is not of theLockingInset()->getLockingInset().
6802
6803 2002-07-25  Juergen Vigna  <jug@sad.it>
6804
6805         * lyxfind.C (LyXReplace): don't replace if we don't get the
6806         right LyXText.
6807
6808         * undo_funcs.C (createUndo): remove debugging code.
6809
6810 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6811
6812         * buffer.C (parseSingleLyXformat2Token): Use default placement
6813         when reading old floats.
6814
6815         * FloatList.C (FloatList): Change the default placement of figure
6816         and tables to "tbp".
6817
6818 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6819
6820         * MenuBackend.C: using std::max
6821
6822 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6823
6824         * MenuBackend.C (expandToc):
6825         (expandToc2): code moved from xforms menu frontend. It is now
6826         generic and TOCs are transparent to menu frontends.
6827
6828 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6829
6830         * toc.C (getTocList): protect against buf=0
6831
6832         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6833         Menu as first parameter. Now, this calls itself recursively to
6834         expand a whole tree (this will be useful for TOC handling)
6835         (expandFloatInsert): remove 'wide' version of floats
6836
6837         * MenuBackend.h (submenuname): returns the name of the submenu.
6838         (submenu): returns the submenu itself, provided it has been
6839         created by MenuBackend::expand
6840
6841 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6842
6843         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6844         insets which have noFontChange == true. (bug #172)
6845
6846 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6847
6848         * BufferView_pimpl.C: add connection objects and use them...
6849         (Pimpl): here.
6850
6851 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6852
6853         * MenuBackend.C (expandLastfiles):
6854         (expandDocuments):
6855         (expandFormats):
6856         (expandFloatListInsert):
6857         (expandFloatInsert):
6858         (expand): split expand in parts
6859
6860 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6861
6862         * lyx_gui.C: use lyx_gui::exit()
6863
6864 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6865
6866         * LyXAction.C: show the failing pseudo action
6867
6868 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6869
6870         * buffer.C (readFile): Run the lyxconvert script in order to read
6871         old files.
6872
6873 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6874
6875         * LyXAction.C:
6876         * commandtags.h:
6877         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6878
6879 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6880
6881         * LyXAction.C:
6882         * commandtags.h:
6883         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6884
6885 2002-07-22  Herbert Voss  <voss@lyx.org>
6886
6887         * lengthcommon.C:
6888         * lyxlength.[Ch]: add support for the vertical lengths
6889
6890 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6891
6892         * toc.[Ch]: std:: fixes
6893
6894 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6895
6896         * lyxrc.C: do not include lyx_main.h
6897
6898         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6899         for layouts
6900
6901         * lyxrc.C:
6902         * encoding.C:
6903         * bufferlist.C:
6904         * BufferView2.C: include "lyxlex.h"
6905
6906         * tabular.h:
6907         * bufferparams.h: do not #include "lyxlex.h"
6908
6909         * lyxtextclasslist.C (Add): remove method
6910         (classlist): renamed to classlist_
6911
6912         * paragraph_pimpl.C:
6913         * paragraph.C:
6914         * text2.C:
6915         * CutAndPaste.C:
6916         * bufferview_funcs.C:
6917         * bufferlist.C:
6918         * text.C:
6919         * LaTeXFeatures.C:
6920         * buffer.C:
6921         * toc.C (getTocList): use BufferParams::getLyXTextClass
6922
6923         * toc.C (getTocList): use InsetFloat::addToToc
6924
6925         * toc.[Ch]: new files, containing helper functions to handle table
6926         of contents
6927
6928         * lyxfunc.C (dispatch): no need to remove spaces around command
6929         given as a string
6930         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6931         first command of the sequence; it is not very clever, but I do not
6932         have a better idea, actually
6933
6934         * LyXAction.C (LookupFunc): make sure to remove space at the
6935         beginning and end of the command
6936
6937 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6938
6939         * MenuBackend.C (getMenubar): new method: return the menubar of
6940         this menu set
6941         (read): treat differently reading of menu and menubar (in
6942         particular, the menubar has no name now)
6943         (Menu::menubar): remove
6944
6945         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6946         saving is finished
6947
6948 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6949
6950         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6951         a bibitem inset in a RTL paragraph.
6952
6953 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6954
6955         * paragraph_pimpl.C: constify
6956
6957         * BufferView_pimpl.C:
6958         * LaTeX.C:
6959         * lyxfunc.C: fix dispatch in a nicer way
6960
6961 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6962
6963         * lyxfunc.C (dispatch):
6964         * BufferView_pimpl.C:
6965         * BufferView_pimpl.h:
6966         * BufferView.C:
6967         * BufferView.h: rename Dispatch() to dispatch()
6968
6969         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6970
6971         * lyxlayout.C (Read): honor DependsOn tag
6972
6973         * lyxlayout.[Ch] (depends_on): new method
6974
6975         * version.C.in: update lyx_docversion
6976
6977         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6978
6979         * paragraph.C (validate): remove from here...
6980         * paragraph_pimpl.C (validate): ... and move here
6981         (isTextAt): make it const
6982
6983         * buffer.C (getLists): ws cleanup
6984
6985 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6986
6987         * language.C (read): Use iso8859-1 encoding in latex_lang
6988         (this prevents LyX from crashing when using iso10646-1 encoding).
6989
6990 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6991
6992         * text2.C (toggleInset): if cursor is inside an inset, close the
6993         inset and leave cursor _after_ it
6994
6995 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6996
6997         * lyxfunc.C: move minibuffer completion handling out of here
6998
6999 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7000
7001         * BufferView_pimpl.C:
7002         * LaTeX.C: fix dispatch calls
7003
7004 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7005
7006         * text.C (drawChars): Fix Arabic text rendering.
7007
7008 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7009
7010         * LyXAction.C:
7011         * commandtags.h:
7012         * lyxfunc.C: remove message-push/pop
7013
7014         * lyxserver.C:
7015         * lyxfunc.h:
7016         * lyxfunc.C: rationalise some code by removing verboseDispatch
7017           in favour of a bool argument to dispatch()
7018
7019 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7020
7021         * lyx_main.C (init): make sure to read symlinks as absolute paths
7022
7023 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7024
7025         * lyxfunc.h:
7026         * lyxfunc.C: no need for commandshortcut to be a member
7027
7028 2002-07-15  André Pönitz <poenitz@gmx.net>
7029
7030         * converter.C: add support for $$s (scripts from lib/scripts dir)
7031         * lyx_main.C: white space
7032
7033 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7034
7035         * bufferlist.C:
7036         * lyxrc.h:
7037         * lyxrc.C: remove second exit confirmation
7038
7039 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7040
7041         * BufferView.h:
7042         * BufferView.C:
7043         * BufferView2.C:
7044         * BufferView_pimpl.h:
7045         * BufferView_pimpl.C:
7046         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7047
7048 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7049
7050         * MenuBackend.C (expand): add numeric shortcuts to document menu
7051
7052         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7053
7054 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7055
7056         * lyxfont.C (setLyXFamily):
7057         (setLyXSeries):
7058         (setLyXShape):
7059         (setLyXSize):
7060         (setLyXMisc):
7061         (lyxRead):
7062         * debug.C (value):
7063         * buffer.C (asciiParagraph): use ascii_lowercase
7064
7065 2002-07-15  Mike Fabian  <mfabian@suse.de>
7066
7067         * lyxlex_pimpl.C (search_kw):
7068         * lyxlex.C (getLongString):
7069         * converter.h (operator<):
7070         * converter.C (operator<):
7071         * buffer.C (parseSingleLyXformat2Token):
7072         (asciiParagraph):
7073         * ToolbarDefaults.C (read):
7074         * MenuBackend.C (checkShortcuts):
7075         (read):
7076         * LColor.C (getFromGUIName):
7077         (getFromLyXName): use the compare_ascii_no_case instead of
7078         compare_no_case, because in turkish, 'i' is not the lowercase
7079         version of 'I', and thus turkish locale breaks parsing of tags.
7080
7081 2002-07-16  Angus Leeming  <leeming@lyx.org>
7082
7083         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7084         now takes a Buffer const & argument.
7085
7086 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7087
7088         * BufferView.C (resize): check there's a buffer to resize
7089
7090 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7091
7092         * lyxfunc.C: remove dead code
7093
7094         * lyxserver.h:
7095         * lyxserver.C: use lyx_guii::set_read_callback
7096
7097 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7098
7099         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7100         an inset in a RTL paragraph.
7101
7102 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * lyxfunc.C: repaint after a font size update
7105
7106 2002-07-15  André Pönitz <poenitz@gmx.net>
7107
7108         * lyxlength.C: inBP should be able to return negative values
7109
7110 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7111
7112         * lyxfunc.C: use lyx_gui::update_fonts()
7113
7114 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7115
7116         * lyxfunc.C: use lyx_gui::update_color()
7117
7118 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7119
7120         * bufferlist.C:
7121         * lyxfunc.h:
7122         * lyxfunc.C:
7123         * lyxrc.h:
7124         * lyxrc.C: remove file->new asks for name option, and let
7125           buffer-new take an argument
7126
7127 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7128
7129         * BufferView_pimpl.C: remove unneeded extra repaint()
7130
7131 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7132
7133         * LyXAction.C: allow command-sequence with NoBuffer
7134
7135         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7136
7137 2002-07-10  Angus Leeming  <leeming@lyx.org>
7138
7139         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7140
7141 2002-07-09  Angus Leeming  <leeming@lyx.org>
7142
7143         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7144
7145 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7146
7147         * lengthcommon.h: whitespace
7148
7149         * lyxfunc.C: update scrollbar after goto paragraph
7150
7151         * lyxtext.h: factor out page break drawing, and fix it so
7152           page break/added space paints as selected nicely
7153
7154 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7155
7156         * BufferView_pimpl.C: add FIXMEs, clean up a little
7157
7158 2002-07-09  André Pönitz <poenitz@gmx.net>
7159
7160         * lyxfont.[Ch]: support for wasy symbols
7161
7162 2002-07-08  André Pönitz <poenitz@gmx.net>
7163
7164         * BufferView_pimpl.C: apply John's patch for #93.
7165
7166 2002-07-05  Angus Leeming  <leeming@lyx.org>
7167
7168         * BufferView_pimpl.C (buffer): generate previews if desired.
7169
7170         * LColor.h: add "preview" to the color enum.
7171
7172         * LColor.C (LColor): add a corresponding entry to the items array.
7173
7174         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7175         with this buffer.
7176
7177 2002-07-05  Angus Leeming  <leeming@lyx.org>
7178
7179         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7180         The body of the code is now in the method that is passed an ostream &
7181         rather than a file name.
7182         Pass an additional only_preamble parameter, useful for the forthcoming
7183         preview stuff.
7184
7185 2002-07-03  André Pönitz <poenitz@gmx.net>
7186
7187         * lyxfunc.C: simplify getStatus() a bit for math stuff
7188
7189 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7190
7191         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7192
7193 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7194
7195         * text.C (changeRegionCase): do not change case of all the
7196         document when region ends at paragraph end (bug #461)
7197
7198 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7199
7200         * paragraph.C (startTeXParParams):
7201         (endTeXParParams): add \protect when necessary
7202
7203 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7204
7205         * BufferView_pimpl.C (workAreaExpose): remove warning
7206
7207 2002-06-27  Angus Leeming  <leeming@lyx.org>
7208
7209         * Makefile.am: add lyxlayout_ptr_fwd.h.
7210
7211 2002-06-26  André Pönitz <poenitz@gmx.net>
7212
7213         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7214
7215 2002-06-25  Angus Leeming  <leeming@lyx.org>
7216
7217         * lyxfunc.C (dispatch): Comment out the call to
7218         grfx::GCache::changeDisplay. The method no longer exists now that the
7219         pixmap generation part of the graphics loader has been moved into
7220         InsetGraphics.
7221
7222 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7223
7224         * text2.C: layout as layout
7225
7226         * text.C: layout as layout
7227
7228         * tabular.C (OldFormatRead): layout as layout
7229
7230         * paragraph_pimpl.C (TeXDeeper): layout as layout
7231         (realizeFont): layout as layout
7232
7233         * paragraph.C (writeFile): layout as layout
7234         (validate): layout as layout
7235         (getFont): layout as layout
7236         (getLabelFont): layout as layout
7237         (getLayoutFont): layout as layout
7238         (breakParagraph): layout as layout
7239         (stripLeadingSpaces): layout as layout
7240         (getEndLabel): layout as layout
7241         (getMaxDepthAfter): layout as layout
7242         (applyLayout): layout as layout
7243         (TeXOnePar): layout as layout
7244         (simpleTeXOnePar): layout as layout
7245         (TeXEnvironment): layout as layout
7246         (layout): layout as layout
7247         (layout): layout as layout
7248
7249         * lyxtextclass.C (compare_name): new functor to work with
7250         shared_ptr, layout as layout
7251         (Read): layout as layout
7252         (hasLayout): layout as layout
7253         (operator): layout as layout
7254         (delete_layout): layout as layout
7255         (defaultLayout): layout as layout
7256
7257         * lyxlayout_ptr_fwd.h: new file
7258
7259         * lyxlayout.C (Read): layout as layout
7260
7261         * lyx_cb.C (MenuInsertLabel): layout as layout
7262
7263         * bufferlist.C (newFile): layout as layout
7264
7265         * buffer.C (readLyXformat2): layout as layout
7266         (parseSingleLyXformat2Token): layout as layout
7267         (insertStringAsLines): layout as layout
7268         (asciiParagraph): layout as layout
7269         (latexParagraphs): layout as layout
7270         (makeLinuxDocFile): layout as layout
7271         (simpleLinuxDocOnePar): layout as layout
7272         (makeDocBookFile): layout as layout
7273         (simpleDocBookOnePar): layout as layout
7274         (getLists): layout as layout
7275
7276         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7277
7278         * CutAndPaste.C (cutSelection): layout as layout
7279         (pasteSelection): layout as layout
7280         (SwitchLayoutsBetweenClasses): layout as layout
7281
7282         * BufferView_pimpl.C (Dispatch): layout as layout
7283         (smartQuote): layout as layout
7284
7285         * BufferView2.C (unlockInset): layout as layout
7286
7287 2002-06-24  André Pönitz <poenitz@gmx.net>
7288
7289         * lyxfunc.C: fix #487
7290
7291 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7292
7293         * lyxrc.h:
7294         * lyxrc.C:
7295         * lyxfunc.C: remove display_shortcuts, show_banner
7296
7297 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7298
7299         * Buffer_pimpl.C: oops, update on resize
7300
7301 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7302
7303         * buffer.C:
7304         * converter.C:
7305         * exporter.C:
7306         * lyxfunc.C:
7307         * BufferView.h:
7308         * BufferView.C: use repaint()
7309
7310         * BufferView_pimpl.h:
7311         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7312           as it's a clearer description. Remove superfluous
7313           redraws.
7314
7315 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * text.C: fix bug 488. Not ideal, but getting
7318           getWord() to work properly for the insets that
7319           matter is more difficult ...
7320
7321 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7322
7323         * BufferView_pimpl.C:
7324         * LyXAction.C:
7325         * commandtags.h:
7326         * lyxfunc.C: remove the six million index lyxfuncs to just
7327           one, and DTRT (bug 458)
7328
7329 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7330
7331         * BufferView.h:
7332         * BufferView.C:
7333         * BufferView_pimpl.h:
7334         * BufferView_pimpl.C: clean up resize() stuff,
7335           and unnecessary updateScreen()s
7336
7337 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7338
7339         * BufferView.h:
7340         * BufferView.C:
7341         * BufferView_pimpl.h:
7342         * BufferView_pimpl.C:
7343         * lyxfind.h:
7344         * lyxfind.C:
7345         * minibuffer.C: remove focus management of workarea,
7346           not needed. Use screen's greyOut()
7347
7348 2002-06-17  Herbert Voss  <voss@lyx.org>
7349
7350         * converter.C: (convert) do not post a message, when converting
7351         fails, let the calling function decide what to do in this case
7352
7353 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7354
7355         * lyxfunc.C: tidy up a little
7356
7357 2002-06-16    <alstrup@diku.dk>
7358
7359         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7360         Got rid of FORMS_H_LOCATION include. Now we are
7361         GUII.
7362
7363 2002-06-15  LyX Development team  <lyx@rilke>
7364
7365         * buffer.[Ch] (sgmlOpenTag):
7366         (sgmlCloseTag): Added support for avoiding pernicious mixed
7367         content. Return number of lines written.
7368
7369         (makeLinuxDocFile):
7370         (makeDocBookFile): Fixed calls to sgml*Tag.
7371         Simple white space clean.
7372
7373         (simpleDocBookOnePar): Simple white space clean.
7374
7375         * tabular.[Ch] (docBook): Renamed to docbook and got another
7376         argument to related with the pernicious mixed content.
7377
7378         (docbookRow): Fixed calls for docbook inset method.
7379
7380 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7381
7382         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7383         so it's X11 independent.
7384
7385         * kb*.[Ch]: ditto.
7386
7387         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7388
7389 2002-06-15  Lyx Development team  <lyx@electronia>
7390
7391         * intl.h: Renamed getTrans to getTransManager.
7392
7393 2002-06-14  Angus Leeming  <leeming@lyx.org>
7394
7395         * Makefile.am: nuke forgotten stl_string_fwd.h.
7396
7397 2002-06-12  Angus Leeming  <leeming@lyx.org>
7398
7399         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7400
7401 2002-06-13  Angus Leeming  <leeming@lyx.org>
7402
7403         * LaTeX.C:
7404         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7405
7406 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7407
7408         * kbmap.C (getiso): add support for cyrillic and greek
7409
7410 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7411
7412         * BufferView.h:
7413         * BufferView.C:
7414         * BufferView_pimpl.h:
7415         * BufferView_pimpl.C: move bogus scrolling logic
7416           to xforms
7417
7418 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7419
7420         * lyxfunc.C:
7421         * BufferView_pimpl.C: view->resize() change
7422
7423 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7424
7425         * BufferView_pimpl.C: topCursorVisible
7426           prototype change
7427
7428 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7429
7430         * Makefile.am:
7431         * lyx_gui.h:
7432         * lyx_gui.C: move to frontends/
7433
7434         * main.C:
7435         * lyx_main.h:
7436         * lyx_main.C: changes from above
7437
7438 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7439
7440         * intl.C:
7441         * intl.h:
7442         * kbmap.C:
7443         * kbsequence.C:
7444         * lyx_cb.C:
7445         * lyx_main.C: minor tidy
7446
7447 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7448
7449         * BufferView_pimpl.h:
7450         * BufferView_pimpl.C:
7451         * BufferView.h:
7452         * BufferView.C: make painter() const,
7453           remove dead code
7454
7455         * BufferView2.C: use screen() accessor
7456
7457         * lyx_main.h:
7458         * lyx_main.C: some minor cleanup
7459
7460 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7461
7462         * BufferView_pimpl.h:
7463         * BufferView_pimpl.C: remove enter/leaveView,
7464           use workHeight()
7465
7466 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7467
7468         * BufferView.h:
7469         * BufferView.C:
7470         * BufferView2.C:
7471         * BufferView_pimpl.h:
7472         * BufferView_pimpl.C: only construct screen once,
7473           rename
7474
7475         * lyxrc.C: remove pointless comment
7476
7477 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * BufferView.h:
7480         * BufferView.C: remove active() and belowMouse()
7481
7482         * BufferView_pimpl.h:
7483         * BufferView_pimpl.C: use workarea() not workarea_,
7484           and make it use a scoped_ptr instead
7485
7486 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7487
7488         * lyx_gui.C: add debug message on BadWindow
7489
7490 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7491
7492         * sp_spell.C: fdopen is not part of the C++ standard.
7493
7494         * paragraph.C (InsetIterator): use >= instead of ==
7495
7496 2002-06-07  Angus Leeming  <leeming@lyx.org>
7497
7498         Fixes needed to compile with Compaq cxx 6.5.
7499         * BufferView_pimpl.C:
7500         * DepTable.C:
7501         * buffer.C:
7502         * converter.C:
7503         * encoding.C:
7504         * lyx_gui.C:
7505         * lyx_main.C:
7506         * lyxtextclasslist.C:
7507         * minibuffer.C:
7508         * sp_spell.C:
7509         * tabular_funcs.C:
7510         * vc-backend.C:
7511         all c-library variables have been moved into namespace std. Wrap
7512         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7513
7514         * lyxlength.C:
7515         * tabular-old.C:
7516         * tabular.C:
7517         Add a using std::abs declaration.
7518
7519         * kbmap.h (modifier_pair):
7520         * paragraph.h (InsetTable, InsetList):
7521         * lyxfont.h (FontBits):
7522         type definition made public.
7523
7524         * bufferlist.C (emergencyWriteAll): the compiler complains that
7525         there is more than one possible lyx::class_fun template to choose from.
7526         I re-named the void specialisation as lyx::void_class_fun.
7527
7528         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7529
7530         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7531         the compiler is is unable to find tostr in write_attribute.
7532
7533 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7534
7535         * buffer.C (sgmlError): hide #warning
7536
7537 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7538
7539         * xtl/*: get rid of xtl, which is not in use anyway
7540
7541         * LyXAction.C (init):
7542         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7543         were unimplemented xtl experimentation
7544
7545 2002-06-04  André Pönitz <poenitz@gmx.net>
7546
7547         * lyxfunc.C: disable array operation on simple formulae
7548
7549 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7550
7551         * converter.C: constify a bit
7552
7553 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7554
7555         * lyx_gui.C: check xforms version correctly
7556
7557 2002-04-30  Herbert Voss  <voss@lyx.org>
7558
7559         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7560         "keep" option
7561
7562 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7563
7564         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7565           attempt to register it with a VCS)
7566
7567 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7568
7569         * lyx_main.C (init): honor variables LYX_DIR_13x and
7570         LYX_USERDIR_13x
7571
7572 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7573
7574         * buffer.h:
7575         * buffer.C:
7576         * lyx_main.C: fix a crash on bad command line,
7577           and give a useful exit status on error
7578
7579         * lyxfunc.C (doImport): allow -i lyx to work
7580
7581 2002-03-30  André Pönitz <poenitz@gmx.net>
7582
7583         * lyxfunc.C: mathed font changes
7584
7585 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7586
7587         * LaTeX.C:
7588         * importer.h:
7589         * importer.C:
7590         * lyx_sty.h:
7591         * lyx_sty.C:
7592         * lyxlex.C:
7593         * lyxrow.h:
7594         * lyxtext.h:
7595         * paragraph.h:
7596         * paragraph.C:
7597         * texrow.h:
7598         * texrow.C:
7599         * text.C:
7600         * trans_mgr.h: srcdocs, and some minor cleanups
7601
7602 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7603
7604         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7605         call getFont all the time)
7606
7607 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7608
7609         * switch from SigC signals to boost::signals
7610
7611 2002-05-29  André Pönitz <poenitz@gmx.net>
7612
7613         * paragraph_pimpl.C (getChar): don't call size() too often...
7614
7615 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7616
7617         * paragraph_pimpl.C (insertChar): do not try to update tables when
7618         appending (pos == size())
7619
7620         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7621         in order to reduce drastically the number of comparisons needed to
7622         parse a large document
7623
7624 2002-05-29  André Pönitz <poenitz@gmx.net>
7625
7626         * text.C:
7627         * text2.C:
7628         * lyxtextclass.C:
7629         * sp_pspell.h:
7630         * textclasslist.[Ch]:
7631         * sp_ispell.h: whitespace change
7632
7633 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7634
7635         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7636         lyxaction directly now.
7637
7638 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * trans.C:
7641         * lyxfont.C:
7642         * lyxvc.C: remove unused headers
7643
7644 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * Makefile.am:
7647         * buffer.h:
7648         * undostack.h:
7649         * undostack.C:
7650         * undo_funcs.h:
7651         * undo_funcs.C: some cleanups. Use shared_ptr
7652           and a template for the undo stacks.
7653
7654 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7655
7656         * BufferView_pimpl.h:
7657         * BufferView_pimpl.C:
7658         * kbmap.h:
7659         * kbmap.C:
7660         * kbsequence.h:
7661         * kbsequence.C:
7662         * lyxfunc.h:
7663         * lyxfunc.C:
7664         * text2.C: use key_state/mouse_state
7665
7666 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7667
7668         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7669         and LSubstring
7670
7671         * chset.C: change include order
7672         (loadFile): use boost regex and get rid of LRegex and LSubstring
7673
7674         * Makefile.am (BOOST_LIBS): new variable
7675         (lyx_LDADD): use it
7676
7677         * LaTeX.C: change include order.
7678         (scanAuxFile): use boost regex and get rid of LRegex and
7679         LSubstring
7680         (deplog): ditto
7681
7682 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7683
7684         * ColorHandler.h:
7685         * ColorHandler.C:
7686         * FontInfo.h:
7687         * FontInfo.C: moved to frontends/xforms/
7688
7689         * FontLoader.h:
7690         * FontLoader.C: moved into frontends for GUIIzation
7691
7692         * Makefile.am:
7693         * lyx_gui.C:
7694         * lyxfont.C:
7695         * lyxfunc.C: changes from above
7696
7697 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7698
7699         * LColor.C: remove spurious X include
7700
7701         * BufferView_pimpl.C:
7702         * Makefile.am:
7703         * font.h:
7704         * font.C:
7705         * text.C:
7706         * text2.C: move font metrics to frontends/
7707
7708 2002-05-24  Juergen Vigna  <jug@sad.it>
7709
7710         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7711         setting the undo_cursor.
7712
7713         * ParagraphParameters.h: include local includes first.
7714
7715 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7716
7717         * BufferView_pimpl.C:
7718         * BufferView_pimpl.h:
7719         * Makefile.am:
7720         * WorkArea.h:
7721         * WorkArea.C:
7722         * screen.C: move WorkArea into frontends/
7723
7724         * lyxscreen.h:
7725         * screen.C:
7726         * text.C:
7727         * BufferView.C:
7728         * BufferView2.C: move LyXScreen into frontends/
7729
7730         * lyxlookup.h:
7731         * lyxlookup.C:
7732         * lyx_gui.C: move lyxlookup into frontends/xforms/
7733
7734 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7735
7736         * BufferView2.C:
7737         * BufferView_pimpl.C:
7738         * FontLoader.C:
7739         * LyXView.h:
7740         * LyXView.C:
7741         * Makefile.am:
7742         * WorkArea.C:
7743         * XFormsView.h:
7744         * XFormsView.C:
7745         * buffer.C:
7746         * bufferlist.C:
7747         * bufferview_funcs.C:
7748         * converter.C:
7749         * importer.C:
7750         * lyx_cb.C:
7751         * lyx_gui.C:
7752         * lyx_main.C:
7753         * lyx_find.C:
7754         * lyxfunc.C:
7755         * lyxvc.C:
7756         * minibuffer.C:
7757         * text.C:
7758         * text2.C:
7759         * trans.C:
7760         * vc-backend.C: move LyX/XFormsView into frontends/
7761
7762 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7763
7764         * Makefile.am:
7765         * PainterBase.C:
7766         * PainterBase.h:
7767         * Painter.C:
7768         * Painter.h:
7769         * WorkArea.C:
7770         * WorkArea.h:
7771         * screen.C:
7772         * tabular.C:
7773         * text.C:
7774         * text2.C: move Painter to frontends/
7775
7776 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7777
7778         * buffer.C: comment out some some code that depend upon lyx_format
7779         < 220
7780
7781         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7782         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7783
7784         * buffer.h (NO_COMPABILITY): turn off compability
7785
7786         * ColorHandler.C: include scoped_array.hpp
7787
7788         * font.C: Use more specific smart_ptr header.
7789         * Painter.C: ditto
7790         * gettext.C: ditto
7791         * ShareContainer.h: ditto
7792         * lyx_main.h: ditto
7793         * kbmap.h: ditto
7794         * FontInfo.h: ditto
7795         * BufferView_pimpl.h: ditto
7796         * ColorHandler.h: ditto
7797
7798         * kbmap.C (defkey): change call to shared_ptr::reset
7799
7800 2002-05-21  Juergen Vigna  <jug@sad.it>
7801
7802         * buffer.C (insertErtContents): fix to insert ert asis if it is
7803         non empty. Skip it completely if it contains only whitespaces.
7804
7805 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7806
7807         * BufferView_pimpl.C:
7808         * BufferView2.C: clear selection on paste (bug 393)
7809
7810 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7811
7812         * DepTable.C: include ctime
7813
7814 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7815
7816         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7817
7818 2002-05-14  Juergen Vigna  <jug@sad.it>
7819
7820         * text.C (breakParagraph): fixed function to honor the keepempty
7821         layout in the right maner and also to permit the right breaking
7822         algorithm on empty or non empyt keepempty paragraphs.
7823
7824         * paragraph.C (breakParagraph): we have to check also if the par
7825         is really empty (!size()) for isempty otherwise we do the wrong
7826         paragraph break.
7827
7828 2002-05-10  Juergen Vigna  <jug@sad.it>
7829
7830         * buffer.[Ch] : The following are only changes to the ert
7831         compatibility read reading old LaTeX layout and font stuff and
7832         convert it to ERTInsets.
7833
7834         * buffer.h: added isErtInset().
7835
7836         * buffer.C (struct ErtComp): add a fromlayout bool to check
7837         if we're inside a LaTeX layout.
7838         (isErtInset): new helper function.
7839         (insertErtContents): look for other ert insets before this one
7840         and insert the contents there, so that we don't have subsequent
7841         ERT insets with nothing between them. This way we create only one
7842         inset with multiple paragraphs. Also check if we don't insert only
7843         spaces ' ' as they are ignored anyway afterwards in the .tex file
7844         so if we have only spaces we will ignore this latex part in the
7845         new file.
7846         (parseSingleLyXformat2Token \\layout): better compatibility when
7847         reading layout-latex stuff.
7848         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7849         language tag.
7850         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7851         stuff after reading the inset only get the information back from
7852         the stack.
7853
7854 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7855
7856         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7857
7858         * LaTeXFeatures.C (getBabelOptions): New method.
7859
7860 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7861
7862         * BufferView_pimpl.C (Dispatch): work around missing argument for
7863         'layout'
7864
7865 2002-05-08  Juergen Vigna  <jug@sad.it>
7866
7867         * text.C (leftMargin): handle paragraph leftindent.
7868
7869         * paragraph.C (writeFile): write the new \\leftindent tag.
7870         (validate): handle leftindent code.
7871         (TeXEnvironment): handle paragraphleftindent code again.
7872
7873         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7874
7875         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7876         for paragrap_extra indent code and new token \\leftindent.
7877         (latexParagraphs): handle the leftindent as environment.
7878
7879         * ParameterStruct.h: added leftindent support.
7880
7881         * ParagraphParameters.C (leftIndent): added support functions for
7882         the paragraph left indent.
7883
7884         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7885         more appropriate.
7886
7887 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7888
7889         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7890         inside insetERT.
7891
7892         * text.C (computeBidiTables): No bidi in insetERT.
7893
7894         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7895         in RTL documents.
7896
7897 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7898
7899         * version.C.in: pre 5
7900
7901 2002-05-02  José Matos  <jamatos@fep.up.pt>
7902         * buffer.C (makeDocBookFile): white space changes, add newline to
7903         command styles.
7904         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7905
7906         * tabular.C (docBook): fix typo.
7907
7908 2002-05-03  Juergen Vigna  <jug@sad.it>
7909
7910         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7911         change in LyXText as we can not be sure it was not freed.
7912         (drawOneRow): remove unused code.
7913
7914         * text.C (drawInset): redo the calculation of the need_break_row as
7915         it could have a row which was already freed.
7916         (draw): look at the return value of drawInset and return false if
7917         it also returned false.
7918         (paintRowText): look at the return value of draw and return false if
7919         it also returned false.
7920
7921         * lyxtext.h: added bool return type to drawInset() and draw() so that
7922         if we have a change in the row so that the rowbreak has to be redone
7923         we abort drawing as it will be called again.
7924
7925 2002-05-02  Juergen Vigna  <jug@sad.it>
7926
7927         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7928         a change in the maintext also if we're inside an inset.
7929         (Dispatch): set the cursor again after a break line and after the
7930         screen has been updated as it could be we're in a different row.
7931
7932         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7933         to set the cursor behind the pargraph with > size().
7934         (setCursor): check also for the same paragraph when checking where
7935         to put the cursor if we have a NFR inset.
7936
7937         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7938         parts of layout read further up as it still was in the wrong
7939         position.
7940
7941 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7942
7943         * screen.C (drawFromTo): change sine fullRebreak always return
7944         true.
7945
7946         * buffer.C (parseSingleLyXformat2Token): reindent some
7947
7948         * BufferView_pimpl.C (update): change since fullRebreak always
7949         return true.
7950         (Dispatch): git rid of the last hardcoded "Standard"s.
7951
7952 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7953
7954         * text2.[Ch] (fullRebreak): make it return void now that we always
7955         returned true.
7956
7957 2002-04-30  Juergen Vigna  <jug@sad.it>
7958
7959         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7960         ert compatibility check for "latex" layout.
7961
7962 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7963
7964         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7965         minipages: use col% instead of p%, and also use the current font.
7966         (makeLaTeXFile): Fix use babel condition.
7967         (parseSingleLyXformat2Token): Correct font when reading old floats.
7968
7969 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7970
7971         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7972         inserting list of floats.
7973
7974 2002-04-25  Herbert Voss  <voss@lyx.org>
7975
7976         * MenuBackend.C (expand): don't add the graphics extensions to the
7977         export menu
7978
7979 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7980
7981         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7982         non-existing layout, do not complain if it was the default layout
7983         of the original class (bug #342)
7984
7985 2002-04-24  Juergen Vigna  <jug@sad.it>
7986
7987         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7988         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7989
7990 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7991
7992         * buffer.C (getBibkeyList): If using \bibliography, return the
7993         option field with the reference itself. Enables us to provide natbib
7994         support when using \bibliography.
7995
7996 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7997
7998         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7999
8000         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8001         natbib is provided by the LaTeX class.
8002
8003 2002-04-23  Juergen Vigna  <jug@sad.it>
8004
8005         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8006         Wakeup functions.
8007
8008         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8009
8010 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8011
8012         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8013
8014         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8015         ensuremath around textordmasculine, textordfeminine and
8016         textdegree.
8017
8018 2002-04-19  Juergen Vigna  <jug@sad.it>
8019
8020         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8021         reinitializing the buffer otherwise row-dimensions may be wrong.
8022         (update): reset also the selection cursors if they do exits otherwise
8023         their x/y positions may be wrong.
8024
8025         * text2.C (cursorDown): don't enter the inset if we came from a row
8026         above and are one row over the inset.
8027
8028         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8029         really leaving an inset.
8030
8031 2002-04-18  Juergen Vigna  <jug@sad.it>
8032
8033         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8034         of the selected paragraph does not have the selected layout also if
8035         the last one had!
8036
8037         * text2.C (setLayout): fixed bug which did not change last selected
8038         paragraph.
8039
8040         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8041         changed the read and substituted \\end_float with \\end_inset!
8042
8043         * BufferView_pimpl.C (cursorPrevious):
8044         (cursorNext): fixed to make it work with rows heigher than the work
8045         area without moving the cursor only the draw of the row.
8046         (workAreaMotionNotify): fix jumping over high rows.
8047
8048 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8049
8050         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8051         Ressler.
8052
8053 2002-04-16  Juergen Vigna  <jug@sad.it>
8054
8055         * text2.C (setCursor): set also the irow().
8056         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8057         (cursorUp):
8058         (cursorDown): support for locking an inset if the x_fix value goes
8059         inside it. That way I can transverse insets too with cursor up/down.
8060
8061         * lyxrow.h: added irow helper function same as other (i) functions.
8062
8063         * BufferView_pimpl.C (cursorPrevious):
8064         (cursorNext): fixed for insets!
8065
8066 2002-04-15  Juergen Vigna  <jug@sad.it>
8067
8068         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8069         position otherwise it is wrong in some cases.
8070
8071         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8072         inside the inset before the call.
8073
8074 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8075
8076         * buffer.[Ch] (getBibkeyList): make it const.
8077
8078 2002-04-12  Juergen Vigna  <jug@sad.it>
8079
8080         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8081
8082         * text2.C (getCursorX): new helper function
8083         (setCursor): compute also ix_
8084         (setCursorFromCoordinates): set also ix.
8085
8086         * lyxcursor.h: added ix_ and helper functions.
8087
8088         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8089
8090         * buffer.C (insertStringAsLines): dont break paragraph if the this
8091         paragraph is inside an inset which does not permit it!
8092
8093         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8094         also with no chars on this paragraph.
8095         (paintRowText): only paint stuff if it's inside the workarea!
8096
8097         * paragraph.C (breakParagraph): honor keepempty flag and break the
8098         paragraph always below not above.
8099
8100         * BufferView2.C (unlockInset): update the paragraph layout on inset
8101         unlock as we changed paragraph in such a case.
8102
8103         * lyxfind.C (LyXFind): clear the former selection if not found!
8104
8105         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8106         again called in insertChar().
8107
8108         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8109         an inset which uses the whole row!
8110         (rightMargin): ditto.
8111         (insertChar): force a rebreak if we inserted an inset!
8112
8113 2002-03-28  Herbert Voss  <voss@lyx.org>
8114
8115         * lyxlength.[Ch]: add inBP() to get the right PS-point
8116         units (BigPoint). With inPixels we have rounding errors
8117
8118 2002-04-11  Juergen Vigna  <jug@sad.it>
8119
8120         * text2.C (setCursorFromCoordinates): set iy to the right value.
8121         (setCursor): add check if row->previous exists!
8122
8123         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8124         an old float_type as this was the case in the old code!
8125
8126         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8127
8128         * BufferView2.C (showLockedInsetCursor): use iy
8129         (fitLockedInsetCursor): ditto
8130
8131         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8132         locked insets as there we have the right value now.
8133
8134         * lyxcursor.C: added iy_ variable and iy functions to set to the
8135         baseline of cursor-y of the locked inset.
8136
8137         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8138         (setCursor): fixed for insets which need a full row.
8139
8140         * text.C (rowLastPrintable): don't ignore the last space when before
8141         an inset which needs a full row.
8142         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8143         as last character of a row when before a inset which needs a full row.
8144
8145 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8146
8147         * version.C.in: update date
8148
8149         * text2.C (fullRebreak): try to always return true and see what
8150         happens...
8151
8152 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8153
8154         * MenuBackend.C (expand): use Floating::listName
8155
8156         * FloatList.C (FloatList): add listName argument to the built-in
8157         floats
8158
8159         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8160         text associated with the float.
8161
8162 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8163
8164         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8165
8166 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8167
8168         * ShareContainer.h: add a couple of missing typenames.
8169
8170 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8171
8172         * lyxrc.C (getDescription): use _() correctly rather than N_().
8173
8174 2002-03-28  Herbert Voss  <voss@lyx.org>
8175
8176         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8177         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8178
8179 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8180
8181         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8182         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8183
8184 2002-03-29  Juergen Vigna  <jug@sad.it>
8185
8186         * lyxfunc.C (dispatch): add a missing fitCursor call.
8187
8188         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8189         it was scrolled by a cursor move, so return the bool status.
8190
8191         * BufferView.C (fitCursor): return the bool flag also to the outside
8192         world as this is needed.
8193
8194         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8195
8196         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8197         call the edit() as it is not needed (and wrong) IMO.
8198         (workAreaButtonPress): set the screen_first variable before evt.
8199         unlock the inset as this may change screen_first and then we have
8200         a wrong y position for the click!
8201
8202 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8203
8204         * MenuBackend.C (expand): another translation that I missed
8205
8206 2002-03-28  Juergen Vigna  <jug@sad.it>
8207
8208         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8209
8210         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8211
8212 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8213
8214         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8215
8216         * MenuBackend.C (expand): fix export/view/update when there is no
8217         document open.
8218
8219 2002-03-27  Herbert Voss  <voss@lyx.org>
8220
8221         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8222         and text%
8223
8224 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8225
8226         * bufferview_funcs.C (currentState): only show paragraph number
8227         for is DEVEL_VERSION is set.
8228
8229         * lyxfunc.C (dispatch): put warning in INFO channel
8230
8231         * MenuBackend.C (expand): translate the name of floats
8232
8233         * FloatList.C (FloatList): mark the float names for translation
8234
8235         * converter.C (convert): use LibScriptSearch
8236
8237 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8238
8239         * MenuBackend.C (defaults): fix default menu (we might as well get
8240         rid of it...)
8241
8242 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8243
8244         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8245         directory.
8246
8247 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8248
8249         * lyxvc.C: reorder includes.
8250
8251 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8252
8253         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8254           properly
8255
8256 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * CutAndPaste.C: change layouts earlier on paste
8259           to avoid crashing when calling getFont()
8260
8261 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8262
8263         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8264         irritating #error.
8265
8266 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8267
8268         * WorkArea.C: remove 'Pending' debug message.
8269
8270         * most files: ws cleanup
8271
8272         * buffer.[Ch]: ws changes
8273
8274         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8275
8276 2002-03-21  Juergen Vigna  <jug@sad.it>
8277
8278         * tabular.C (SetMultiColumn): collapse also the contents of the
8279         cells and set the last border right. Added a Buffer const * param.
8280
8281 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8282
8283         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8284         linking or not.
8285
8286 2002-03-19  Juergen Vigna  <jug@sad.it>
8287
8288         * text2.C (clearSelection): reset also xsel_cache.
8289
8290         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8291         where it needs to be called (John tells us to do so too :)
8292         (selectionLost): reset sel_cache.
8293
8294         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8295
8296 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8297
8298         * text2.C (setCursorIntern): put debuging code in INSETS channel
8299
8300 2002-03-19  André Pönitz <poenitz@gmx.net>
8301
8302         * lyxfunc.C: tiny whitespace change
8303
8304 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8305
8306         * ToolbarDefaults.C (init):
8307         * LyXAction.C (init):
8308         * commandtags.h:
8309         * BufferView_pimpl.C (Dispatch):
8310         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8311
8312 2002-03-19  Allan Rae  <rae@lyx.org>
8313
8314         * exporter.C (Export): removeAutoInsets before doing anything else.
8315         While I've just introduced a dependency on BufferView this really is
8316         the best place to clean the buffer otherwise you need to cleanup in
8317         a dozen places before calling export or cleanup in a dozen functions
8318         that export calls.
8319
8320         * converter.C (runLaTeX):
8321         (scanLog): Better handling of removeAutoInsets and screen updates.
8322
8323         * lyxfunc.C (dispatch): small whitespace changes
8324
8325 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8326
8327         * WorkArea.C (C_WorkAreaEvent): return a value.
8328         (event_cb): return 1 if we handled the event, 0 otherwise.
8329
8330         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8331
8332 2002-03-18  Juergen Vigna  <jug@sad.it>
8333
8334         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8335         (GetAdditionalWidth): ditto.
8336         (RightLine): ditto.
8337         (LeftLine): ditto.
8338
8339         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8340         inset if we're there actually (probably not used right now but this
8341         is the direction to go for unifying code).
8342         (paste): disable code to clear the selection.
8343
8344         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8345         inside an InsetText and move the check further up as it is in the
8346         wrong place.
8347
8348         * text2.C (pasteSelection): set a selection over the pasted text.
8349
8350 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8351
8352         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8353         and libgraphics to build on Cygwin.
8354
8355 2002-03-15  Juergen Vigna  <jug@sad.it>
8356
8357         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8358         inserting an Inset into the paragraph. I know this is not the best
8359         fix but we already use current_view in CutAndPaste so we will remove
8360         all of it's using at the same time.
8361
8362         * buffer.C (sgmlError): deactivated function till it is rewritten in
8363         the right mode, now it can create problems.
8364
8365         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8366         before accessing it.
8367
8368 2002-03-14  Juergen Vigna  <jug@sad.it>
8369
8370         * undo_funcs.C (textHandleUndo): do the right thing when updating
8371         the inset after the undo/redo.
8372
8373         * text2.C (setCursor): just some testcode for #44 not ready yet.
8374
8375         * undo_funcs.C (textHandleUndo): set the next() and previous()
8376         pointers of the paragraph to 0 before deleting otherwise we have
8377         problems with the Paragraph::[destructor].
8378
8379         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8380         on a paragraph insertion.
8381
8382 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8383
8384         * buffer.C (asciiParagraph): use += operator for char append to
8385         string.
8386
8387         * paragraph.C (getFontSettings): compare >= not just >
8388         (highestFontInRange): ditto
8389         (setFont): ditto
8390
8391 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8392
8393         * paragraph.C: change several algorithm to be more appripriate for
8394         the problem domain. This is lookip in FontList and in the InsetList.
8395
8396 2002-03-13  André Pönitz <poenitz@gmx.net>
8397
8398         * commandtags.h:
8399         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8400
8401 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * commandtags.h:
8404         * LyXAction.C:
8405         * lyxfunc.C:
8406         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8407
8408 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8409
8410         * Painter.C (display): anon helper function, adjust code for this
8411         change.
8412         (pixmap): remove function.
8413
8414         * Painter.h: remove private display variable.
8415
8416         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8417
8418 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8419
8420         * WorkArea.[Ch]: remove figinset_canvas cruft.
8421
8422 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8423
8424         * lyxtextclass.C (operator): add one item cache optimization.
8425
8426         * bufferlist.h: doxy changes
8427
8428         * bufferlist.C: ws changes
8429
8430         * DepTable.[Ch] (ext_exist): place const in the right spot.
8431
8432         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8433         call resizeInsets.
8434         (workAreaExpose): call resizeInsets when the with BufferView changes.
8435         (Dispatch): adjust for protectedBlank removal
8436         (specialChar): call updateInset if the insert went ok.
8437
8438         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8439         specialChar instead.
8440
8441         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8442
8443         * BufferView.h: doxy change
8444
8445         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8446
8447         * lyxtextclass.C (operator[]): remove non-const version
8448         (defaultLayout): remove non-const version
8449
8450 2002-03-12  Juergen Vigna  <jug@sad.it>
8451
8452         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8453         did resize the LyXText too.
8454
8455         * buffer.C (readLyXformat2): set layout information on newly allocated
8456         paragraphs.
8457
8458         * tabular.C (OldFormatRead): set layout information on the paragraph.
8459
8460 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8461
8462         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8463
8464 2002-03-11  Juergen Vigna  <jug@sad.it>
8465
8466         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8467         plainly wrong.
8468         (resizeCurrentBuffer): force also the insets to resize themselfes.
8469         (moveCursorUpdate): fixed up for InsetText.
8470
8471 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8472
8473         * commandtags.h:
8474         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8475         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8476         value of Dialogs::tooltipsEnabled().
8477         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8478
8479 2002-03-08  Juergen Vigna  <jug@sad.it>
8480
8481         * BufferView_pimpl.C (updateInset): update inset inside inset also
8482         if it isn't inside theLockingInset().
8483
8484 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8485
8486         * buffer.C (asciiParagraph): redo some of the word and line length
8487         handling.
8488         (getLists): look for Caption instead of caption.
8489
8490 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8491
8492         * buffer.C (Buffer): initialize niceFile to true
8493         (makeLaTeXFile):
8494         (makeLinuxDocFile):
8495         (makeDocBookFile): make sure niceFile is true on exit
8496
8497 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8498
8499         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8500
8501 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8502
8503         * LyXSendto.C: remove.
8504         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8505         * lyx_gui.C: remove now-redundant comment.
8506         * ColorHandler.h: remove forward declaration of class WorkArea.
8507         * lyxfunc.C: remove #include "WorkArea.h".
8508
8509 2002-03-07  Juergen Vigna  <jug@sad.it>
8510
8511         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8512         got moved away with the DEPM and also set the inset_owner always
8513         right which before could have been omitted.
8514
8515 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8516
8517         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8518         wanted layout is not found.
8519
8520 2002-03-07  Juergen Vigna  <jug@sad.it>
8521
8522         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8523
8524 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8525
8526         * paragraph.C (breakParagraph): use default layout not layout of
8527         prev paragraph.
8528         (Paragraph): clear ParagraphParameters.
8529
8530 2002-03-06  Juergen Vigna  <jug@sad.it>
8531
8532         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8533         otherwise it would not be a valid lenght. Fixed a special case in
8534         the minipage compatibility read where we end the document with a
8535         minipage.
8536
8537         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8538         was set as it could be 0 for InsetTexts first entry.
8539
8540 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8541
8542         * paragraph.C (writeFile): if layout is empty write out
8543         defaultLayoutName().
8544
8545         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8546         file without named layout we set layout to defaultLayoutName().
8547
8548 2002-03-06  Juergen Vigna  <jug@sad.it>
8549
8550         * CutAndPaste.C (copySelection): set layout for new paragraph.
8551
8552         * text.C (prepareToPrint): leave ERT inset left aligned
8553         (leftMargin): don't indent paragraphs inside ERT insets
8554
8555 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8556
8557         * paragraph.C (breakParagraph): dont call clear do the work manually
8558
8559         * paragraph.[Ch] (clear): remove function
8560
8561 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8562
8563         * paragraph.C (Paragraph): dont call clear, the work has already
8564         been done.
8565
8566         * lyxtextclass.C (operator): assert if n is empty
8567
8568         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8569         work manually instead.
8570
8571 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8572
8573         * BufferView_pimpl.C: protect selectionLost against text == 0
8574
8575 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8576
8577         * text.C (breakParagraph): fix a setting layout to '0' problem.
8578
8579 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8580
8581         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8582         final location of file, for the included files, and graphics.
8583
8584 2002-03-05  Juergen Vigna  <jug@sad.it>
8585
8586         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8587
8588 2002-03-04  Juergen Vigna  <jug@sad.it>
8589
8590         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8591
8592         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8593         last column of multicolumn cells.
8594         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8595
8596 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8597
8598         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8599         file if it doesn't go to a temporary file.
8600
8601         * buffer.C (sgmlOpenTag):
8602         (sgmlCloseTag):  remove extra newline insertion.
8603
8604 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8605
8606         * text.C (getRowNearY): comment out debug msg
8607
8608 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8609
8610         * text2.C: first -> first_y
8611
8612         * text.C (getRowNearY): add some attemts at a possible
8613         optimization, not working.
8614
8615         * tabular.[Ch]: add BufferParams to several function so that newly
8616         created paragraph can be initialized to he default layotu for the
8617         buffers textclass.
8618
8619         * tabular-old.C (ReadOld): add buf->params to call of Init
8620
8621         * screen.C: rename text->first to text->first_y
8622
8623         * paragraph.C (breakParagraph): always set layout in the broken
8624         paragraph
8625
8626         * lyxtextclass.C (Read): remove lowercase
8627         (hasLayout): ditto
8628         (operator): ditto
8629         (delete_layout): ditto
8630
8631         * lyxtext.h: rename first -> first_y
8632
8633         * lyxlayout.C (Read): remove lowercase
8634         (name): ditto
8635         (setName): ditto
8636         (obsoleted_by): ditto
8637
8638         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8639
8640         * buffer.C (insertErtContents): add params are to InsetERT
8641         (parseSingleLyXformat2Token): add code to check if a paragraphs
8642         layout really exist.
8643         (parseSingleLyXformat2Token): add params to several inset
8644         constructors
8645         (asciiParagraph): remove lowercase, do the layout comparisons with
8646         no_case
8647
8648         * BufferView_pimpl.C (cursorNext): first -> first_y
8649         (resizeCurrentBuffer): first -> first_y
8650         (updateScrollbar): first -> first_y
8651         (scrollCB): first -> first_y
8652         (workAreaMotionNotify): first -> first_y
8653         (workAreaButtonPress): first -> first_y
8654         (checkInsetHit): first -> first_y
8655         (cursorPrevious): first -> first_y
8656         (cursorNext): first -> first_y
8657         (Dispatch): add buffer_->params to severl inset contructors
8658
8659 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8660
8661         * lyxlayout.C (Read): remove some debug info that I forgot.
8662
8663         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8664         clean up the code slightly.
8665         (makeLinuxDocFile): ditto
8666         (makeDocBookFile): ditto
8667
8668         * text2.C: layout as string
8669
8670         * text.C: layout as string
8671
8672         * paragraph_pimpl.C: layout as string
8673
8674         * paragraph.[Ch]: layout as string
8675
8676         * lyxtextclasslist.[Ch]: layout as string
8677
8678         * lyxtextclass.[Ch]: layout as string
8679
8680         * lyxtext.h: layout as string
8681
8682         * lyxlayout.[Ch]: layout as string
8683
8684         * lyx_cb.C: layout as string
8685
8686         * bufferview_funcs.C: layout as string
8687
8688         * bufferparams.C: layout as string
8689
8690         * buffer.C: layout as string
8691
8692         * LyXView.[Ch]: layout as string
8693
8694         * LaTeXFeatures.[Ch]: layout as string
8695
8696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8697
8698         * BufferView_pimpl.C: change current_layout to string, remove
8699         lyx::layout_type.
8700         (Dispatch):
8701         (smartQuote):
8702         (insertInset):
8703         (workAreaButtonRelease): layout as string
8704
8705         * BufferView2.C (unlockInset): adjust
8706
8707         * vspace.C (asLatexCommand): use an explict temp variable.
8708
8709 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * Makefile.am: use FRONTEND_*
8712
8713 2002-03-01  Juergen Vigna  <jug@sad.it>
8714
8715         * tabular.C (SetWidthOfMulticolCell): changed to something better
8716         I hope but still work in progress.
8717         (recalculateMulticolumnsOfColumn): renamed function from
8718         recalculateMulticolCells as it is more appropriate now.
8719         (SetWidthOfCell): calculate multicols better.
8720
8721 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8722
8723         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8724
8725         * lyxfunc.C (processKeySym): print sequence also if it is
8726         `deleted' (complete)
8727
8728         * kbsequence.C (print): print sequence even if it is deleted
8729         (complete would be a better word, actually).
8730
8731         * lyxfunc.C (dispatch): print complete options after a prefix key
8732
8733         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8734
8735 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8736
8737         * text2.C (setCharFont): eliminate setCharFont code duplication.
8738
8739 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8740
8741         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8742         LFUN_TABULAR_FEATURE (bug #177)
8743
8744 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8745
8746         * Makefile.am: remove figure.h
8747
8748 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8749
8750         * Bufferview_pimpl.C:
8751         * CutAndPasteC:
8752         * LaTeX.C:
8753         * LyXSendto.C:
8754         * buffer.C:
8755         * bufferlist.C:
8756         * converter.C:
8757         * language.C:
8758         * lyxfunc.C:
8759         * lyxvc.C:
8760         * paragraph.C:
8761         * text.C:
8762         * text2.C: remove #include "lyx_gui_misc.h".
8763
8764         * LaTeX.C: added #include <cstdio>
8765
8766 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8767
8768         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8769         that the paragraph following this one can have.
8770
8771         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8772
8773         * vspace.C (asLatexCommand): fix bogus gcc warning
8774
8775         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8776
8777 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8778
8779         * text2.C (setLayout): get rid of redundant code
8780
8781 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8782
8783         * text2.C (incDepth): make sure depth cannot be increased beyond
8784         reasonable values.
8785
8786 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8787
8788         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8789         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8790
8791         * PainterBase.h (image):
8792         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8793         a LyXImage const *.
8794
8795 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8796
8797         * BufferView.C:
8798         * BufferView.h:
8799         * BufferView_pimpl.C:
8800         * BufferView_pimpl.h:
8801         * LaTeXFeatures.C:
8802         * LyXAction.C:
8803         * LyXView.C:
8804         * Makefile.am:
8805         * UpdateList.h:
8806         * UpdateList.C:
8807         * buffer.C:
8808         * figure.h:
8809         * figureForm.C:
8810         * figureForm.h:
8811         * figure_form.C:
8812         * figure_form.h:
8813         * lyx_cb.C:
8814         * lyx_gui.C:
8815         * lyx_gui_misc.C:
8816         * lyxfunc.C:
8817         * sp_base.h:
8818         * sp_ispell.h:
8819         * sp_pspell.h:
8820         * sp_spell.C: remove fig inset, and the crap house of
8821           cards that follows it
8822
8823 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8824
8825         * Makefile.am:
8826         * lyxserver.C:
8827         * os2_defines.h:
8828         * os2_errortable.h:
8829         * nt_defines.h: move .h into support/
8830
8831         * vms_defines.h: remove
8832
8833         * WorkArea.C: add space in debug output
8834
8835         * text2.C:
8836         * paragraph.C:
8837         * buffer.C: add WITH_WARNINGS
8838
8839         * vc-backend.h:
8840         * vc-backend.C:
8841         * bufferlist.C: s/retrive/retrieve/, add docs
8842
8843         * vspace.h:
8844         * vspace.C:
8845         * kbmap.h:
8846         * lyxlength.h:
8847         * lyxgluelength.h:
8848         * length_common.h:
8849         * chset.h:
8850         * chset.C: add docs
8851
8852         * lyxgui.C: add ID to X error handler
8853
8854         * lyxtestclass.c: fix typo
8855
8856 2002-02-26  Juergen Vigna  <jug@sad.it>
8857
8858         * tabular_funcs.C (write_attribute): changed so that some default
8859         attributes are not written at all.
8860         (getTokenValue): set default values before trying to read the
8861         value so we have the return value always set as default if we don't
8862         find the token we search for.
8863
8864         * tabular.C (Write): write bools as bools not as strings!
8865
8866 2002-02-22  Juergen Vigna  <jug@sad.it>
8867
8868         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8869         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8870
8871         * text.C (leftMargin): don't add an indent for paragraphs inside
8872         tabular cells (fix #208).
8873
8874 2002-02-21  José Matos  <jamatos@fep.up.pt>
8875
8876         * tabular.C (docBook): fixed support for long tables.
8877
8878 2002-02-20  Juergen Vigna  <jug@sad.it>
8879
8880         * text2.C (getFont): get the drawing font of the Inset if this
8881         paragraph is inside an inset (only important for InsetERT for now).
8882
8883         * buffer.C (insertErtContents): use new lanugage params in ERT
8884         constructor.
8885
8886         * CutAndPaste.C: commenting out seemingly uneeded code.
8887
8888 2002-02-19  Allan Rae  <rae@lyx.org>
8889
8890         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8891         Iterators might be simple to use but they also get invalidated.
8892         (removeAutoInsets): renamed saved cursor tracking variables and added
8893         some comments to clarify what everything does.
8894
8895 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8896
8897         * Chktex.C:
8898         * LaTeX.C:
8899         * LyXSendto.C:
8900         * converter.C:
8901         * lyx_cb.C:
8902         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8903         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8904
8905         * lyxfunc.C:
8906         * vc-backend.h: remove #include "support/syscall.h"
8907
8908         * LaTeX.C:
8909         * LyXSendto.C:
8910         * converter.C: rearrange #includes in Lars' approved fashion.
8911
8912         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8913         forward declare class Timeout in the header file.
8914
8915         * XFormsView.C: changes due to the above.
8916
8917         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8918         similar to LyXView.
8919
8920         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8921         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8922
8923 2002-02-18  José Matos  <jamatos@fep.up.pt>
8924
8925         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8926         insets contents.
8927
8928 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8929
8930         * a lot of small ws changes
8931         * add a lot of using std::XXX
8932         * use std construcs some places where approp.
8933         * use some exisint stuff from lyxfunctional where approp.
8934         * Make file changes to use partial linking (lets test this now...)
8935
8936 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8937
8938         * Chktex.C:
8939         * buffer.C:
8940         remove #include "support/syscontr.h" as it's redundant. Always has been.
8941
8942         * Chktex.C:
8943         * LaTeX.C:
8944         * LyXSendto.C:
8945         * converter.C:
8946         * lyx_cb.C:
8947         * vc-backend.C:
8948         change Systemcalls::System to Systemcalls::Wait and
8949         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8950         No change of functionality, just reflects the stripped down Systemcalls
8951         class.
8952
8953 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8954
8955         * debug.[Ch]: add a GRAPHICS type to the enum.
8956
8957 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8958
8959         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8960
8961         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8962         there is an inset.
8963
8964 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8967         match the changes below.
8968
8969         * text2.C (toggleInset): if there is not editable inset at cursor
8970         position, try to see if cursor is _inside_ a collapsable inset
8971         and close it.
8972
8973 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8974
8975         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8976         document menu has a nice checkbox
8977
8978 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8979
8980         * lyxlength.C (asLatexString): change PW to output as percent of
8981         \textwidth.
8982
8983         * lengthcommon.C: change '%' to 't%'
8984
8985         * lyxfunc.C (dispatch): a few comments from Martin
8986
8987 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8988
8989         * WorkArea.h:
8990         * WorkArea.C:
8991         * BufferView_pimpl.h:
8992         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8993           the X selection.
8994
8995 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * vspace.C (inPixels): fix compiler warning
8998
8999 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * lyxfunc.C (getStatus): fix status message for disabled commands.
9002
9003 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * BufferView_pimpl.C: fix crash on close buffer
9006         during selection (#227)
9007
9008 2002-01-27  Herbert Voss  <voss@lyx.org>
9009
9010         * buffer.C: link old Figure to new graphic inset
9011
9012 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9013
9014         * FontLoader.C (getFontinfo): Change the latex font names in order
9015         to match the names of type1inst.
9016
9017 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9018
9019         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9020
9021         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9022         (extchanged): ditto
9023         (ext_exist): ditto
9024         (remove_files_with_extension): ditto
9025         (remove_file): ditto
9026         (write): ditto
9027
9028         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9029         document is smaller than the work area height. Do not initialize
9030         static variables to 0.
9031
9032 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9035
9036         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9037         LFUN_LAYOUT_PARAGRAPHS.
9038
9039         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9040         tabular. It is possible to provide a possible cell, which will
9041         typically be the actcell from the corresponding insettabular
9042
9043         * lyxfunc.C (getStatus): small cleanup; disable
9044         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9045         true
9046
9047 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9048
9049         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9050
9051         * paragraph.C (startTeXParParams):
9052         (endTeXParParams): new methods. The LaTeX code to
9053         start/end paragraph formatting
9054         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9055         empty (fixes bug #200)
9056
9057         * vspace.C (inPixels): adapt to the change below
9058         (inPixels): [later] more cleanups (remove unused variables)
9059
9060         * lyxlength.C (inPixels): change to use a width and a height as
9061         parameter.
9062
9063 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9064
9065         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9066         Replaced with \paperwidth
9067
9068         * DepTable.C (insert): add std:: qualifier
9069
9070 2002-01-18  Allan Rae  <rae@lyx.org>
9071
9072         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9073         updated also?
9074
9075         * text.C (drawInset): Turned out I didn't know enough about how
9076         rebreaking worked.  This fixes most of the redraw problems.  I see
9077         an occasional cursor trail when a line is broken now and the cursor
9078         placement can seem out by a few pixels also after a rebreak.
9079
9080 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9081
9082         * buffer.C (parseSingleLyXformat2Token): update because minipage
9083         width is now a LyXLength
9084
9085         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9086
9087         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9088         math insets
9089
9090 2002-01-17  Juergen Vigna  <jug@sad.it>
9091
9092         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9093
9094         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9095         is set correctly and the inset is updated correctly.
9096
9097 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9098
9099         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9100         the beginning of the loop.
9101
9102 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9103
9104         * lyxrc.C: improve help for use_scalable_fonts
9105
9106 2002-01-17  Allan Rae  <rae@lyx.org>
9107
9108         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9109
9110 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9111
9112         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9113         make sure to set their inset_owner to the right value (bug #171)
9114
9115 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9116
9117         * DepTable.h
9118         * DepTable.C: Implement mtime checking to reduce time spent doing
9119         CRCs.
9120
9121 2002-01-16  Juergen Vigna  <jug@sad.it>
9122
9123         * tabular.C (GetAdditionalHeight): one of error fixed.
9124
9125         * lyxrc.C (output): small fix in writing use_pspell.
9126
9127 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9128
9129         * sp_base.h: #include LString.h
9130
9131 2002-01-16  Allan Rae  <rae@lyx.org>
9132
9133         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9134         Can someone check this please?
9135
9136         * text.C (drawInset): It was possible that p.row would be removed by
9137         breakAgainOneRow upsetting a few other settings.  There may be another
9138         small tweak possible by setting need_break_row = 0 when p.row has been
9139         removed but I don't know enough about the logic here.
9140
9141 2002-01-15  Allan Rae  <rae@lyx.org>
9142
9143         * text.C (insertChar): removed conditional truism.
9144
9145         * BufferView2.C (removeAutoInsets): More tweaks.
9146         cur_par_prev could be a stray pointer.  Check for trailing empty line
9147         in case last line was cur_par and only had an error inset on it.
9148
9149 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9150
9151         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9152         absolute
9153
9154         * vc-backend.C (most methods):
9155         * exporter.C (Export):
9156         * converter.C (convert):
9157         (runLaTeX):
9158         * LyXSendto.C (SendtoApplyCB):
9159         * lyxfunc.C (dispatch):
9160         (menuNew):
9161         (open):
9162         (doImport):
9163         * lyx_cb.C (AutoSave):
9164         (InsertAsciiFile):
9165         * BufferView_pimpl.C (MenuInsertLyXFile):
9166         * buffer.C (runChktex): use Buffer::filePath().
9167
9168         * buffer.h: rename filename to filename_; rename filepath to
9169         filepath_ and make it private
9170         (filePath): new method
9171
9172         * buffer.C (writeFile): use fileName()
9173         (getLatexName):
9174
9175         * lyx_main.C (init): fix starting  of LyX when the binary is a
9176         link from so,ewhere else.
9177
9178         * minibuffer.C: include <cctype> for isprint
9179
9180 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9181
9182         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9183         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9184         name clash with InsetCollapsable's width function.
9185
9186 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9187
9188         * lastfiles.C: include <iterator>
9189
9190 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9191
9192         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9193         std::count.
9194
9195         * buffer.C (makeLaTeXFile): ditto.
9196         Also make loop operation more transparent.
9197
9198 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9199
9200         * ToolbarDefaults.C: remove trailing comma closing namespace.
9201
9202         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9203
9204         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9205         as in WorkArea.
9206
9207         * trans.C (Load): comment out unused variable, allowed.
9208
9209 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9210
9211         * minibuffer.[Ch] (append_char): new method to recieve input from the
9212         drop-down completion browser. If a key was pressed, then recieve this
9213         char and append it to the existing string.
9214         (peek_event): modify the positioning data passed to the completion
9215         browser so that it can be placed above the minibuffer rather than below.
9216 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9217
9218         * LyXAction.C (init): alloe error-next for readonly documents.
9219
9220         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9221         count.
9222
9223 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * bufferlist.C (readFile): create the buffer _after_ checking that
9226         the file exists.
9227
9228         * lyxfunc.C (verboseDispatch): fix handling of arguments
9229
9230         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9231
9232         * lyxrc.C: use string::erase() instead of initializing to "".
9233
9234
9235 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9236
9237         * BufferView_pimpl.h:
9238         * BufferView_pimpl.C:
9239         * WorkArea.h:
9240         * WorkArea.C:
9241         * text2.C: tell X when we have made a selection for copying
9242
9243 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9244
9245         * BufferView_pimpl.C (MenuInsertLyXFile):
9246         * lyxfunc.C (menuNew):
9247         (open):
9248         (doImport): add shortcuts to directory buttons
9249
9250         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9251         open a float)
9252
9253         * lyxfunc.C (setStatusMessage):
9254         (getStatusMessage): new methods
9255         (getStatus):use setStatusMessage instead of setErrorMessage
9256         (dispatch): when function is disabled, set error message here
9257         [instead of in getStatus previously]
9258
9259         * BufferView_pimpl.C (workAreaButtonRelease): update
9260         toolbar/menubar here too.
9261
9262 2002-01-13  Allan Rae  <rae@lyx.org>
9263
9264         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9265         Now seems indestructible.  Remaining task is to audit all other
9266         code affected by deleteEmptyParagraphMechanism.  One small quirk
9267         left is that an empty document with an error in the preamble can
9268         be made to report an error but no error box appears.  I don't know
9269         where it goes.
9270         (removeAutoInsets): Improved comments.
9271
9272 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9273
9274         * Thesaurus.h:
9275         * Thesaurus.C: update for Aiksaurus 0.14
9276
9277 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * text2.C (firstParagraph): removed member function, all uses
9280         replaces with ownerParagraph
9281         (redoParagraphs): here
9282         (updateInset): here
9283         (toggleAppendix): here
9284         * BufferView2.C (insertErrors): here
9285         (setCursorFromRow): here
9286
9287 2002-01-13  Allan Rae  <rae@lyx.org>
9288
9289         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9290         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9291         There is still a way to segfault this although you may have to do this
9292         multiple times: Have an InsetERT with an unknown command in it.
9293         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9294         <down-arrow>, <Enter> again, View->DVI, BANG!
9295
9296         * text2.C (setCursor):
9297         (deleteEmptyParagraphMechanism):
9298         * lyxtext.h (setCursor):
9299         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9300         Making use of the return value may help fix other bugs.
9301
9302 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9303
9304         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9305
9306         * LyXView.C (updateMenubar): call MenuBar::update here
9307         (updateToolbar): but not here
9308         (showState): do not update toolbar/menubar
9309
9310         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9311         should need to care about that.
9312
9313         * lyxfunc.C (verboseDispatch): simplify a bit
9314         (getStatus): have a version which takes a pseudoaction, and
9315         another which requires a (kb_action,string).
9316
9317         * LyXAction.C (retrieveActionArg): make it work also when action
9318         is not a pseudo-action.
9319         (getActionName): simplify a bit
9320         (helpText):
9321
9322 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9323
9324         * lyxfunc.C (verboseDispatch): new families of methods with
9325         several ways to specify a command and a bool to indicate whether
9326         the command name and shortcut should be displayed in minibuffer
9327         (eventually, we could extend that to a finer bitmask like
9328         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9329         (dispatch): the pristine dispatch command which just, well,
9330         dispatchs! Note it still sets its result to minibuffer; I'm not
9331         sure we want that.
9332
9333         * lyxfunc.h: remove setHintMessage
9334
9335         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9336
9337 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9338
9339         * BufferView_pimpl.C (specialChar): delete new inset if we have
9340         not been able to insert it.
9341
9342         * kbmap.C: revert to using int instead of kb_action, since all we
9343         are dealing with is pseudo-actions.
9344
9345         * LyXAction.C (searchActionArg): change to return int instead of
9346         kb_action, since the result is a pseudoaction.
9347
9348 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9349
9350         * buffer.C (insertErtContents): Fix (partially) the font bug.
9351
9352 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9353
9354         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9355         as the other one is broken on my machine!
9356
9357 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9358
9359         * commandtags.h:
9360         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9361
9362 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9363
9364         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9365         reflect their actual use. Provide compatibility code for older lyxrc
9366         files.
9367
9368         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9369         FL_NORMAL_STYLE.
9370         change names of popup font variables in line with the changes to lyxrc.C
9371
9372 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * buffer.C (asciiParagraph): avoid outputing a word twice after
9375         an inset.
9376
9377         * lyxrc.C (getDescription): document that document_path and
9378         template_path can be empty.
9379
9380 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9381
9382         * LaTeXFeatures.C (getMacros):
9383         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9384
9385         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9386
9387         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9388         getPackages.
9389         (getPackages): rename feature "floats" to "float". Use an array to
9390         iterate over 'simple' features (i.e. just a \usepackage). Add
9391         handling of "amsmath" (renamed from "amsstyle").
9392
9393 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9394
9395         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9396         features list.
9397
9398 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9399
9400         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9401         FuncStaus::FuncStatus & FuncStaus::some_method().
9402
9403 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9404
9405         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9406         of the func_satus stuff. Edited and massaged in various ways by
9407         JMarc.
9408
9409         * lyxfunc.C (getStatus): use FuncStatus
9410
9411 2002-01-08  Juergen Vigna  <jug@sad.it>
9412
9413         * text.C (nextBreakPoint): use function Inset::isChar().
9414
9415         * paragraph.C (TeXOnePar): use function
9416         Inset::forceDefaultParagraphs.
9417
9418         * buffer.C (latexParagraphs): use function
9419         Inset::forceDefaultParagraphs.
9420
9421 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9422
9423         * lyx_gui.C (init): set the style of the menu popups to
9424         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9425
9426 2002-01-07  Juergen Vigna  <jug@sad.it>
9427
9428         * text.C (setHeightOfRow): small fix
9429         (prepareToPrint): don't look at alignment if we don't have the place
9430         for doing it.
9431
9432 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9433
9434         * box.C: New file. Move the Box methods and functions out of box.h,
9435         following Lars' suggestion.
9436
9437 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9438
9439         * box.h: #include "support/LOstream.h", needed for inlined function.
9440
9441         * lyxtextclass.C:
9442         * lyxtextclasslist.C: added some using std declarations.
9443
9444 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9445
9446         * box.h: make signed dimensions to allow insets wider than
9447           the screen (bug #162)
9448
9449         * BufferView_pimpl.C: add some insetHit debug
9450
9451 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * vc-backend.C: add FIXME
9454
9455 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * lyxfunc.C (getStatus): enable code for showing math font status
9458         in toolbar/menu.
9459
9460 2002-01-07  Juergen Vigna  <jug@sad.it>
9461
9462         * text.C (nextBreakPoint): removed debug output not needed anymore.
9463
9464 2002-01-06  Juergen Vigna  <jug@sad.it>
9465
9466         * text.C (nextBreakPoint): fixed up this function we had this bug
9467         since ever but now hopefully we break row better.
9468         (insertChar): we have to check if an inset is the next char as it
9469         could now happen that a large inset is causing a break.
9470
9471 2002-01-05  Juergen Vigna  <jug@sad.it>
9472
9473         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9474         if it doesn't like to be drawed.
9475
9476 2002-01-04  Juergen Vigna  <jug@sad.it>
9477
9478         * BufferView2.C (lockInset): forgot to set a cursor.
9479
9480         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9481
9482 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9483
9484         * FormMathsPanel.C:
9485         * FormMathsPanel.h
9486         * MathsSymbols.C:
9487         * form_maths_panel.C:
9488         * form_maths_panel.h:
9489         * form_maths_panel.fd: implemented sub- and super- buttons in math
9490         panel.
9491
9492         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9493         (or ^ space) to be used as in TeX (req'd by André).
9494
9495         * lyxfunc.C: Allow ^ and _ again to be used both as
9496         super/subscript (mathed) and as themselves (in text).
9497
9498 2002-01-03  Allan Rae  <rae@lyx.org>
9499
9500         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9501         "LyX" or the filename of the current buffer if it has one.  This is a
9502         modified form of John Levon's patch.
9503
9504         * XFormsView.C (setWindowTitle): also set icon title.
9505
9506         * LyXView.h (setWindowTitle): signature changed.
9507         * XFormsView.h (setWindowTitle): ditto.
9508
9509 2002-01-02  Juergen Vigna  <jug@sad.it>
9510
9511         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9512
9513 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9514
9515         * screen.C (topCursorVisible): introduce a temp var for
9516         text->cursor.row(), handle the case where this row is null. (kindo
9517         hachish)
9518
9519         * text2.C (setCursor): add a couple of asserts.
9520
9521         * paragraph.h (inset_iterator): add -> operator
9522
9523         * paragraph.[Ch] (autoDeleteInsets): remove member function
9524
9525         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9526         cursor pos correctly and handle inset deletion by itself.
9527         (insertErrors): move iterator declaration out of for expression
9528
9529         * lyxtextclass.C: add <algorithm>
9530
9531         * Makefile.am: added the new files to sources, removed layout.C
9532
9533         * layout.C: removed file
9534
9535         * layout.h: remove LYX_DUMMY_LAYOUT
9536
9537         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9538         layout.
9539
9540         * lyxlayout.[Ch]:
9541         * lyxtextclass.[Ch]:
9542         * lyxtextclasslist.[Ch]: new files
9543
9544         * include order changes to a lot of files, also changes because of
9545         the six new files.
9546
9547 2001-12-27  Juergen Vigna  <jug@sad.it>
9548
9549         * buffer.C (asciiParagraph): more fixes.
9550
9551         * tabular.C (ascii): make ascii export support export of only the
9552         data separated by a column-delimiter.
9553         (ascii): better support for ascii export.
9554
9555         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9556
9557 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9558
9559         * tabular_funcs.C: use a "using std::getline" instead of the
9560         previous fix from Angus (necessary for cxx + lyxstring)
9561
9562 2001-12-24  Juergen Vigna  <jug@sad.it>
9563
9564         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9565
9566         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9567         problems. First check a minipage also if we have some ert-contents
9568         (not only on par->size(), second set the right depth of the paragraph
9569         on the relink to the root-paragraph-list!
9570
9571         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9572         which then did not anymore update the main paragraphs on undo/redo!
9573
9574 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9575
9576         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9577         code. Support all font-changing funcs (even those which are not in
9578         menu currently). Support for reporting font settings in
9579         mathed (disabled until Andre provides a function on mathed's side).
9580
9581         * func_status.h (toggle): small helper function to set toggle
9582         state on a flag.
9583
9584 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9585
9586         * tabular_funcs.C: getline -> std::getline
9587
9588 2001-12-21  Juergen Vigna  <jug@sad.it>
9589
9590         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9591         accessed and could be 0 (I couldn't generate this but it seems
9592         Michael could!).
9593
9594 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9595
9596         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9597         * tabular_funcs.h: here and include iosfwd
9598
9599 2001-12-20  Juergen Vigna  <jug@sad.it>
9600
9601         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9602         inside inset but undo_par was.
9603
9604 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * Thesaurus.C: always include <config.h> in sources.
9607
9608         * Painter.h:
9609         * lyxlookup.h:
9610         * box.h: do not include <config.h> in header files
9611
9612         * text.C (paintLastRow): remove unused variable
9613
9614         * text.C (transformChar):
9615         (insertChar):
9616         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9617
9618         * Painter.C (text):
9619         * font.C (width): rewrite to use uppercase() instead of
9620         islower/toupper.
9621
9622         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9623
9624 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9625
9626         * lyxfind.C: clean up of find failure position change
9627
9628 2001-12-20  Juergen Vigna  <jug@sad.it>
9629
9630         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9631
9632         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9633         (TeXRow): added to LaTeX a single tabular row.
9634         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9635         (Latex): simplified and finally good LT-h/f support.
9636         (various_functions): just small adaptions for LT-h/f support.
9637
9638         * tabular_funcs.[hC]: added and moved here all not classfunctions
9639         of LyXTabular.
9640
9641 2001-12-19  Juergen Vigna  <jug@sad.it>
9642
9643         * tabular.[Ch]: better support for longtabular options (not finished
9644         yet!)
9645
9646 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * text.C (paintLastRow): use the label font instead of the font of
9649         the last character to compute the size of *_BOX. This makes more
9650         sense and avoids a crash with empty paragraphs.
9651         Use Painter::rectangle to draw EMPTY_BOX.
9652
9653 2001-12-19  Juergen Vigna  <jug@sad.it>
9654
9655         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9656         the paragraphs if the replaced paragraph is not the first one!
9657         Tried to delete not used paragraphs but does not work yet so for
9658         now it's inside #ifdef's and by default off!
9659
9660 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9661
9662         * MenuBackend.C: include "lyx_main.h" instead of declaring
9663         lastfiles (actually was declared as LastFiles* instead of a
9664         scoped_ptr).
9665
9666 2001-12-17  Juergen Vigna  <jug@sad.it>
9667
9668         * tabular.C (AppendColumn): applied John's fix
9669
9670 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9671
9672         * BufferView.h:
9673         * BufferView.C:
9674         * BufferView_pimpl.h:
9675         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9676
9677         * Makefile.am:
9678         * box.h: new start of class for above
9679
9680         * lyxfunc.C: ignore space-only minibuffer dispatches.
9681           Show the command name when it doesn't exist
9682
9683         * minibuffer.C: don't add empty lines to the history
9684
9685         * minibuffer.C: add a space on dropdown completion
9686
9687 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * text.C: fix line above/below drawing in insets
9690
9691 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9692
9693         * lyxlength.C (LyXLength): Initialize private variables.
9694
9695 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9696
9697         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9698         when inserting error insets.
9699
9700 2001-12-13  Juergen Vigna  <jug@sad.it>
9701
9702         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9703         actually sometimes the before-paragraph.
9704         (setUndo): don't clear the redostack if we're not actually undoing!
9705
9706 2001-12-06  Juergen Vigna  <jug@sad.it>
9707
9708         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9709         and fixed redoing of main paragraph, so we can use it now ;)
9710
9711         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9712
9713 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9716         Juergen's request
9717
9718 2001-12-13  André Pönitz <poenitz@gmx.net>
9719
9720         * undostack.[Ch]:
9721         * undo_func.C: minor cleanup
9722
9723 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9724
9725         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9726         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9727         font in urw-fonts package which is marked as -urw-fontspecific and
9728         does not work (incidentally, changing the encoding in the
9729         fonts.dir of this package to -adobe-fontspecific fixes the
9730         problem).
9731
9732         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9733         is a crash when undoing first paragraph (Juergen, please take a
9734         look). THis does not mean the undo fix is wrong, just that it
9735         uncovers problems.
9736
9737         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9738         the (Paragraph*) version when needed instead of duplicating the
9739         code.
9740
9741         * text.C (workWidth): use Inset::parOwner to find out where the
9742         inset has been inserted. This is a huge performance gain for large
9743         documents with lots of insets. If Inset::parOwner is not set, fall
9744         back on the brute force method
9745
9746         * paragraph_pimpl.C (insertInset):
9747         * paragraph.C (Paragraph):
9748         (cutIntoMinibuffer): set parOwner of insets when
9749         inserting/removing them
9750
9751         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9752
9753 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9754
9755         * commandtags.h:
9756         * LyXAction.C:
9757         * lyx_main.C:
9758         * lyxfunc.C:
9759         * mathed/formulabase.C:
9760         * mathed/math_cursor.[Ch]:
9761         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9762
9763
9764 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * lyxlength.[Ch] (operator!=): new function
9767
9768 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9769
9770         * text.C (workWidth): use Inset::parOwner to find out where the
9771         inset has been inserted. This is a huge performance gain for large
9772         documents with lots of insets. If Inset::parOwner is not set, fall
9773         back on the brute force method
9774
9775         * paragraph_pimpl.C (insertInset):
9776         * paragraph.C (Paragraph):
9777         (cutIntoMinibuffer): set parOwner of insets when
9778         inserting/removing them
9779
9780         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9781
9782 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * tabular-old.C (getTokenValue):
9785         * tabular.C (getTokenValue):
9786         (write_attribute): new versions for LyXLength
9787         (everywhere): adjust the use of widths
9788
9789         * tabular.h: change the type of widths from string to LyXLength
9790
9791 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9792
9793         * paragraph.C: fixed missing line number count when exporting
9794         Environments to LaTeX file
9795
9796         * buffer.C: added informational message for checking line numbers.
9797
9798 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9799
9800         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9801         paragraph, do the 'double space' part, but not the 'empty
9802         paragraph' one.
9803
9804         * text.C (workWidth): small optimization
9805         (getLengthMarkerHeight): use minimal size for negative lengths.
9806
9807 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9808
9809         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9810
9811         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9812
9813 2001-12-11  André Pönitz <poenitz@gmx.net>
9814
9815         * FontLoader.C:
9816         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9817
9818 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * text2.C: keep selection on a setFont()
9821
9822 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9823
9824         * lyx_cb.C: another bv->text misuse, from insert label
9825
9826 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9827
9828         * kbsequence.h:
9829         * kbsequence.C: re-instate nmodifier mask
9830
9831 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * lyx_main.h: make lyxGUI private.
9834
9835 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * lyxfind.C: place the cursor correctly on failed search
9838
9839 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * text.C (getLengthMarkerHeight): for small heights, the arrows
9842         are not always on top/bottom of the text
9843         (drawLengthMarker): smaller arrows; take the left margin in
9844         account; draw also vfills.
9845         (paintFirstRow):
9846         (paintLastRow): remove special code for vfill and standard spaces,
9847         since everything is handled in drawLengthMarker now.
9848
9849 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9850
9851         * buffer.C (insertErtContents): try to handle font and language
9852         interaction a bit better.g
9853
9854         * ColorHandler.C (updateColor): change the hash to cover the whole
9855         LColor enum, ws cleanup
9856         (getGCLinepars): ditto
9857         (getGCLinepars): only lookup in the linecache once.
9858
9859 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9860
9861         * iterators.C (operator++): Make the iterator more robust
9862
9863         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9864         (John's patch)
9865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9866
9867 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9868
9869         * lyxtext.h:
9870         * text.C: better added space drawing
9871
9872 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * LyXView.C:
9875         * BufferView2.C: fix layout combo update on inset unlock
9876
9877 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * Makefile.am: don't compile unused files
9880
9881 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * lyxfunc.C:
9884         * commandtags.h:
9885         * LyXAction.C: remove old LFUN_LAYOUTNO
9886
9887 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * paragraph_pimpl.h:
9890         * paragraph_pimpl.C: isTextAt() doesn't need font param
9891
9892 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9893
9894         * lyxlex.h:
9895         * lyxlex.C: little cleanup
9896
9897 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * BufferView_pimpl.C: fix insertAscii for insets
9900
9901 2001-12-05  Juergen Vigna  <jug@sad.it>
9902
9903         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9904         set the right font on the "multi" paragraph paste!
9905
9906 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9907
9908         * trans_decl.h:
9909         * trans_mgr.[Ch]:
9910         * trans.[Ch]:
9911         * lyxgluelength.C:
9912         * lyxlength.C: remove out-commented code.
9913
9914         * BufferView_pimpl:
9915         * CutAndPaste.C:
9916         * DepTable.C:
9917         * buffer.C:
9918         * chset.C:
9919         * lastfiles.C:
9920         * lyxlex.C:
9921         * lyxlex_pimpl.C:
9922         * lyxserver.C:
9923         * screen.C:
9924         * tabular-old.C:
9925         * tabular.C:
9926         * text.C:
9927         * trans_mgr.C:
9928         * vc-backend.C: change "while(" to "while ("
9929
9930         * lyxlength.[Ch]: add zero function to check if length is zero or
9931         not
9932         * lyxgluelength.C: use it
9933
9934 2001-12-05  Allan Rae  <rae@lyx.org>
9935
9936         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9937         Works for 2.95.3, from what I understand of Garst's reports this should
9938         work for other g++ versions.  We're screwed if the abs(int) definition
9939         changed between bugfix releases of gcc.
9940
9941 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9942
9943         * text.C: fix chapter label offset !
9944
9945 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * lyxtext.h:
9948         * text.C: fix hfill at end of line, clean up
9949
9950 2001-12-04  Juergen Vigna  <jug@sad.it>
9951
9952         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9953         that we force an update of the inset and it's owners if neccessary.
9954
9955 2001-12-03  Juergen Vigna  <jug@sad.it>
9956
9957         * text.C (rowLast): simplified code
9958
9959 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * lyxfunc.C: fix show options on timeout
9962
9963 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9964
9965         * screen.C (topCursorVisible): scroll half a page when the cursor
9966         reached top of bottom of screen
9967
9968 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * minibuffer.C: deactivate on loss of focus
9971
9972 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * vspace.[Ch] (operator!=): add operator.
9975
9976 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * BufferView_pimpl.C: refuse to open an inset when
9979         there's a selection.
9980
9981 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * BufferView_pimpl.C: allow to click on RHS of full row insets
9984
9985 2001-11-30  Juergen Vigna  <jug@sad.it>
9986
9987         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9988         insets for undo reasons.
9989
9990 2001-11-28  André Pönitz <poenitz@gmx.net>
9991
9992         * vspace.[Ch]: cosmetical changes
9993
9994 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * LyXAction.h:
9997         * LyXAction.C:
9998         * lyxfunc.h:
9999         * lyxfunc.C:
10000         * kbmap.h:
10001         * kbmap.C:
10002         * lyxrc.C:
10003         * kbsequence.h:
10004         * kbsequence.C: part re-write of old kb code
10005
10006         * Painter.C:
10007         * WorkArea.C: remove Lgb_bug_find_hack
10008
10009 2001-11-30  José Matos <jamatos@fep.up.pt>
10010
10011         * buffer.C (makeDocBookFile): add a comment to point a hack.
10012         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10013         Fixed a double write of labels.
10014
10015 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10016
10017         * LaTeX.C:
10018         * LaTeX.h Fixed bug in LaTeX class where it would not
10019         re-run latex if no depfiles were changed, but the .dvi was removed.
10020
10021 2001-11-28  André Pönitz <poenitz@gmx.net>
10022
10023         * all the files from the change on 2001/11/26:
10024         use lyx::layout_type instead of LyXTextClass::size_type
10025         use lyx::textclass_type instead of LyXTextClassList::size_type
10026
10027 2001-11-29  Juergen Vigna  <jug@sad.it>
10028
10029         * text.C: added support for paragraph::isFreeSpacing()
10030
10031         * buffer.C: same as above
10032
10033         * paragraph.h: inserted isFreeSpacing() function to enable
10034         FreeSpacing inside InsetERT.
10035
10036         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10037         of the paragraph's in the cut/copy buffer to 0!
10038
10039         * text2.C (removeRow): remove the assert as it can!
10040
10041         * lyxtext.h: added helper function firstRow returning firstrow and
10042         made firstrow private again.
10043
10044         * BufferView2.C (lockInset): don't relock if we're already locked!
10045
10046         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10047         the only paragraph.
10048         (removeRow): added Assert::(firstrow)
10049
10050         * debug.C: forgot to add INSETTEXT here.
10051
10052 2001-11-28  Juergen Vigna  <jug@sad.it>
10053
10054         * sp_spell.C (initialize): changed error text to more general
10055         spellchecker command use (not only ispell!)
10056
10057         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10058
10059         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10060
10061 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * vspace.C: initialise lyxgluelength on failure
10064
10065 2001-11-28  Allan Rae  <rae@lyx.org>
10066
10067         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10068         declaration & definition that looks like a function declaration.
10069
10070 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10071
10072         * BufferView2.C (copy):
10073         (copyEnvironment): do not clear the selection when doing a copy.
10074
10075         * text.C (paintFirstRow): compilation fix
10076
10077 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10078
10079         * tabular.C (Latex): correct line count when writing latex.
10080
10081 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * paragraph_pimpl.h:
10084         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10085           bug a bit
10086
10087 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * text.C:
10090         * LColor.h:
10091         * LColor.C: change vfillline->added_space
10092
10093         * text.C: add markers and text for added space
10094
10095         * vspace.C: fix comment
10096
10097 2001-11-28  André Pönitz <poenitz@gmx.net>
10098
10099         * paragraph.C: whitespace changes
10100         * all the other files from the change on 2001/11/26:
10101         change *::pos_type into lyx::pos_type
10102
10103 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10104
10105         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10106         language of the document when inserting error insets.
10107
10108 2001-11-26  André Pönitz <poenitz@gmx.net>
10109
10110         * BufferView_pimpl.[Ch]:
10111         *       CutAndPaste.C:
10112         * buffer.[Ch]:
10113         * lyxcursor.[Ch]:
10114         * lyxfind.C:
10115         * lyxfunc.C:
10116         * lyxrow.[Ch]:
10117         * paragraph.[Ch]:
10118         * paragraph_pimpl.[Ch]:
10119         * sp_spell.C:
10120         * text.C:
10121         * text2.C: reduce header dependencies, introduce type for positions
10122
10123 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * <various>: change to use Alert.h
10126
10127 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10130         when encountering an unknown token.
10131         (readLyXformat2): Show an error message if there were unknown tokens.
10132
10133 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * BufferView2.C:
10136         * BufferView_pimpl.C:
10137         * buffer.C:
10138         * paragraph.h:
10139         * text.C:
10140         * text2.C: use par->isInset()
10141
10142 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10143
10144         * paragraph_pimpl.h:
10145         * paragraph_pimpl.C: cleanup
10146
10147 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10148
10149         * text2.C (removeRow):
10150         * text.C (setHeightOfRow): remove useless (and costly) call to
10151         getRow.
10152
10153 2001-11-20  Allan Rae  <rae@lyx.org>
10154
10155         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10156         Now need Inset*::checkInsertChar() to return true for appropriate
10157         cases so that the characters in the minibuffer will actually be
10158         inserted.
10159
10160 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10161
10162         * text.C: change the order of the includes.
10163         (workWidth): initialize it at once.
10164         (workWidth): make maxw unsigned
10165         (setHeightOfRow): remove unused variable (inset)
10166         (selectSelectedWord): remove unused variable (inset)
10167         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10168
10169 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10170
10171         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10172         server is not running.
10173         (openConnection):
10174         (closeConnection): add debug info when server is disabled.
10175
10176         * ColorHandler.C (getGCForeground): send debug message to GUI
10177         channel.
10178
10179         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10180
10181         * kbmap.C (bind): modify because return conventions of
10182         kb_sequence::parse have changed.
10183
10184         * kbsequence.C (parse): only ignore spaces and not any stupid
10185         control character. This avoids tests like s[i] <= ' ', which are
10186         guaranteed to fail with 8bit characters and signed chars.
10187         Change return code to string::npos when there have been no error
10188         (0 was a bad idea when error is at first character)
10189
10190 2001-11-14  José Matos  <jamatos@fep.up.pt>
10191
10192         * buffer.h:
10193         * buffer.C (simpleDocBookOnePar): removed unused argument.
10194
10195 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10196
10197         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10198         insets which are part of a word. Paragraph::isLetter takes care of
10199         that now. Use Paragraph::isInset to identify insets.
10200         (selectSelectedWord): do not test for hyphenation break.
10201
10202         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10203         that protected spaces are considered as spaces.
10204
10205         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10206         Inset::isLetter.
10207
10208 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10209
10210         * lyxserver.h:
10211         * lyxserver.C: fix it. and small cleanup.
10212
10213 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * BufferView_pimpl.C: use inline helpers
10216
10217         * LaTeXFeatures.h:
10218         * LaTeXFeatures.C: fix typos
10219
10220         * Spacing.h:
10221         * Spacing.C: move spacing_string into class
10222
10223         * ToolbarDefaults.C: move stuff into namespace anon
10224
10225         * layout.h: update enum
10226
10227         * lyxfunc.C: use better debug
10228
10229         * minibuffer.h: fix typo
10230
10231         * debug.h:
10232         * debug.C:
10233         * WorkArea.C: add and use Debug::WORKAREA
10234
10235         * lyxtext.h:
10236         * text.C:
10237         * text2.C: code re-organisation, inline helpers
10238
10239 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10240
10241         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10242         std::vector.empty().
10243
10244 2001-11-09  Allan Rae  <rae@lyx.org>
10245
10246         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10247         '\n's after tables.  Tabular and ERT inset work now makes this no
10248         longer necessary.
10249
10250 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * minibuffer.h:
10253         * minibuffer.C: fix crash, improve drop-down completion
10254
10255 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * lyxserver.h:
10258         * lyxserver.C: invalidate fd's when doing endPipe()
10259
10260 2001-11-08  José Matos  <jamatos@fep.up.pt>
10261
10262         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10263         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10264
10265         * paragraph.h:
10266         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10267
10268 2001-11-07  José Matos  <jamatos@fep.up.pt>
10269
10270         * buffer.h:
10271         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10272         const qualifier.
10273
10274         * buffer.C (sgmlOpenTag):
10275         * buffer.C (sgmlCloseTag): removed debug info.
10276
10277         * buffer.h (sgmlOpenTag):
10278         * buffer.h (sgmlCloseTag): made public.
10279
10280 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10281
10282         * buffer.C (saveParamsAsDefaults):
10283         * lyx_cb.C (MenuLayoutSave): remove
10284
10285         * LyXAction.C (init):
10286         * commandtags.h:
10287         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10288
10289 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10290
10291         * buffer.C (setPaperStuff): removed from here...
10292
10293         * bufferparams.C (setPaperStuff): ... and moved there.
10294
10295 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * minibuffer.h:
10298         * minibuffer.C:
10299         * XFormsView.C: add support for drop-down completion
10300
10301 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10304         commands.
10305
10306 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10307
10308         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10309         disabled.
10310
10311 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10312
10313         * lyx_main.C: change ref to known bugs
10314
10315 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10316
10317         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10318         to work around older babel problems.
10319
10320 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10321
10322         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10323
10324 2001-10-24  Juergen Vigna  <jug@sad.it>
10325
10326         * tabular-old.C (ReadOld): below variable changes reflected.
10327
10328         * tabular.[Ch]: added ltType struct for longtable header/footer
10329         defines and changed all instances where they are used. Added
10330         future support for double top/bottom rows.
10331
10332 2001-10-24  José Matos  <jamatos@fep.up.pt>
10333
10334         * buffer.h (docbookHandleCaption):
10335         * buffer.C (docbookHandleCaption): removed unused function.
10336         (makeDocBookFile): moved docbook supported version to v4.1.
10337
10338 2001-10-24  José Matos  <jamatos@fep.up.pt>
10339
10340         * tabular.h:
10341         * tabular.C (docbookRow): new function to export docbook code of a row.
10342         (DocBook): now honors the longtable flags.
10343
10344 2001-10-23  José Matos  <jamatos@fep.up.pt>
10345
10346         * LaTeXFeatures.h:
10347         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10348         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10349
10350         * buffer.C (makeLinuxDocFile):
10351         (makeDocBookFile): reworked the preamble, more clean, and with
10352         support for lyx defined entities. Changed the document declaration
10353         to be more XML friendly.
10354
10355         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10356         if we need to output XML that should be done with a filter.
10357
10358 2001-10-22  Juergen Vigna  <jug@sad.it>
10359
10360         * sp_pspell.h (class PSpell): add alive function needed in the
10361         controller to see if the spellchecker could be started.
10362
10363 2001-10-22  Juergen Vigna  <jug@sad.it>
10364
10365         * buffer.C (insertStringAsLines): modify the font for inserting
10366         chars in certain conditions by calling checkInsertChar(font).
10367
10368 2001-10-19  Juergen Vigna  <jug@sad.it>
10369
10370         * text.C (workWidth): use getRow instead of wrong algorithm.
10371         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10372
10373 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * lyxserver.h:
10376         * lyxserver.C:
10377         * lyx_main.h:
10378         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10379
10380 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10381
10382         * text.C (workWidth): do not search for the exact row when
10383         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10384         optimization for big documents.
10385
10386 2001-10-18  Juergen Vigna  <jug@sad.it>
10387
10388         * text.C (workWidth): new function with added Inset * parameter.
10389
10390 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10391
10392         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10393
10394         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10395         change return type of getColumnNearX.
10396
10397
10398         * text.C (changeRegionCase): use uppercase/lowercase instead of
10399         toupper/tolower.
10400         (leftMargin):
10401         (rightMargin): simplify code by factoring out the uses of
10402         textclasslist.
10403         (labelFill):
10404         (numberOfHfills):
10405         (setHeightOfRow):
10406         (appendParagraph): use Paragraph::size_type
10407
10408 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10409
10410         * vspace.C (asLatexString): add a missing break
10411
10412 2001-10-15  Herbert Voss  <voss@perce.de>
10413
10414         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10415
10416 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10417
10418         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10419         is not available.
10420
10421 2001-10-10  André Pönitz <poenitz@gmx.net>
10422
10423         * lyxfunc.C: removed greek_kb_flag.
10424
10425 2001-10-10  Herbert Voss  <voss@perce.de>
10426
10427         * lyx_main.C: delete global string help_lyxdir.
10428
10429 2001-10-09  Herbert Voss  <voss@perce.de>
10430
10431         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10432
10433         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10434
10435         * lyx_main.C: added global string help_lyxdir.
10436
10437         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10438
10439 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10440
10441         * lyxrc.C (set_font_norm_type): support iso8859-4
10442
10443 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10444
10445         * LaTeX.C (deplog): add another regex for MikTeX
10446
10447 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10448
10449         * lyxrc.C (set_font_norm_type): support iso8859-3
10450
10451 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10452
10453         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10454
10455         * LaTeXFeatures.C: remove special case of french and index
10456
10457         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10458         before \begin{document}). This solves several incompatibilities.
10459
10460 2001-10-03  Garst Reese  <reese@isn.net>
10461
10462         * lyx_cb.C: change CheckTex error msg.
10463
10464 2001-10-03  José Matos  <jamatos@fep.up.pt>
10465
10466         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10467
10468 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * .cvsignore: update
10471
10472         * lyx_main.C (commandLineVersionInfo): use new style version info.
10473
10474         * buffer.C (writeFile):
10475         (makeLaTeXFile):
10476         (makeLinuxDocFile):
10477         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10478
10479         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10480
10481         * version.h: update to use stuff in version.C
10482
10483         * version.C.in: new file. Contains version information determined
10484         at compile time. This is a merging of version.h and
10485         version_info.h.in.
10486
10487 2001-10-03  Juergen Vigna  <jug@sad.it>
10488
10489         * BufferView_pimpl.C (update): don't change "dirty" status in
10490         updateInset call.
10491
10492 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10493
10494         * WorkArea.C (c-tor): re-position version string slightly.
10495
10496 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10497
10498         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10499         revert to previous code.
10500
10501         WorkArea.[Ch]: (show, destroySplash): methods removed.
10502
10503         WorkArea.C: rework code so that it's an amalgam of the codes before and
10504         after the splash screen was moved to WorkArea.
10505
10506 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10507
10508         * lyxrc.C (read):
10509         * vspace.C (inPixels):
10510         (lyx_advance):
10511         * kbmap.C (bind):
10512         * buffer.C (insertStringAsLines):
10513         (asciiParagraph): fix types to be large enough
10514
10515         * lyxlex_pimpl.h: change member status from short to int
10516
10517         * layout.h: fix type of endlabeltype
10518
10519         * kbmap.C (bind):
10520         * kbsequence.C (parse): change return type to string::size_type
10521
10522         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10523         variable
10524
10525         * Bullet.C (bulletSize):
10526         (bulletEntry): do not use short ints as parameters
10527
10528         * BufferView2.C (insertLyXFile): change a char to an int.
10529
10530         * WorkArea.C (WorkArea): remove unneeded floats in computation
10531
10532 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10533
10534         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10535
10536         * paragraph.C (asString): Do not ignore newline/hfill chars when
10537         copying to the clipboard.
10538
10539 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10540
10541         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10542         after a multi-line inset.
10543
10544 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10545
10546         * paragraph.C (validate): Set NeedLyXFootnoteCode
10547
10548 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10549
10550         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10551         and decrease-error to decrease.
10552
10553 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10554
10555         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10556         it more readable (should be equivalent)
10557
10558 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10559
10560         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10561
10562 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10563
10564         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10565         of a cursor (row, etc.) after a character has been deleted
10566         (deleteEmptyParagraphMechanism): call the method above on _all_
10567         cursors held by the LyXText when a double space has been
10568         detected/deleted.
10569
10570 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10571
10572         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10573         pixmap.
10574         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10575
10576         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10577         background. Use greyOut() and the new show() methods to toggle between
10578         the foreground and background. Add code to remove the splash after
10579         its initial showing.
10580
10581         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10582         (create_forms): no longer call Dialogs::showSplash.
10583
10584 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10585
10586         * .cvsignore: add version_info.h
10587
10588 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10589
10590         * version_info.h.in: new file
10591
10592         * Makefile.am: add version_info.h.in
10593
10594         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10595         version_info.h instead of VERSION_INFO
10596
10597 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10598
10599         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10600         The ERT inset now returns string().
10601
10602 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10603
10604         * lyxtext.h, text.C (selectNextWord): renamed as
10605         selectNextWordToSpellcheck.
10606
10607         * text.C (selectNextWordToSpellcheck): Modified to not select
10608         words inside an ERT inset.
10609
10610 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10611
10612         * lyx_cb.C (MenuLayoutSave): change a bit the question
10613
10614         * sp_base.h: include <sys/types.h>
10615
10616 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10617
10618         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10619
10620 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10621
10622         * several files: fix typos in user-visible strings
10623
10624 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10625
10626         * text2.C (pasteSelection): do not set the selection, since it
10627         will be cleared later. Actually, the intent was to fix the way the
10628         selection was set, but I figured rmoving the code was just as good.
10629
10630 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10631
10632         * FontLoader.C (available): Check if font is available without
10633         loading the font.
10634
10635 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10636
10637         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10638
10639 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10640
10641         * lyxrc.[Ch]: added display_graphics variable and associated code.
10642
10643 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10644
10645         * bufferparams.C (hasClassDefaults): new method. Returns true if
10646         the buffer parameters correspond to known class defaults
10647
10648 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10649
10650         * XFormsView.C (show): set minimum size to the main window.
10651
10652 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10653
10654         * text2.C (copySelection):
10655         (cutSelection):
10656         * lyxfind.C (LyXReplace):
10657         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10658         LyXText::selectionAsString.
10659
10660         * paragraph.C (asString): add "label" argument to the second form
10661
10662         * text2.C (selectionAsString): add "label" argument and pass it to
10663         Paragraph::asString.
10664
10665 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10666
10667         * lyx_main.C (commandLineHelp): remove version information
10668
10669 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10670
10671         * lyx_main.C: add -version commandline option
10672
10673 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10674
10675         * paragraph.h: make the optional constructor arg required instead.
10676         some modifications to other files because of this.
10677
10678         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10679
10680         * lyxserver.C (C_LyXComm_callback): make it static
10681
10682         * lyx_main.C (error_handler): make it static
10683
10684         * lyx_gui.C (LyX_XErrHandler): make it static
10685
10686         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10687
10688         * WorkArea.C: make the extern "C" methods static.
10689
10690         * Makefile.am (lyx_LDADD): simplify
10691
10692 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10693
10694         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10695         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10696
10697         * LyXAction.C (init):
10698         * lyxfunc.C (dispatch): associated code removal.
10699
10700 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10701
10702         * lyxfont.h (isSymbolFont): shut off warning
10703
10704         * text.C (setHeightOfRow):
10705         (getVisibleRow): fix crash with empty paragraphs which have a
10706         bottom line
10707
10708 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10709
10710         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10711         code.
10712
10713 2001-09-04  José Matos  <jamatos@fep.up.pt>
10714         * buffer.C
10715         * buffer.h
10716         * tabular.C (docbook): rename docBook method to docbook.
10717
10718 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10719
10720         * Makefile.am: add dependencies to main.o.
10721
10722 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10723
10724         * FontLoader.C (available): Return false if !lyxrc.use_gui
10725
10726 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10727
10728         * FontInfo.C (query):
10729         * converter.C (view):
10730         * importer.C (Import):
10731         * exporter.C (Export): Can not -> cannot.
10732
10733 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * BufferView_pimpl.C: allow to create index inset even if
10736           string is empty
10737
10738 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10739
10740         * buffer.C (getLists): replace boost::tie code with an explicit pair
10741         as boost::tie can break some compilers.
10742
10743         * iterators.h: Added a std:: declaration to the return type of
10744         ParIterator::size.
10745
10746 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10749           case.
10750
10751 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10752
10753         * iterators.[Ch]: New files. Provide paragraph iterators.
10754
10755         * buffer.C (changeLanguage): Use paragraph iterators.
10756         (isMultiLingual): ditto
10757
10758         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10759
10760 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10761
10762         * FontLoader.C: Support for cmr font.
10763
10764 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10765
10766         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10767         (available): New method.
10768
10769         * FontInfo.C (getFontname): Use scalable fonts even when
10770         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10771         found.
10772
10773 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10774
10775         * converter.C (Formats::view): reverted! Incorrect fix.
10776
10777 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10778
10779         * converter.C (Formats::view): only output the -paper option
10780         if the dvi viewer is xdvi, thereby fixing bug #233429.
10781
10782 2001-08-23  Herbert Voss  <voss@perce>
10783
10784         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10785
10786 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10787
10788         * Spacing.h (Spacing): Set space to Default on in the default
10789         constructor.
10790
10791 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * vc-backend.h (RCS::versionString): add RCS to version
10794         (CVS::versionString): add CVS to version
10795
10796         * vc-backend.C (scanMaster): do not add CVS to version.
10797         (scanMaster): do not add RCS to version
10798
10799         * lyxvc.C (versionString): new method
10800
10801         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10802
10803 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10804
10805         * Spacing.C (set): initialize fval
10806
10807 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10808
10809         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10810         " or \.
10811
10812 2001-08-16  Juergen Vigna  <jug@sad.it>
10813
10814         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10815
10816 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * BufferView_pimpl.C:
10819         * figureForm.C:
10820         * lyxtext.h:
10821         * text2.C: setParagraph takes linespacing now
10822
10823 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * LyxAction.C: add internal LFUN_CITATION_INSERT
10826
10827         * LyXView.C: actually apply fix
10828
10829         * bufferlist.C: fix open non-existent file
10830
10831         * lyxfind.C: fix indentation
10832
10833         * lyxfunc.C: remove unneeded assert, fix typo
10834
10835 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * MenuBackend.C: use "Floatname List"
10838
10839 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10840
10841         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10842         when converting LaTeX layout to insetERT.
10843         Generate a non-collapsed float when reading old float
10844
10845 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10846
10847         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10848         ERT insets.
10849
10850 2001-08-13  Juergen Vigna  <jug@sad.it>
10851
10852         * text.C (fill): return 0 instead of 20 as this seems to be the more
10853         correct value.
10854
10855 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10856
10857         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10858         lyxrc.font_norm.
10859
10860 2001-08-13  Juergen Vigna  <jug@sad.it>
10861
10862         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10863         casesensitive off.
10864         (SearchBackward): comment out the unlocking of the inset_owner this
10865         should not be needed!
10866
10867 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * Many files: Remove inherit_language, and add latex_language
10870
10871         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10872         collapsible insets.
10873
10874 2001-08-10  Juergen Vigna  <jug@sad.it>
10875
10876         * text.C (prepareToPrint): fixed hfill-width in draw!
10877
10878         * BufferView2.C (selectLastWord): save the selection cursor as this
10879         now is cleared in the function LyXText::clearSelection!
10880
10881 2001-08-08  Juergen Vigna  <jug@sad.it>
10882
10883         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10884         BACKSPACE type functions.
10885
10886         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10887         is only cutted from the document but not put in the cut-buffer, where
10888         still the old stuff should be.
10889
10890         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10891
10892         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10893
10894         * tabular.C (SetWidthOfCell): fixed special case where the width
10895         was not updated!
10896         (LeftLine): handle '|' in align_special.
10897         (RightLine): ditto
10898         (LeftAlreadyDrawed): ditto
10899         (SetWidthOfCell): ditto
10900
10901 2001-08-07  Juergen Vigna  <jug@sad.it>
10902
10903         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10904
10905 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10906
10907         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10908         * lyxlex.[hC]: ditto
10909
10910 2001-08-06  Juergen Vigna  <jug@sad.it>
10911
10912         * text.C (getVisibleRow): fix up row clearing a bit.
10913
10914 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10915
10916         * minibuffer.C: make sure the X server sees the changes in the input.
10917
10918 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10919
10920         * paragraph.C (getFont): split into...
10921         (getLabelFont): this
10922         (getLayoutFont): and this
10923         * paragraph_pimpl.C (realizeFont): calling this
10924
10925         * text2.C (getFont): split into...
10926         (getLayoutFont): this
10927         (getLabelFont): and this
10928         (realizeFont): all three calling this
10929
10930         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10931         files where used.
10932
10933 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10934
10935         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10936
10937 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10938
10939         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10940         layouts from the Quote inset insertion.
10941
10942 2001-08-03  Juergen Vigna  <jug@sad.it>
10943
10944         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10945
10946         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10947         only if status not is already CHANGED_IN_DRAW (second level).
10948
10949         * text.C (draw): don't set the need_break_row when inside an
10950         InsetText LyXText.
10951
10952 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * buffer.C (parseSingleLyXformat2Token): handle more latex
10955         conversion cases.
10956
10957         * bufferview_funcs.[hC]: change function names to
10958         begin with small char, adjust other files.
10959
10960 2001-08-02  André Pönitz <poenitz@gmx.net>
10961
10962         * lyxfunc.C:
10963         BufferView_pimpl.C: remove broken special code for math-greek
10964
10965 2001-08-02  Juergen Vigna  <jug@sad.it>
10966
10967         * BufferView_pimpl.C (update): redone this function so that we
10968         update the text again if there was a CHANGE_IN_DRAW.
10969
10970         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10971         (drawFromTo): added a new internal bool which is used by draw() and
10972         redraw() function.
10973         (general): some cursor drawing problems fixed.
10974
10975 2001-08-01  Juergen Vigna  <jug@sad.it>
10976
10977         * lyxfind.C (LyXFind): fixed
10978         (SearchForward): ditto
10979         (SearchBackward): ditto
10980
10981         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10982         spurius drawing of the cursor in the main area.
10983
10984         * text2.C (status): small fix which could lead to a segfault!
10985         (clearSelection): remove unneeded BufferView param.
10986
10987 2001-08-01  André Pönitz <poenitz@gmx.net>
10988
10989         * lyxfunc.C: small change due to changed mathed interface
10990
10991 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10992
10993         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10994
10995 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * lyxfunc.c: fail gracefully if file doesn't exist
10998
10999         * LyXSendto.C:
11000         * buffer.C:
11001         * lyxfunc.C:
11002         * BufferView_pimpl.C: IsDirWriteable() proto changed
11003
11004         * LyXView.C: fix updateWindowTitle() to store the last title
11005
11006 2001-07-31  Juergen Vigna  <jug@sad.it>
11007
11008         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11009         the font (wrong since using of Paragraph::highestFontInRange).
11010
11011         * paragraph.C (highestFontInRange): added a default_size parameter.
11012
11013         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11014         (setHeightOfRow): reformat
11015
11016 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * converter.[hC] + affected files: move to (inital-char)lowercase
11019         function names.
11020
11021         * ParagraphParameters.C (ParagraphParameters): remove commented code
11022
11023         * PainterBase.[Ch]: remove commented code
11024
11025         * LaTeXFeatures.h: add "bool floats" for float.sty
11026
11027         * LaTeXFeatures.C (LaTeXFeatures): init floats
11028         (require): handle float
11029         (getPackages): do it with floats
11030
11031 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11032
11033         * BufferView_pimpl.C (Dispatch): improve handling of
11034         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11035
11036         * commandtags.h: #include lyxfont.h here temporarily to avoid
11037         keybinding bug.
11038
11039         * bufferlist.h: include LString.h here.
11040
11041 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11042
11043         * text2.C (getStringToIndex): new method.
11044
11045 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11046
11047         * *: Reduced header file dependencies all over.
11048
11049 2001-07-30  Baruch Even  <baruch@lyx.org>
11050
11051         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11052
11053 2001-07-29  Baruch Even  <baruch@lyx.org>
11054
11055         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11056
11057 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11058
11059         * ParameterStruct.h (endif): add a default constructor to make
11060         sure that all variables is initialized.
11061
11062         * ParagraphParameters.C (ParagraphParameters): adjust
11063
11064 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11065
11066         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11067         index; also, check that there is something to index, and that it
11068         does not span over several paragraphs.
11069         (doubleClick): use WHOLE_WORD_STRICT for double click.
11070
11071         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11072
11073         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11074         scheme.
11075
11076 2001-07-26  Baruch Even  <baruch@lyx.org>
11077
11078         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11079         an InsetFig figure, backwards compatible reading of old figure code.
11080
11081 2001-07-27  Juergen Vigna  <jug@sad.it>
11082
11083         * text2.C: font.realize function adaption.
11084
11085         * text.C (draw): add a warnings lyxerr text if needed.
11086
11087         * layout.C: font.realize function adaption.
11088
11089         * language.C: add inherit_language and implement it's handlings
11090
11091         * bufferview_funcs.C (StyleReset): remove language parameter from
11092         font creation (should be language_inherit now).
11093
11094         * bufferparams.C (writeFile): handle ignore_language.
11095
11096         * paragraph.C (getFontSettings): the language has to be resolved
11097         otherwise we have problems in LyXFont!
11098
11099         * lyxfont.C (lyxWriteChanges): added document_language parameter
11100         (update): removed unneeded language parameter
11101
11102         * paragraph.C (validate): fixed wrong output of color-package when
11103         using interface colors for certain fonts in certain environments,
11104         which should not seen as that on the final output.
11105
11106 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * BufferView_pimpl.C:
11109         * Thesaurus.h:
11110         * Thesaurus.C:
11111         * Makefile.am:
11112         * commandtags.h:
11113         * LyXAction.C: add thesaurus support
11114
11115         * lyxfind.h:
11116         * lyxfind.C: add "once" parameter, for thesaurus, to not
11117           move to the next match
11118
11119 2001-07-26  Juergen Vigna  <jug@sad.it>
11120
11121         * lyxfont.C (realize): honor ignore_language too!
11122         (resolved): ditto.
11123
11124         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11125
11126         * text.C (draw): one place more for ignore_language to not draw
11127         itself!
11128
11129 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11130
11131         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11132
11133 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11134
11135         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11136         the minipage conversion problem.
11137
11138 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11139
11140         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11141         insert an inset.
11142
11143 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11144
11145         * BufferView.h: don't forward declare WorkArea
11146
11147         * BufferView.C: don't include WorkArea.h
11148
11149 2001-07-25  André Pönitz <poenitz@gmx.net>
11150
11151         * commandtags.h:
11152         * LyXAction.C:
11153         * lyxfunc.C:  new LFUN 'math-space'
11154
11155         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11156
11157 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11158
11159         * text2.C (toggleInset): call open/close
11160
11161 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11162
11163         * lyxfunc.C (dispatch): add debug for the disabled case
11164
11165         * font.C (buttonText): make similar to rectText
11166
11167         * buffer.C (readInset): comment out parsing of insetlist and
11168         insttheorem
11169
11170         * PainterBase.C (rectText): small correction
11171
11172         * BufferView_pimpl.C: comment out insettheorem and insetlist
11173         * LyXAction.C: ditto
11174         * commandtags.h: ditto
11175
11176 2001-07-24  Juergen Vigna  <jug@sad.it>
11177
11178         * text.C (draw): honor the ignore_language.
11179
11180         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11181
11182 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11183
11184         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11185         char inset.
11186
11187 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11188
11189         * lyxtext.h: remove unused (and unimplemented) methods
11190
11191 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11192
11193         * text.C (getVisibleRow): honor background color
11194
11195         * PainterBase.h:
11196         * Painter.h: remove default color argument for fillRectangle
11197
11198         * text.C (backgroundColor): new method
11199
11200 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * text.C (getVisibleRow): adjust
11203
11204         * font.[Ch] (rectText): new method, metrics
11205         (buttonText): new method, metrics
11206
11207         * PainterBase.[hC]: make rectText and buttonText always draw and take
11208         fewer paramteres.
11209
11210 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11211
11212         * ToolbarDefaults.C (read):
11213         * MenuBackend.C (read): allow escaping in all strings
11214
11215         * BufferView_pimpl.C (insertAndEditInset): new method.
11216         (Dispatch): use insertAndEditInset whenever appropriate.
11217
11218         * BufferView_pimpl.C (insertNote): removed
11219
11220         * BufferView_pimpl.C (smartQuote): new method, moved from
11221         BufferView; if an insetquote cannot be inserted, insert a '"'
11222         character instead.
11223
11224         * BufferView2.C: remove insertCorrectQuote();
11225
11226         * lyxfunc.C (getStatus): Add support for all remaingin
11227         inset-insert lfuns.
11228
11229         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11230
11231         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11232         command (necessary to pass " as parameter of self-insert.
11233
11234         * text.C (selectWordWhenUnderCursor):
11235         (selectWord): add word_location parameter
11236         (selectWordWhenUnderCursor): same + remove special code for word
11237         boundary.
11238         (selectNextWord): use kind() to guess type of insetspecialchar,
11239         not latex().
11240
11241         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11242         (insertErtContents): create ert insets as collapsed.
11243         (readInset): better compatibility code for Info inset.
11244
11245 2001-07-20  Juergen Vigna  <jug@sad.it>
11246
11247         * lyxfunc.C (dispatch): use always LyXFind now!
11248
11249         * text2.C (init): add a reinit flag so that the LyXText can be
11250         reinited instead of deleted and reallocated (used in InsetText).
11251
11252         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11253
11254         * text.C: ditto
11255
11256         * text2.C: ditto
11257
11258 2001-07-18  Juergen Vigna  <jug@sad.it>
11259
11260         * text.C (selectNextWord): handle insets inside inset by calling
11261         always the bv->text functions so that we can go up the_locking_inset!
11262
11263         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11264         in strange locations when inside an inset!
11265
11266         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11267         handling to include insets.
11268
11269         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11270
11271 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * LyXAction.C (init):
11274         * commandtags.h:
11275         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11276         LIGATURE_BREAK, since the name is so stupid.
11277
11278 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11279
11280         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11281         InsetInfos.
11282
11283         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11284
11285         * sp_form.[Ch]: remove.
11286
11287         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11288
11289         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11290         InsetInfo.
11291
11292         * src/buffer.C (readInset): ditto.
11293
11294 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11295
11296         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11297         menuSeparator(), endOfSentenceDot(), ldots() and
11298         hyphenationPoint(), which are therefore removed.
11299         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11300
11301         * LyXAction.C (init):
11302         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11303
11304         * paragraph.C (getWord): removed.
11305
11306         * BufferView_pimpl.C (Dispatch): use last word or selection for
11307         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11308
11309         * lyx_main.C (queryUserLyXDir): do not ask before creating
11310         user_dir, except if it has been named explicitely.
11311
11312 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11313
11314         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11315         a document of zero size.
11316
11317 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11318
11319         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11320         approriately in the c-tor and in require().
11321         (getPackages): output the appropriate LaTeX for natbib support.
11322
11323         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11324         variables "use_natbib" and "use_numerical_citations" when reading the
11325         LyX file.
11326         (readInset): read the various natbib cite commands.
11327         (validate): white-space change.
11328
11329         * bufferparams.[Ch]: new variables "bool use_natbib" and
11330         "bool use_numerical_citations".
11331         (writeFile): output them in the LyX file.
11332
11333 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11334
11335         * lyxfunc.C (getStatus): add support for all the inset insertion
11336         commands.
11337
11338         * text2.C (insertInset):
11339         * paragraph.C (insetAllowed):
11340         * BufferView_pimpl.C (insertInset): update to take in account the
11341         renaming of insertInsetAllowed
11342
11343         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11344
11345         * text2.C (getInset): new method. returns inset at cursor position.
11346
11347         * BufferView_pimpl.C (Dispatch): changes because of this.
11348
11349         * LyXAction.C (init): rename open-stuff to inset-toggle.
11350
11351         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11352
11353         * text2.C (toggleInset): renamed from openStuff; use
11354         Inset::open().
11355
11356 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11357
11358         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11359
11360         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11361
11362 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11363
11364         * buffer.C (readLyXformat2): Add filename to the error dialog
11365
11366 2001-07-18  Juergen Vigna  <jug@sad.it>
11367
11368         * tabular.C (GetCellNumber): put an assert here instead of the check!
11369
11370 2001-07-17  Juergen Vigna  <jug@sad.it>
11371
11372         * BufferView_pimpl.C (toggleSelection): adapted too.
11373
11374         * text.C (selectNextWord): adapted for use with insets.
11375         (selectSelectedWord): ditto
11376
11377 2001-07-17  Juergen Vigna  <jug@sad.it>
11378
11379         * sp_spell.C (PSpell): fix initialitation order.
11380
11381 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11382
11383         * paragraph.C: spacing
11384
11385 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11386
11387         * sp_spell.C: repair language selection for pspell
11388
11389 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11390
11391         * lyxfunc.h: change more methods to begin with lower char.
11392
11393 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11394
11395         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11396         for unknown layouts.
11397
11398 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11399
11400         * buffer.C (readLyXformat2): Generate an error dialog if there are
11401         unknown layouts.
11402
11403 2001-07-16  Juergen Vigna  <jug@sad.it>
11404
11405         * sp_spell.C: always compile ISpell part.
11406
11407         * lyxrc.C: added use_pspell entry and it's handling.
11408
11409 2001-07-13  Juergen Vigna  <jug@sad.it>
11410
11411         * sp_spell.C: removed double includes.
11412
11413 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11414
11415         Consistent use of Lsstream.h:
11416         * Lsstream.h: added using std::stringstream for consistencies sake.
11417
11418         * buffer.C: removed using std::stringstream
11419
11420         * lyxfont.C (stateText):
11421         * paragraph.C (asString):
11422         * text.C (selectNextWord, selectSelectedWord):
11423         * text2.C (setCounter):
11424         * vspace.C (asString, asLatexString):
11425         std::ostringstream -> ostringstream.
11426
11427 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11428
11429         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11430         * commandtags.h: add LFUN_HELP_ABOUTLYX
11431         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11432
11433 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11434
11435         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11436         cursorToggle()
11437         * lyx_gui_misc.C: remove spellchecker
11438         * lyxfunc.C: showSpellchecker
11439         * sp_base.h: added
11440         * sp_ispell.h: added
11441         * sp_pspell.h: added
11442         * sp_spell.C: added
11443         * sp_form.[Ch]: removed
11444         * spellchecker.[Ch]: removed
11445
11446 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11447
11448         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11449         is set.
11450         (simpleTeXSpecialChars): Simply print the input character without
11451         any special translation if pass_thru is set.
11452
11453         * layout.h: Added bool pass_thru to layout class for being able to
11454         implement pass through of a paragraph for Literate Programming.
11455
11456         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11457         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11458         * layout.C (Read): add "passthru" to list of layout tags and add
11459         code to set the pass_thru boolean when it is read.
11460
11461 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * trans_decl.h: remove allowed from KmodInfo
11464
11465         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11466         remove allowed code
11467         (Load): adjust
11468
11469         * paragraph_pimpl.C (erase): use boost::prior
11470
11471         * Painter.C (text): use data() instead of c_str() when length is
11472         also provided.
11473         * WorkArea.C (putClipboard): ditto
11474         * font.h (width): ditto
11475
11476         * BufferView2.C: use it-> instead of (*it). for iterators
11477         * texrow.C: ditto
11478         * paragraph_pimpl.C: ditto
11479         * paragraph.C: ditto
11480         * minibuffer.C: ditto
11481         * language.C: ditto
11482         * kbmap.C: ditto
11483         * encoding.C: ditto
11484         * counters.C: ditto
11485         * converter.C: ditto
11486         * chset.C: ditto
11487         * Variables.C: ditto
11488         * TextCache.C: ditto
11489         * MenuBackend.C: ditto
11490         * LyXAction.C: ditto
11491         * LColor.C: ditto
11492         * FloatList.C: ditto
11493         * DepTable.C: ditto
11494         * ColorHandler.C (LyXColorHandler): ditto
11495
11496 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11497
11498         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11499
11500         * text2.C (openStuff): reintroduce this method (which had been
11501         nuked in NEW_INSETS frenzy).
11502
11503         * lyxfunc.C (Dispatch): when an action has not been handled, use
11504         its name in the error message, not its number.
11505
11506         * paragraph.C (inInset): change method name to begin with lowercase.
11507
11508         * undo_funcs.C:
11509         * text2.C: updates because of this.
11510
11511 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11512
11513         * ToolbarDefaults.C (add): add spaces in error message
11514
11515 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11518         (readLyXformat2): rename return_par to first_par, use lyxlex's
11519         pushToken and remove the manual push handling.
11520         (parseSingleLyXformat2Token): add another ert comp. variable:
11521         in_tabular, rename return_par to first_par. handle newlines better
11522
11523 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11524
11525         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11526
11527 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * text2.C (getParFromID): removed
11530
11531         * buffer.C (getParFromID): new method moved form lyxtext.
11532         * BufferView2.C (insertErrors): adjust
11533         (setCursorFromRow): adjust
11534         * BufferView_pimpl.C (restorePosition): adjust
11535         * lyxfunc.C (Dispatch): adjust
11536         * undo_funcs.C (textUndo): adjust
11537         (textRedo): adjust
11538         (textHandleUndo): adjust
11539         (textHandleUndo): adjust
11540
11541 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * buffer.C: up' the LYX_FORMAT
11544
11545         * lyxfont.h: turn NO_LATEX on as default
11546
11547         * buffer.C (insertErtContents): new methods of tex style compability.
11548         (parseSingleLyXformat2Token): use it several places.
11549         * tabular.C (OldFormatRead): and here
11550
11551 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * text2.C: remove some commented code.
11554         reindent file.
11555
11556         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11557         * trans.C: changes because of the above.
11558
11559 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11560
11561         * text2.C (setCounter): Fix counters bug with bibliography layout.
11562
11563 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11566         own member functions
11567         (simpleTeXSpecialChars): ditto
11568
11569 2001-07-06  Juergen Vigna  <jug@sad.it>
11570
11571         * a lot of files: changed the access to LyXText::status and the
11572         call of undo-functions.
11573
11574         * undo.[Ch]: added a inset_id to the undo informations.
11575
11576         * undo_funcs.[Ch]: added and moved here all undo functions.
11577
11578         * lyxtext.h: give the status enum a weight, made status_ a private
11579         variable and made accessor functions for it, removed the whole bunch
11580         of undo-functions as they are now in their own file, make some
11581         functions publically available. Added function ownerParagraph with
11582         int parameter.
11583
11584         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11585         made InInset() a const function, added getParFromID() function.
11586
11587         * buffer.[Ch]: added const version for inset_iterator functions,
11588         added getInsetFromID() function.
11589
11590         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11591         changed undo functions for new version.
11592
11593 2001-07-05  Juergen Vigna  <jug@sad.it>
11594
11595         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11596         unknow mechanism does not call the proper constructor but only this
11597         one also if I request the other!?
11598
11599 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11600
11601         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11602
11603         * text2.C (LyXText): use initialization lists.
11604
11605         * lyxtext.h (Selection): initialize set_ and mark_
11606         (init): remove method
11607
11608 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11609
11610         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11611
11612 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * screen.[Ch]: change method names to begin with lowercase
11615
11616         * BufferView_pimpl.C (updateScrollbar): simplify further and
11617         hopefully make it a bit faster.
11618
11619 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11620
11621         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11622         calling directly xforms functions.
11623
11624         * Painter.C (Painter):
11625         * lyx_cb.C (MenuWrite):
11626         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11627         fl_display.
11628
11629         * lyx_gui.C: remove bogus guiruntime extern declaration.
11630
11631 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11634         in NEW_INSETS
11635         (redoDrawingOfParagraph): ditto
11636         (redoParagraphs): ditto
11637         (cutSelection): don't create a object for CutAndPaste use the
11638         static method directly
11639         (pasteSelection): ditto
11640
11641         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11642         LyXview (+ rename)
11643
11644 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * modifications to some other files because of this.
11647
11648         * Makefile.am (lyx_SOURCES): add XFormsView
11649
11650         * XFormsView.[Ch]: new files
11651
11652         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11653         the main window. Move the gui dependent stuff to XFormsView
11654
11655 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * tabular.C (GetCellInset): update cur_cell also in the row/col
11658         version of this function.
11659
11660         * lyxfunc.C: no need to include figure_form.h here.
11661
11662         * FontLoader.h:
11663         * lyxfunc.h:
11664         * lyxscreen.h:
11665         * text2.C:
11666         * lyxvc.C: no need to include forms.h here.
11667
11668 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11669
11670         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11671
11672         * lyxfunc.C (Dispatch):
11673         * Spacing.C (set):
11674         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11675         constructor argument.
11676
11677 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * paragraph.C (Paragraph): dont't clear, and just set layout.
11680         (makeSameLayout): use params's copy contructor.
11681
11682         * ParagraphParameters.[Ch] (makeSame): delete method
11683
11684 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * Variables.[Ch]: fix indentation, rename set to isSet
11687
11688 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * lyxfunc.C (Dispatch): fix typo
11691
11692 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11693
11694         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11695         upper_bound.
11696
11697         * bufferlist.C: include assert.h for emergencyWrite().
11698
11699 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11702           give up at last (bug #425202) !
11703
11704 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * lyx_gui_misc.C:
11707         * sp_form.h:
11708         * sp_form.C:
11709         * spellchecker.h:
11710         * spellchecker.C: strip spellchecker options and bring up
11711           preferences tab instead
11712
11713 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11716         the istringstream constructor
11717
11718 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11719
11720         * paragraph.C (getLayout): fix return value
11721
11722         * paragraph.h: do not declare getLayout as inline.
11723
11724         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11725
11726 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * lyxcursor.h (operator<): new func
11729         (operator>): new func
11730         (operator>=): new func
11731         (operator<=): new func
11732
11733         * text.C (changeCase): use selection.start and selection.end
11734         (changeRegionCase): require from to be <= to. Require par to be a
11735         valid paragraph.
11736
11737         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11738
11739 2001-06-27  Juergen Vigna  <jug@sad.it>
11740
11741         * text.C (cursorLeftOneWord): changed to return the cursor and added
11742         overlay with BufferView * parameter which calls this one.
11743         (getWord): added
11744         (selectWord): use new getWord function.
11745         (changeCase): renamed from changeWordCase as and extended to work
11746         also on selections.
11747
11748         * lyxtext.h: added enum word_location
11749
11750         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11751         changeCase as this operates now also on selections.
11752
11753 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11754
11755         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11756
11757         * many files: send debug output to Debug::INFO instead of
11758         Debug::ANY.
11759
11760         * converter.C (View):
11761         (Convert):
11762         (Move): send debug output to Debug::FILES instead of console.
11763
11764 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11765
11766         * lyxfunc.C (getStatus): use func_status
11767
11768         * func_status.h: new header, describing the results of
11769         LyXFunc::getStatus;
11770
11771         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11772         LFUN_MATH_HALIGN.
11773
11774 2001-06-25  The LyX Project  <jug@sad.it>
11775
11776         * buffer.C (sgmlOpenTag):
11777         (sgmlCloseTag):
11778         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11779
11780 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * text2.C: remove some dead code
11783
11784         * tabular.C (GetCellInset): store the last cell checked (gotten)
11785
11786         * tabular.h: add the helper for the speedup
11787
11788         * lyxtext.h: remove some dead code
11789
11790 2001-06-26  The LyX Project  <Asger>
11791
11792         * paragraph.C: Change export to LaTeX of alignment to
11793         \begin{center} and family for better roundtrip work with reLyX.
11794
11795         * Tune the math drawing a bit.
11796
11797 2001-06-25  The LyX Project  <Asger>
11798
11799         * LColor.C (LColor): New color for math background. New color
11800         for buttons.
11801
11802 2001-06-25  The LyX Project  <jug@sad.it>
11803
11804         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11805
11806         * lyxfunc.C (Open):
11807         * bufferlist.C (newFile): do not restrict to files ending with
11808         .lyx
11809
11810         * BufferView_pimpl.C (MenuInsertLyXFile):
11811
11812 2001-06-24  The LyX Project  <jug@sad.it>
11813
11814         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11815         of compare_no_case
11816
11817 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11818
11819         * lyxtext.h: rename most methods to begin with a small char.
11820         Lots of changes because of this.
11821
11822         * paragraph.C (Paragraph): do not call fitToSize
11823         (erase): call Pimpl::erase
11824         (insertChar): call Pimpl::insertChar
11825         (insertInset): call Pipl::insertInset
11826         (breakParagraph): do not call fitToSize
11827         (breakParagraphConservative): do not call fitToSize
11828         (fitToSize): remove method
11829
11830         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11831
11832 2001-06-24  The LyX Project  <Asger>
11833
11834         * Fix Qt compilation^2
11835
11836 2001-06-24  The LyX Project  <jug@sad.it>
11837
11838         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11839         depthHook(getDepth()-1).
11840
11841         * paragraph.h:
11842         * ParagraphParameters.h:
11843         * ParameterStruct.h: change type of depth to unsigned int ==
11844         depth_type. Many adaptations to other files before of that.
11845
11846 2001-06-24  The LyX Project  <Asger>
11847
11848         * Fix Qt compilation.
11849
11850 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * paragraph.h: renamed several methods to begin with small letter.
11853         several changes to many parts of the code because of this.
11854
11855 2001-06-23  The LyX Project  <jug@sad.it>
11856
11857         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11858         rewritten to discard all double spaces when KeepEmpty is off
11859         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11860         to only handle newlines but not fiddle with spaces and friends.
11861
11862         * lyxfunc.C (MenuNew): when doing 'new from template', use
11863         template_path as default directory
11864
11865 2001-06-23  The LyX Project  <Asger>
11866
11867         * Clean-up of header file includes all over
11868         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11869
11870 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * paragraph.h: renamed from lyxparagraph.h
11873
11874 2001-06-23  Asger  <lyx@violet.home.sad.it>
11875
11876         * Buffer.h: Removed Buffer::resize
11877         * BufferList.h: Removed BufferList::resize
11878         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11879         the document lazily when we change the width, or the font settings.
11880
11881 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11884
11885 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * buffer.h: remove out of date comment
11888
11889 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * lyxscreen.h:
11892         * screen.C: fix "theoretical" GC leak
11893
11894 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11895
11896         * LaTeX.C (scanAuxFile):
11897         (deplog): remove trailing \r when reading stream (useful under
11898         win32)
11899
11900 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11901
11902         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11903         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11904         and BufferView::theLockingInset(Inset*), so should use them and not
11905         access bv_->text->the_locking_inset directly.
11906
11907         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11908
11909 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * Makefile.am:
11912         * tex-defs.h: remove old unused file
11913
11914 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * BufferView_pimpl.C: fix typo, remove minibuffer message
11917           when buffer has loaded
11918
11919 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11920
11921         * lyxfunc.C (Dispatch): use stringstream
11922         (MenuNew): use stringstream
11923         (Open): use stringstream
11924
11925         * importer.C (Import): use stringstream
11926
11927         * bufferview_funcs.C (CurrentState): use stringstream
11928
11929         * LaTeX.C (run): use stringstream
11930
11931         * BufferView_pimpl.C (savePosition): use stringstream
11932         (restorePosition): use stringstream
11933         (MenuInsertLyXFile): use stringstream
11934
11935 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11936
11937         * BufferView.C:
11938         * Bullet.C:
11939         * ColorHandler.C:
11940         * FontInfo.C:
11941         * FontLoader.C:
11942         * LColor.C:
11943         * LaTeXFeatures.C:
11944         * Painter.C:
11945         * gettext.C:
11946         * lyx_gui_misc.C:
11947         * lyxserver.C:
11948         * vspace.C: removed // -*- C++ -*- as first line.
11949
11950         * lyxfind.h:
11951         * version.h: added // -*- C++ -*- as first line.
11952
11953 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11954
11955         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11956
11957         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11958         of string
11959
11960 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11961
11962         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11963         of floats.
11964
11965 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * gettext.C: include LString.h even when --disable-nls is on.
11968
11969 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * converter.h (Get): changed argument type from int to
11972         FormatList::size_type to avoid unnecessary conversion.
11973
11974         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11975         before using it.
11976
11977 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11978
11979         * gettext.h: include LString.h even when --disable-nls is on.
11980
11981 2001-06-07  Juergen Vigna  <jug@sad.it>
11982
11983         * text.C (BreakAgain): subst spaces with tabs.
11984
11985         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11986         (resizeInsetsLyXText): set force on resizeLyXText.
11987
11988 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11989
11990         * gettext.h (gettext_init):
11991         (locale_init): use a real definition instead of a macro
11992
11993 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * Bufferview_pimpl.C:
11996         * LColor.h:
11997         * LColor.C: further lcolor tidies
11998
11999 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * BufferView_pimpl.C (updateScrollbar): simplify.
12002
12003         * BufferView2.C: don't include insets/insetinfo.h, change
12004         prototype for insertInset and call the Pimpl version. let
12005         updateInset call Pimpl version.
12006
12007         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12008         gotoInset to BufferView::Pimpl
12009
12010 2001-06-01  Juergen Vigna  <jug@sad.it>
12011
12012         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12013         inside a LockingInset (is the update needed at all?).
12014
12015 2001-05-31  Juergen Vigna  <jug@sad.it>
12016
12017         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12018         here not the old one otherwise how should we compare it afterwards
12019         if it's the same!
12020
12021 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12022
12023         * lyxfont.C:
12024         * tabular.C:
12025         * tabular-old.C:
12026         * FontInfo.C: bring C functions into global namespace when
12027         necessary
12028
12029 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * LString.h: make sure config.h has been loaded before LString.h.
12032
12033         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12034         (one for each char read by EatLine!).
12035
12036         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12037         variables.
12038
12039 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12042         to the same as the par we break from
12043
12044 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12047
12048         * MenuBackend.C (expand): also create menu entries for wide
12049         versions of the floats.
12050
12051         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12052
12053         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12054
12055         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12056         frontends/Makefile.am
12057
12058         * text2.C: adjust
12059         * text.C: adjust
12060
12061
12062         * tabular.C (getTokenValue): add std::
12063
12064         * tabular-old.C (getTokenValue): add std::
12065         (getTokenValue): ditto
12066         (getTokenValue): ditto
12067
12068         * screen.C (ToggleSelection): adjust
12069
12070         * lyxtext.h: put selection cursors inside a Selection struct.
12071
12072         * lyxfunc.C (moveCursorUpdate): adjust
12073
12074         * lyxfont.C (latexWriteStartChanges): add std::
12075
12076         * lyxfind.C: adjust
12077
12078         * font.h: delete with(char const *, LyXFont const &)
12079
12080         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12081
12082         * FontInfo.C (getFontname): add std::
12083
12084         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12085         (workAreaButtonPress): adjust
12086         (tripleClick): adjust
12087         (update): adjust
12088         (moveCursorUpdate): adjust
12089         (Dispatch): adjust
12090
12091         * BufferView2.C (gotoInset): adjust
12092
12093 2001-05-30  Juergen Vigna  <jug@sad.it>
12094
12095         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12096         to check pspell I add this as default as I now have new pspell
12097         libraries and they seem to use this.
12098
12099 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * text2.C (CutSelection): make the cursor valid before the call to
12102         ClearSelection.
12103
12104 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12105
12106         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12107         relied on 0 terminated strings and other horrors. Bug found due to
12108         the new assert in lyxstring!
12109
12110         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12111         KP_ keys.
12112
12113 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12114
12115         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12116         to latinkeys.bind.
12117
12118         * lyxfunc.C (processKeySym): change method of getting to the
12119         self-insert char.
12120
12121         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12122         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12123         * BufferView_pimpl.[Ch]: here as private methods.
12124
12125 2001-05-28  Juergen Vigna  <jug@sad.it>
12126
12127         * text.C (SetHeightOfRow): added the update() call again as it is
12128         needed to initialize inset dimensions!
12129
12130 2001-05-16  Juergen Vigna  <jug@sad.it>
12131
12132         * text2.C (SetCharFont): Add new function with BufferView * and
12133         bool toggleall parameters for setting insets internal fonts.
12134         (SetFont): Freeze the undo as we may change fonts in Insets and
12135         all this change should be inside only one Undo!
12136
12137         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12138         setting font's in insets as for them we have the SetFont function!
12139
12140 2001-05-15  Juergen Vigna  <jug@sad.it>
12141
12142         * text2.C (ClearSelection): to be sure we REALLY don't have any
12143         selection anymore!
12144
12145         * tabular.C (TeXCellPreamble): fixed the left border problem for
12146         multicolumn cells.
12147
12148 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12151         dependancy file
12152
12153 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12156         LFUN_BREAKPARAGRAPH.
12157
12158         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12159         help test to "internal only", similar for LFUN_INSERT_URL
12160
12161         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12162         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12163         auto_region_delete and deadkeys.
12164
12165 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * LColor.h:
12168         * LColor.C: remove some dead entries, tidy a little
12169
12170 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12173         commented code.
12174         (Dispatch): implement LFUN_ESCAPE
12175
12176         * commandtags.h: add LFUN_ESCAPE
12177
12178         * LyXAction.C (init): add entry for LFUN_ESCAPE
12179
12180         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12181         Remove commented code.
12182         (insertNote): moved here
12183         (open_new_inset): moved here
12184
12185         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12186         BufferView_pimpl
12187
12188 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12189
12190         * kbmap.C (findbinding): clean it up and make it work correctly.
12191
12192         * lyx_main.C (init): do not pass argc and argv as parameters
12193
12194 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12195
12196         * buffer.C: fix path for OS/2 & Win32
12197
12198         * lyx_gui.C:
12199         * lyx_main:
12200         * lyx_main.C: Added os:: class.
12201
12202         * os2_defines.h: update
12203
12204 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12207         better by trying again with reduced state.
12208
12209 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12210
12211         * lyxrc.C (read): print error about invalid key sequence only when
12212         debugging (because not all latinX keysyms are known to some X
12213         servers)
12214
12215         * kbsequence.C (getiso): add a few std:: qualifiers
12216         (getiso): comment out extra return statement.
12217
12218 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12221         handling.
12222         (Dispatch): enhance the accent inset a bit. (not perfect)
12223
12224 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12227
12228 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12229
12230         * bufferlist.C (emergencyWrite): fix assert() call
12231
12232 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12233
12234         * text.C (InsertChar): Added trivial patch to only send the "you
12235         can not do multiple spaces this way" message once during a
12236         session.
12237
12238 2001-05-08  Baruch Even  <baruch@lyx.org>
12239
12240         * Makefile.am: Changed order of libraries to get LyX to link properly
12241         with the gnome frontend.
12242
12243 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * LaTeXFeatures.h: add a std:: qualifier
12246
12247 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12248
12249         * paragraph.C (String): use stringstream
12250
12251 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * paragraph.C (writeFile): remove footflag arg
12254
12255         * buffer.C (makeLaTeXFile): use stringstream
12256         (latexParagraphs): remove footnot gurba
12257
12258         * LaTeXFeatures.C (getPackages): use stringstream
12259         (getMacros): likewise
12260         (getTClassPreamble): likewise
12261         (getFloatDefinitions): new method
12262
12263         * paragraph.C (writeFile): reindent
12264         (Erase): reindent
12265
12266         * WorkArea.h: revert the xpos + etc changes.
12267
12268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12269
12270         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12271
12272         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12273         (pasteSelection): likewise
12274         * text2.C (CreateUndo): likewise
12275
12276 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * minibuffer.C (peek_event): temporarily reduce the functionality
12279         of the minibuffer (to allow args on lfuns)
12280
12281         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12282         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12283
12284         * buffer.C (readInset): add compability reading of old float
12285         lists, add reading of new style float list.
12286         (readInset): avoid reevaluation of inscmd.getCmdName()
12287         (getLists): reindent
12288
12289         * MenuBackend.C (MenuItem): implement parsing of
12290         md_floatlistinsert and md_floatinsert.
12291         (expand::LastFiles): move initalizaton of iterators out of loop,
12292         avoid reevaluation.
12293         (expand::Documents): introduce typdedef vector<string> Strings,
12294         and use it.
12295         (expand::ExportFormats): introduce typedef vector<Format const *>
12296         Formats, and use it.
12297         (expand): implement FloatListInsert and FloatInsert.
12298
12299         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12300         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12301         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12302
12303         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12304         handling.
12305         (Dispatch::LFUN_FLOAT_LIST): implement
12306
12307 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12308
12309         * LaTeX.C (run): Fix problem with --export code.
12310
12311 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12312
12313         * BufferView.[Ch] (workarea): removed.
12314         (getClipboard) new method; wrapper for workarea()->getClipboard()
12315
12316         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12317         bug.
12318
12319         * WorkArea.h (width, height, xpos, ypos): These methods all
12320         returned the dimensions of the work_area sub-area of WorkArea,
12321         resulting in a position error if the WorkArea were resized. Now
12322         return the dimensions of the entire WorkArea.
12323
12324         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12325
12326 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * LaTeX.C (deplog): correct the syntax of regex reg1
12329
12330 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * undo.C: remove !NEW_INSETS cruft
12333
12334 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * text2.C: remove !NEW_INSETS cruft
12337
12338         * text.C: remove !NEW_INSETS cruft
12339
12340         * tabular.C: remove !NEW_INSETS cruft
12341
12342         * spellchecker.C: remove !NEW_INSETS cruft
12343
12344         * lyxtext.h: remove !NEW_INSETS cruft
12345
12346         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12347
12348         * lyxfunc.C: remove !NEW_INSETS cruft
12349
12350         * lyxfind.C: remove !NEW_INSETS cruft
12351
12352         * lyx_cb.C: remove !NEW_INSETS cruft
12353
12354         * figureForm.C: remove  !NEW_INSETS cruft
12355
12356         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12357
12358         * buffer.[Ch]: remove !NEW_INSETS cruft
12359
12360         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12361
12362         * CutAndPaste.C: remove !NEW_INSETS cruft
12363
12364         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12365
12366         * BufferView2.C: remove !NEW_INSETS cruft
12367
12368         * BufferView.h: remove !NEW_INSETS cruft
12369
12370 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12371
12372         * Lsstream.h: include LString.h before the sstream headers to
12373         fix problem with gcc 2.95.3 and lyxstring
12374
12375 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12376
12377         * lyx_main.C: add using directives when needed for C functions
12378         declared in std:: namespace.
12379
12380 2001-04-27  Juergen Vigna  <jug@sad.it>
12381
12382         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12383         (SetHeightOfRow): comment out the update call should not be needed!
12384
12385 2001-04-13  Juergen Vigna  <jug@sad.it>
12386
12387         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12388         (LyXTabular): tried to minimize operator= operations (and realized
12389         hopfully Lars wish).
12390
12391 2001-04-27  Juergen Vigna  <jug@sad.it>
12392
12393         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12394
12395 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12398
12399         * buffer.C (readInset): hack to make listof algorithm work
12400
12401         * BufferView_pimpl.C: hack to make listof algorithm work
12402
12403 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * LyXAction.C: removed all !NEW_INSETS cruft
12406         (init): moved lfun_item in method
12407
12408         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12409
12410 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12411
12412         * BufferView2.C (theLockingInset): white space.
12413
12414 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * minibuffer.C: include <iostream>
12417
12418         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12419
12420         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12421
12422         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12423
12424         * text.[Ch] (TransposeChars): new method
12425
12426 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * call message directly through LyXView instead of through LyXFunc
12429         * BufferView2.C: adjust
12430         * BufferView_pimpl.C: adjust
12431         * FontLoader.C: adjust
12432         * buffer.C: adjust
12433         * bufferview_funcs.C: adjust
12434         * converter.C: adjust
12435         * figureForm.C: adjust
12436         * importer.C: adjust
12437         * lyx_cb.C: adjust
12438         * lyx_gui_misc.C: adjust
12439         * lyxfunc.C: adjust
12440         * lyxvc.C: adjust
12441         * text2.C: adjust
12442         + more files in subdirs
12443
12444         * lyxparagraph.h (size): move up int file
12445         (GetLayout): ditto
12446
12447         * adjust all uses of Assert to lyx::Assert.
12448
12449         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12450         lyxfunctional in namespace lyx
12451         * layout.C (hasLayout): ditto
12452         (GetLayout): ditto
12453         (GetLayout): ditto
12454         (delete_layout): ditto
12455         (NumberOfClass): ditto
12456         * converter.C (GetFormat): ditto
12457         (GetNumber): ditto
12458         (Add): ditto
12459         (Delete): ditto
12460         (SetViewer): ditto
12461         * bufferlist.C (getFileNames): ditto
12462         (emergencyWriteAll): ditto
12463         (exists): ditto
12464         (getBuffer): ditto
12465         * MenuBackend.C (hasSubmenu): ditto
12466         (hasMenu): ditto
12467         (getMenu): ditto
12468         * BufferView_pimpl.C (getInsetByCode): ditto
12469
12470 2001-04-18  Juergen Vigna  <jug@sad.it>
12471
12472         * vspace.C (asLatexString): fixed the 100% problem.
12473
12474 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12475
12476         * lyxfunc.C (Dispatch):
12477         * minibuffer.C:
12478         * minibuffer.h: add a few std:: qualifiers
12479
12480 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12481
12482         * minibuffer.[Ch]: reimplement so that commands is initiated and
12483         run from lyxfunc, simplified som handling, and made the completion
12484         and history code for complete. wip.
12485
12486         * lyxfunc.C (processKeySym): call message
12487         (miniDispatch): new temporary method
12488         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12489         (LFUN_MESSAGE): implement
12490         (LFUN_MESSAGE_PUSH): implement
12491         (LFUN_MESSAGE_POP): implement
12492         (initMiniBuffer): the initial/defualt minibuffer message.
12493
12494         * lyxfont.[Ch]: inline some more getters
12495
12496         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12497
12498         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12499
12500         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12501         (AutoSave): use LFUN_MESSAGE
12502         (Reconfigure): ditto
12503
12504         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12505
12506         * figureForm.C: use LFUN_MESSAGE
12507
12508         * converter.C (runLaTeX): use LFUN_MESSAGE
12509
12510         * bufferview_funcs.C: use LFUN_MESSAGE
12511         (Melt): ditto
12512         (changeDepth): ditto
12513
12514         * bufferparams.h: use boost::
12515
12516         * bufferlist.h: inherit privately from noncopyable
12517
12518         * bufferlist.C (loadLyXFile): remove some commented code.
12519
12520         * buffer.C (runChktex): use LFUN_MESSAGE
12521
12522         * ShareContainer.h: inherit privately from noncopyable
12523
12524         * ParagraphParameters.[hC] (depth): inline it.
12525
12526         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12527         methods.
12528         (message): new method
12529         (messagePush): ditto
12530         (messagePop): ditto
12531         (show): init minibuffer
12532         (showState): direct call
12533
12534         * LaTeX.[Ch]: inherit privately from noncopyable
12535         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12536         instead of WriteStatus.
12537
12538         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12539
12540         * BufferView_pimpl.C (buffer): don't init minibuffer
12541         (workAreaButtonPress): use LFUN_MESSAGE
12542         (workAreaButtonRelease): ditto
12543         (savePosition): ditto
12544         (restorePosition): ditto
12545         (MenuInsertLyXFile): ditto
12546         (workAreaExpose): don't init minibuffer
12547         (update): remove commented code, simplify
12548
12549         * BufferView2.C (openStuff): use LFUN_MESSAGE
12550         (toggleFloat): ditto
12551         (menuUndo): ditto
12552         (menuRedo): ditto
12553         (copyEnvironment): ditto
12554         (pasteEnvironment): ditto
12555         (copy): ditto
12556         (cut): ditto
12557         (paste): ditto
12558         (gotoInset): ditto
12559         (updateInset): remove some commented code
12560
12561         * lastfiles.h: inherit privately from noncopyable
12562         * layout.h: ditto
12563         * lyx_gui.h: ditto
12564         * lyx_main.h: ditto
12565         * lyxlex.h: ditto
12566         * lyxlex_pimpl.h: ditto
12567
12568         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12569         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12570         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12571
12572         * LyXAction.h: inherit privately from noncopyable, add methods
12573         func_begin, func_end, returning iterators to the func map.
12574
12575         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12576         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12577         (func_begin): new method
12578         (func_end): new method
12579
12580         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12581         and not)
12582         (copySelection): ditto
12583         (pasteSelection): ditto
12584
12585         * BufferView.C: whitespace change
12586         * BufferView.h: inherit privately from noncopyable
12587
12588 2001-04-16  Allan Rae  <rae@lyx.org>
12589
12590         * tabular-old.C (l_getline):
12591         * spellchecker.C (sc_check_word):
12592         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12593         an unrecognised preprocessor directive.  So ensure they're wrapped.
12594
12595 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12596
12597         * src/exporter.C (Export): Give an error message when path to file
12598         contains spaces.
12599
12600 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12601
12602         * LaTeX.C (deplog): Always check that foundfile exists.
12603
12604 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12605
12606         * lyx_main.h:
12607         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12608
12609 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * tabular.[Ch] (getLabelList): implement new method
12612
12613         * minibuffer.h: comment ouf setTiimer
12614
12615         * minibuffer.C (ExecutingCB): constify res
12616         (peek_event): constify s
12617         (Set): constify ntext
12618         (Init): constify nicename
12619
12620         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12621
12622         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12623         (savePosition): use two params to Minibuffer::Set
12624         (restorePosition): ditto
12625
12626 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12627
12628         * lyx_main.C: include language.h
12629
12630         * Makefile.am (lyx_main.o): add language.h
12631
12632 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12633
12634         * exporter.C:
12635         * paragraph.C:
12636         * screen.C:
12637         * tabular.C:
12638         * CutAndPaste.C: include gettext.h
12639
12640         * lyxfont.h: remove old hack with ON and OFF.
12641
12642         * lyxparagraph.h:
12643         * lyxfont.h: do not include language.h...
12644
12645         * BufferView2.C:
12646         * LaTeXFeatures.C:
12647         * Painter.C:
12648         * bufferview_funcs.C:
12649         * font.C:
12650         * lyxfont.C:
12651         * text.C:
12652         * text2.C:
12653         * trans_mgr.C:
12654         * paragraph.C: ... but do it here instead
12655
12656 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12657
12658         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12659
12660         * tabular.C: small reformat
12661
12662         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12663         NEW_INSETS version
12664         (GetChar): ditto
12665         (BreakParagraph): ditto
12666         (SetOnlyLayout): ditto
12667         (SetLayout): ditto
12668
12669         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12670         with one arg less.
12671
12672         * lastfiles.C: removed most using decl, add std:: where needed
12673
12674         * buffer.C: ws changes
12675
12676         * MenuBackend.C (class compare_format): put into anon namespace
12677         (expand): constify label, names, action, action2
12678         (expand):
12679
12680         * text.C (SingleWidth): constify font
12681         (IsBoundary): constify rtl2
12682         (GetVisibleRow): constify ww
12683
12684         * LaTeX.C (deplog): constify logfile
12685
12686         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12687         start_x, end_x
12688         (workAreaExpose): constify widthChange, heightChange
12689
12690         * lyxrow.C (par): moved
12691         (height): moved
12692         (next): moved
12693         * lyxrow.h: as inlines here
12694
12695         * lyxfont.h (shape): moved from lyxfont.C
12696         (emph): moved from lyxfont.C
12697
12698         * lyxfont.C (LyXFont): use initialization list for all
12699         constructors
12700         (shape): move to lyxfont.h as inline
12701         (emph): move to lyxfont.h as inline
12702
12703
12704 2001-04-04  Juergen Vigna  <jug@sad.it>
12705
12706         * vspace.C: had to include stdio.h for use of sscanf
12707
12708 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12709
12710         * BufferView.h:
12711         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12712         independent of xforms.
12713
12714 2001-04-02  Juergen Vigna  <jug@sad.it>
12715
12716         * spellchecker.C: fixed namespace placing!
12717
12718 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12719
12720         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12721         the LyXParagraph * is 0.
12722
12723 2001-03-29  Juergen Vigna  <jug@sad.it>
12724
12725         * vspace.C: added support for %, c%, p%, l%.
12726         (stringFromUnit): added helper function.
12727         (asLatexString): changed to give right results for the %-values.
12728
12729         * buffer.C: convert the widthp in a width%.
12730
12731 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12732
12733         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12734         figureForm.[Ch].
12735
12736         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12737         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12738
12739         * lyx_cb.[Ch]: see above.
12740
12741         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12742         form1.[Ch].
12743
12744         * form1.[Ch]:
12745         * lyx.[Ch]: replaced by figure_form.[Ch].
12746
12747         * lyx_gui.C:
12748         * lyx_gui_misc.C:
12749         * lyxfunc.C: changed headers associated with above changes.
12750
12751 2001-03-27  Juergen Vigna  <jug@sad.it>
12752
12753         * BufferView_pimpl.C: set the temporary cursor right!
12754
12755 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12756
12757         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12758
12759 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12760
12761         * LString.h: removed "using std::getline"!
12762
12763         * BufferView_pimpl.C (Dispatch): changes due to changes in
12764         InsetInclude::Params.
12765
12766         * buffer.C (tag_name): removed redundant break statements as they were
12767         producing lots of warnings with my compiler.
12768
12769 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12770
12771         * LString.h: add "using std::getline" when using the real <string>.
12772
12773 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12774
12775         * buffer.C: removed bitset usage.
12776         PAR_TAG moved to an anonymous name space.
12777         (tag_name): new funtion, also in the anonymous namespace.
12778         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12779         (makeDocBookFile): clean code. Completed transition from string arrays
12780         to string vectors.
12781         (SimpleDocBookOnePar): code clean.
12782
12783 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12784
12785         * tabular.C: add some comments.
12786
12787 2001-03-22  Juergen Vigna  <jug@sad.it>
12788
12789         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12790         compatibility read a bit and fixed bug with minipage in different
12791         depth.
12792
12793 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12794
12795         * buffer.C (pop_tag): removed.
12796         (push_tag): removed.
12797         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12798         array replaced with vector. Added support for CDATA sections.
12799         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12800         at any nest level.
12801         (makeDocBookFile): XML conformant declaration of CDATA section,
12802         fixed bug related to <emphasis> in the first paragraph char.
12803         (sgmlOpenTag): exclude empty tags.
12804         (sgmlCloseTag): ditto.
12805
12806         * buffer.h (pop_tag): removed.
12807         (push_tag): removed.
12808
12809 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12810
12811         * language.h (Languages): added size_type and size().
12812
12813 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12814
12815         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12816         response on compability reading of minipages. One probliem is that
12817         the old usage of minipages was «flertydig»
12818
12819         * several files here and in subdirs: don't use static at file
12820         scope use anon namespaces instead.
12821
12822 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12823
12824         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12825         LaTeX output. This is necessary for Literate document
12826         processing.
12827
12828 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12829
12830         * buffer.C: insert hfill when needed.
12831
12832         * tabular.C (l_getline): use string::erase, small whitespace change.
12833
12834         * BufferView_pimpl.C: try the anon namespace.
12835         * WorkArea.C: ditto
12836
12837 2001-03-16  Juergen Vigna  <jug@sad.it>
12838
12839         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12840         otherwise it won't open options-dialogs.
12841
12842         * buffer.C: honor pextraWidth(p) on converting minipages.
12843
12844         * tabular.C (l_getline): changed the functions to strip trailing \r.
12845
12846 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12847
12848         * BufferView_pimpl.C:
12849         * minibuffer..C: added "using SigC::slot" declaration.
12850
12851 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12852
12853         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12854
12855         * text2.C: ditto
12856
12857         * text.C: ditto
12858
12859         * paragraph.C: ditto
12860
12861         * lyxtext.h: NO_PEXTRA
12862
12863         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12864
12865         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12866         * ParameterStruct.h: ditto
12867         * ParagraphParameters.h: ditto
12868         * lyxparagraph.h: ditto
12869
12870 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12871
12872         * buffer.C: add compability for minipage alignment.
12873         (latexParagraphs): remove unwanted pextra check.
12874
12875         * several files: remove CXX_WORKING_NAMESPACES
12876
12877         * buffer.C (pop_tag): tie is in namespace boost
12878
12879         * BufferView.h: noncopyable is in namespace boost
12880         * lyxlex.h: ditto
12881         * lyx_main.h: ditto
12882         * lyx_gui.h: ditto
12883         * layout.h: ditto
12884         * lastfiles.h: ditto
12885         * bufferlist.h: ditto
12886         * ShareContainer.h: ditto
12887         * LyXView.h: ditto
12888         * LyXAction.h: ditto
12889         * LaTeX.h: ditto
12890
12891 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12892
12893         * Merging changes from BRANCH_MVC back into HEAD.
12894
12895         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12896
12897 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12898
12899         * BufferView_pimpl.C: change from intl.C
12900
12901         * combox.h:
12902         * combox.C:
12903         * Makefile.am: move combox.*
12904
12905         * form1.h:
12906         * form1.C:
12907         * lyx_gui.C:
12908         * intl.h:
12909         * intl.C: remove dialog (covered by prefs)
12910
12911 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12912
12913         * lyxfunc.C (Dispatch): removed redundant break statement.
12914
12915 2001-03-14  Juergen Vigna  <jug@sad.it>
12916
12917         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12918
12919 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12920
12921         * buffer.C: add hack to fix compability reading of minipages.
12922
12923 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12924
12925         * buffer.C (getLists): Cleanup.
12926
12927 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12928
12929         * lyxfont.C (update): don't honor toggleall on font size.
12930
12931 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * bmtable.c:
12934         * bmtable.h:
12935         * Makefile.am: moved to frontends/xforms/
12936
12937         * lyx_gui_misc.C:
12938         * lyxfunc.C:
12939         * BufferView_pimpl.C: changes for moved mathpanel
12940
12941 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12942
12943         * gettext.h: fix gettext_init() in --disable-nls
12944
12945 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12946
12947         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12948
12949 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12950
12951         * lyx.C:
12952         * lyx.h: strip external form
12953
12954 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * BufferView_pimpl.C: add comment, destroySplash()
12957
12958 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * BufferView_pimpl.C:
12961         * LyXAction.C:
12962         * buffer.C:
12963         * commandtags.h:
12964         * lyxfunc.C: use re-worked insetinclude
12965
12966 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12967
12968         * buffer.C: add using std::stringstream.
12969
12970         * lyx_cb.C: readd using std::ios.
12971
12972         * buffer.C: add using std::map.
12973
12974         * BufferView_pimpl.C: add using std::vector.
12975
12976         * ShareContainer.h: add std:: to swap.
12977
12978         * buffer.h: add some typedefs
12979         * buffer.C (getLists): use them
12980         (getLists): renamed from getTocList.
12981         add a counter for the different float types and use it in the
12982         generated string.
12983         (getLists): use the same counter for the NEW_INSETS and the "non"
12984         NEW_INSETS
12985
12986         * lyx_cb.h: remove unused items, includes, using etc.
12987
12988         * ShareContainer.h: remove some commented code, add more comments
12989         and "documentation".
12990
12991 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12992
12993         * buffer.C (getTocList): make the list also when NEW_INSETS is
12994         defined.
12995
12996         * buffer.h: remove TocType
12997
12998         * buffer.C (getTocList): change to return a map<string,
12999         vector<TocItem> >, implement for dynamic number of list.
13000
13001         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13002         * text2.C (PasteSelection): adjust
13003         * CutAndPaste.C (pasteSelection): adjust
13004
13005         * FloatList.C (FloatList): update from the new_insets branch.
13006         * Floating.[Ch]: ditto
13007         * LaTeXFeatures.C: ditto
13008         * buffer.C: ditto
13009         * lyxlex_pimpl.C: ditto
13010
13011         * paragraph.C (Last): remove when NEW_INSETS is defined.
13012
13013         * other file: changes because of the above.
13014
13015 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13016
13017         * lyxparagraph.h: rename next to next_, previous to previous_,
13018         make them private for NEW_INSETS. Rename Next() to next(),
13019         Previous() to previous().
13020
13021         * other files: changes because of the above.
13022
13023 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13024
13025         * BufferView.h:
13026         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13027         problem.
13028
13029 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13030
13031         * main.C (main): pass lyx_localedir to gettext_init().
13032
13033         * gettext.h: remove locale_init and gettext_init macros
13034
13035         * gettext.C (locale_init): new function
13036         (gettext_init): new function
13037
13038         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13039         setlocale().
13040
13041 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13042
13043         * Moved credits to frontends:
13044         * credits.[Ch]: removed
13045         * credits_form.[Ch]: removed
13046         * lyx_gui_misc.C: remove credits stuff
13047         * Makefile.am:
13048
13049 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13050
13051         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13052
13053         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13054         unneeded destructor.
13055
13056         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13057         a standalone pointer again.
13058
13059         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13060
13061 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13062
13063         * Makefile.am:
13064         * filedlg.h:
13065         * filedlg.C:
13066         * LyXAction.C:
13067         * ToolbarDefaults.C:
13068         * bufferlist.C:
13069         * commandtags.h:
13070         * form1.C:
13071         * form1.h:
13072         * lyx_cb.C:
13073         * lyx_cb.h:
13074         * lyxfunc.h:
13075         * lyxfunc.C:
13076         * BufferView_pimpl.C: use new file dialog in GUII
13077
13078         * lyx_cb.h:
13079         * lyx_cb.C: remove LayoutsCB to Toolbar
13080
13081 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082
13083         * ShareContainer.h (get): add std:: qualifier
13084
13085 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13086
13087         * ShareContainer.h: define a proper ShareContainer::value_type
13088         type (and use typename to please compaq cxx)
13089
13090 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13091
13092         * lyxparagraph.h: move serveral local vars to
13093         ParameterStruct/ParagraphParameters., use ShareContainer in
13094         FontTable., make vars in FontTable private and add getter and
13095         setter.
13096
13097         * paragraph.C: changes because of the above.
13098
13099         * lyxfont.h: remove copy constructor and copy assignment. (the
13100         default ones is ok), move number inside FontBits. move inlines to
13101         lyxfont.C
13102
13103         * lyxfont.C: add number to initializaton of statics, move several
13104         inlines here. constify several local vars. some whitespace
13105         cleanup. Dont hide outerscope variables.
13106
13107         * Spacing.h: add two new constructors to match the set methods.
13108
13109         * ShareContainer.h: new file, will perhaps be moved to support
13110
13111         * ParameterStruct.h: new file
13112
13113         * ParagraphParameters.h: new file
13114
13115         * ParagraphParameters.C: new file
13116
13117         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13118         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13119
13120         * BufferView_pimpl.C: ParagraphParameter changes.
13121         * buffer.C: Likewise.
13122         * bufferview_funcs.C: Likewise.
13123         * text.C: Likewise.
13124         * text2.C: Likewise.
13125
13126 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13127
13128         * lyxfind.C (LyXReplace): do not redefine default argument in
13129         implementation.
13130         (IsStringInText): ditto
13131         (SearchForward): ditto
13132         (SearchBackward): ditto
13133
13134 2001-03-06  Juergen Vigna  <jug@sad.it>
13135
13136         * lyxfind.C (IsStringInText): put parentes around expressions.
13137
13138 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13139
13140         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13141
13142 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13145
13146         * stl_string_fwd.h: add comment
13147
13148         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13149
13150         * tabular.h:
13151         * tabular.C: remove unused DocBook methods
13152
13153         * intl.C:
13154         * language.C:
13155         * paragraph.C:
13156         * buffer.C:
13157         killed DO_USE_DEFAULT_LANGUAGE
13158
13159 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13160
13161         * lyx_gui.C: do not include language.h.
13162
13163         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13164         arguments in function implementation.
13165
13166 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13167
13168         * BufferView_pimpl.C: add <ctime>
13169
13170 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13171
13172         * BufferView_pimpl.C: add using std::find_if
13173
13174 2001-02-27  José Matos  <jamatos@fep.up.pt>
13175
13176         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13177         by OnlyPath.
13178
13179 2001-02-11  José Matos  <jamatos@fep.up.pt>
13180
13181         * buffer.C (makeDocBookFile): command styles now have a parameter as
13182         "title" by default.
13183
13184 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13185
13186         * layout_forms.[Ch]: removed
13187         * lyx_cb.[Ch]: out character
13188         * lyx_gui.C: out character
13189         * lyx_gui_misc.C: out character
13190         * bufferview_funcs.C: : out character,
13191         added toggleall as parameter in ToggleAndShow
13192
13193 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13194
13195         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13196
13197         * text2.C (SetCurrentFont): Disable number property at boundary.
13198
13199 2001-02-26  Juergen Vigna  <jug@sad.it>
13200
13201         * lyxfunc.C (getStatus): added a string argument override function so
13202         that this is correctly called from LyXFunc::Dispatch if it contains a
13203         do_not_use_argument which is used!
13204         (Dispatch): added check for "custom" export and call appropriate func.
13205
13206 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13207
13208         * lyxrc.C: Add language_command_local, language_use_babel and
13209         language_global_options.
13210
13211         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13212
13213         * buffer.C (makeLaTeXFile): Use language_use_babel and
13214         language_global_options.
13215
13216 2001-02-23  Juergen Vigna  <jug@sad.it>
13217
13218         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13219         which works with LyXText and putted it inside BufferView. Here now we
13220         only call for that part the BufferView::Dispatch() function.
13221
13222         * BufferView.C (Dispatch): added.
13223
13224         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13225         functions which needs to use a LyXText over from LyXFunc.
13226         (MenuInsertLyXFile): added
13227         (getInsetByCode): added
13228         (moveCursorUpdate): added
13229         (static TEXT): added
13230
13231 2001-02-22  Juergen Vigna  <jug@sad.it>
13232
13233         * BufferView_pimpl.C (update): call a status update to see if LyXText
13234         needs it.
13235
13236 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13237
13238         * vc-backend.C (revert): implement for CVS
13239         (getLog): implement for CVS
13240
13241 2001-02-20  Juergen Vigna  <jug@sad.it>
13242
13243         * text2.C (ClearSelection): added BufferView param for inset_owner call
13244
13245         * lyxfunc.C (TEXT): added this function and use it instead of
13246         directly owner->view()-text of getLyXText().
13247
13248 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13249
13250         * src/layout_forms.C: out preamble
13251         * src/layout_forms.h: out preamble
13252         * src/lyx_cb.C: out preamble
13253         * src/lyx_cb.h: out preamble
13254         * src/lyx_gui.C: out preamble
13255         * src/lyx_gui_misc.C: out preamble
13256         * src/lyxfunc.C: connect with guii preamble
13257
13258 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13259
13260         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13261
13262 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13263
13264         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13265         whether to run bibtex.
13266
13267 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13270
13271 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13272
13273         * Makefile.am (lyx_SOURCES): removed bibforms.h
13274
13275         * vspace.h: doxygen
13276
13277         * text.C (GetVisibleRow): make several local vars const
13278
13279         * tabular.C: small cleanup.
13280
13281         * lyxserver.C (callback): use compare instead of strncmp
13282
13283         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13284         inlines to after class or to paragraph.C
13285
13286         * lyxfont.h: remove friend operator!=
13287
13288         * converter.h: move friend bool operator< to non friend and after
13289         class def.
13290
13291         * combox.h: small cleanup
13292
13293         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13294         to inlines after class def.
13295
13296         * buffer.C (pop_tag): use string operations instead of strcmp
13297
13298         * bmtable.c: doxygen, small cleanup
13299
13300         * LaTeX.h: remove friend operator==
13301
13302 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13303
13304         * screen.C:
13305         * lyxrc.[Ch]:
13306         * lyxfunc.C:
13307         * lyxfont.[Ch]:
13308         * lyx_cb.C:
13309         * intl.[Ch]:
13310         * commandtags.h:
13311         * buffer.C:
13312         * WorkArea.[Ch]:
13313         * LyXAction.C:
13314         * BufferView_pimpl.C:
13315         * BufferView.[Ch]: remove cruft
13316
13317 2001-02-14  Juergen Vigna  <jug@sad.it>
13318
13319         * lyxfunc.C: removed #if 0 unused code
13320
13321         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13322
13323         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13324
13325         * text2.C (SetSelection): added a BufferView * parameter
13326
13327 2001-02-13  Juergen Vigna  <jug@sad.it>
13328
13329         * lyxfunc.C (Dispatch): fixed protected blank problem.
13330         * BufferView2.C (protectedBlank): added LyxText * parameter.
13331
13332         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13333         (AppendColumn): same as above for column_info.
13334
13335         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13336         (moveCursorUpdate): use a LyXText param for support of InsetText.
13337
13338         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13339         (tripleClick): ditto
13340
13341         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13342
13343         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13344
13345         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13346
13347         * text2.C (SetSelection): set correct update status if inset_owner
13348         (ToggleFree): ditto
13349
13350 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13351
13352         * tabular.C: remove some commented code.
13353
13354 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * BufferView_pimpl.C: call hideSplash()
13357
13358         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13359
13360         * include_form.h:
13361         * bibforms.h: remove
13362
13363         * lyxfunc.C:
13364         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13365           add LFUN_CHILD_CREATE
13366
13367         * counters.h: fix tiny typo
13368
13369         * lyx_cb.C:
13370         * lyx.h:
13371         * lyx_gui.C:
13372         * lyx.C: move splash to frontends/xforms/
13373
13374         * lyx_gui_misc.C: move Include and Bibform to frontends
13375
13376         * lyxvc.h: clarify comment
13377
13378         * vspace.C: tiny housekeeping
13379
13380 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13381
13382         * text.C (PrepareToPrint): RTL Fix.
13383
13384         * paragraph.C (GetUChar): New method.
13385         (String):  Use GetUChar.
13386
13387         * buffer.C (asciiParagraph): Use GetUChar.
13388
13389 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13390
13391         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13392
13393 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13394
13395         * buffer.h:
13396         * buffer.C: rename to getLogName(), handle
13397           build log / latex log nicely
13398
13399 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13400
13401         * MenuBackend.C:
13402         * MenuBackend.h: remove support for reference menuitem type.
13403
13404 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * BufferView_pimpl.C: housekeeping
13407         * BufferView_pimpl.h:
13408         * LyXView.h:
13409         * Makefile.am:
13410         * Timeout.C:
13411         * Timeout.h:
13412         * minibuffer.h: move Timeout GUI-I
13413
13414 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13415
13416         * lyxrc.C (read): Update converters data-structures.
13417
13418 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13419
13420         * LaTeX.h (operator!=): add operator != for Aux_Info
13421
13422 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13423
13424         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13425
13426         * LaTeXLog.C: deleted, useful code moved to Buffer
13427
13428         * buffer.h:
13429         * buffer.C: new function getLatexLogName()
13430
13431         * lyx_gui_misc.C:
13432         * lyx_gui.C:
13433         * lyxvc.C:
13434         * lyxvc.h:
13435         * lyxfunc.C: use frontends for LaTeX and VC logs
13436
13437 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * LaTeX.h: yet another std:: that Allan forgot.
13440
13441         * Variables.C (set): renamed from isset(), because this clashes
13442         with some HP-UX macros (grr).
13443
13444 2001-02-06  Allan Rae  <rae@lyx.org>
13445
13446         * LaTeX.h: Another bug fix.  Missing std:: this time.
13447
13448 2001-02-04  Allan Rae  <rae@lyx.org>
13449
13450         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13451         floats problem. I've left it commented out because it's not quite
13452         correct.  It should also test that the current object is a table or
13453         figure inset.  But I haven't gotten around to figuring out how to do
13454         that.  I *think* it'll be something like: "table" == inset.type()
13455
13456         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13457         bool.
13458
13459 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13460
13461         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13462         all the citation/databases/styles in the auxilary file.
13463         (run): Rerun latex if there was a babel language error.
13464
13465 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * text.C (Backspace): Preserve the font when changing newline char
13468         with a space.
13469         (BreakParagraph): If the cursor is before a space, delete the space.
13470
13471         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13472
13473 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13476         new argument (code).
13477         (ChangeCitationsIfUnique): New method.
13478
13479         * paragraph.C (GetPositionOfInset): Handle bibkey.
13480
13481 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13482
13483         * BufferView_pimpl.h: change type of Position::par_pos to
13484         LyXParagraph::size_type.
13485
13486 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13487
13488         * BufferView_pimpl.C (savePosition, restorePosition): Write
13489         messages to minibuffer.
13490
13491 2001-01-28  José Matos  <jamatos@fep.up.pt>
13492
13493         * buffer.C (makeDocBookFile): adds support for document language.
13494         A silly restriction on the name of LatexCommand types where removed.
13495         Added support for CDATA sections, allows to chars unescaped, used
13496         among others in code, to avoid escape < and >.
13497
13498 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13499
13500         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13501         saved positions instrad of a stack. Furthermore, a position is
13502         stored using paragraph id/paragraph position.
13503
13504         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13505         Remove LFUN_REF_BACK.
13506
13507 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13508
13509         * converter.C (dvipdfm_options): New method.
13510
13511 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13512
13513         * vspace.C (isValidLength): Fix for empty input string.
13514
13515 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * LyXAction.C (init): change description of LFUN_FIGURE to
13518         "Insert Graphics"
13519
13520 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13521
13522         * LaTeX.C: add using directive
13523
13524 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13525
13526         * MenuBackend.C (expand): Fix the sorting of the formats.
13527
13528 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * lyx_main.C: tiny error message fix
13531
13532 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13533
13534         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13535         calling fl_initialize(). This fixes the problem with ',' as
13536         decimal separator in text files.
13537
13538 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13539
13540         * trans.C (process): Fix the keymap bug.
13541
13542 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13543
13544         * LaTeX.C (scanAuxFiles): New method. Provides support for
13545         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13546         (scanLogFile) Scan for "run BibTeX" messages.
13547
13548         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13549         OT1 font encoding. Also, load the aecompl package if the ae
13550         package is loaded.
13551
13552         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13553
13554 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13555
13556         * texrow.C (increasePos): turn two error messages into debug
13557         messages.
13558
13559 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13560
13561         * LaTeX.C (scanAux): Handle the \@input macro.
13562         (runBibTeX): Use scanAux().
13563
13564         * language.C (latex_options_): New field.
13565
13566         * LaTeXFeatures.C (getMacros): Add language macros.
13567
13568         * buffer.C (makeLaTeXFile): Small fix.
13569
13570 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13571
13572         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13573
13574         * text2.C: add a using directive.
13575
13576 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * BufferView2.C:
13579         * lyx_gui_misc.h:
13580         * lyxfr1.C:
13581         * lyxfunc.C: kill LyXBell.
13582
13583 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13584
13585         * text.C (IsBoundary): Remove the error message
13586
13587         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13588
13589         * lyxrc.C (setDefaults): Correct initialization value for
13590         font_norm_type.
13591
13592 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13593
13594         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13595         gotoError().
13596
13597         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13598         and GotoNextNote().
13599
13600         * src/LyXAction.C: Added reference-next.
13601
13602         * text.C (InsertChar): Use contains instead of strchr.
13603
13604         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13605
13606 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13607
13608         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13609         alignment commands (when needed).
13610
13611         * text.C (InsertChar): Add ':' to number separator chars.