]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
cda0515861b9aae65d42b181e5ec0a4df723d994
[lyx.git] / src / ChangeLog
1 2004-03-28  Angus Leeming  <leeming@lyx.org>
2
3         * lfuns.h:
4         * LyXAction.C (init): new LFUN_PRINT.
5
6         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
7
8 2004-03-27  Angus Leeming  <leeming@lyx.org>
9
10         * lfuns.h:
11         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
12
13         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
14
15 2004-03-27  Angus Leeming  <leeming@lyx.org>
16
17         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
18         insetlist always contains non-null pointers to insets.
19
20 2004-03-26  Angus Leeming  <leeming@lyx.org>
21
22         * src/BufferView_pimpl.C:
23         * src/CutAndPaste.C:
24         * src/buffer.C:
25         * src/iterators.C:
26         * src/output_plaintext.C:
27         * src/outputparams.h:
28         * src/paragraph_funcs.C:
29         * src/rowpainter.C:
30         * src/text.C:
31         * src/text2.C:
32         * src/frontends/controllers/ControlErrorList.C:
33         * src/frontends/gtk/FileDialogPrivate.C:
34         * src/frontends/gtk/GPainter.C:
35         * src/frontends/gtk/GToolbar.C:
36         * src/frontends/qt2/QRef.C:
37         * src/mathed/math_scriptinset.C: squash compiler warnings.
38
39 2004-03-26  Angus Leeming  <leeming@lyx.org>
40
41         * ispell.C (LaunchIspell::start):
42         * lyx_cb.C (AutoSaveBuffer::start):
43         invoke run(DontWait) rather than runNonBlocking().
44
45 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
46
47         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
48
49 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         * kbsequence.C (print): adjust
52
53         * kbmap.C (printKeySym): rename and change signature
54         (printKey): use LyXKeySym::print()
55
56 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
57
58         * undo.C: add using std::advance to compile for stlport
59
60 2004-03-24  Angus Leeming  <leeming@lyx.org>
61
62         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
63         it leads to a crash when no buffer is present.
64
65 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66             Martin Vermeer  <martin.vermeer@hut.fi>
67
68         * lyxfunc.C (dispatch): 
69         * bufferparams.C (readToken): use the new LColor::setColor 
70
71         * LColor.[Ch] (setColor): new version that takes two strings as
72         argument and creates a new color entry if necessary
73
74 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
75
76         * buffer.C (makeLaTeXFile): if the main latex file that is
77         processed is usually a subdocument of some master, then pretend
78         for a while that it is actually the master
79
80 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
81
82         * buffer.C (getLabelList):
83         (getBibkeyList): use getMasterBuffer()
84         (getMasterBuffer): new method. Returns the main document in the
85         case where one is using included documents.
86
87 2004-03-25  André Pönitz  <poenitz@gmx.net>
88
89         * Makefile.am:
90         * iterators.[Ch]:
91         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
92
93         * ParagraphList_fwd.h: change ParagraphList to a std::vector
94
95         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
96         text*.C over here. Rename namespace CutAndPaste to lyx::cap
97
98         * ParameterStruct.h: merge with ParagraphParameters
99
100         * lyxtext.h: remove LyXText::parOffset() and getPar()
101
102         * text3.C: Remove all 'manual' update calls. We do now one per user
103         interaction which is completely sufficient.
104
105         * Bidi.C:
106         * BufferView.[Ch]:
107         * BufferView_pimpl.C:
108         * FontIterator.[Ch]:
109         * MenuBackend.C:
110         * ParagraphParameters.[Ch]:
111         * buffer.C:
112         * buffer.h:
113         * bufferlist.C:
114         * cursor.[Ch]:
115         * cursor_slice.[Ch]:
116         * dociterator.[Ch]:
117         * errorlist.[Ch]:
118         * factory.C:
119         * lfuns.h:
120         * lyxfind.C:
121         * lyxfunc.C:
122         * output_docbook.[Ch]:
123         * output_latex.[Ch]:
124         * output_linuxdoc.[Ch]:
125         * output_plaintext.[Ch]:
126         * paragraph.[Ch]:
127         * paragraph_funcs.[Ch]:
128         * paragraph_pimpl.[Ch]:
129         * rowpainter.C:
130         * tabular.[Ch]:
131         * text.C:
132         * text2.C:
133         * toc.C:
134         * undo.[Ch]: adjust
135
136         * frontends/controllers/ControlDocument.C:
137         * frontends/controllers/ControlErrorList.C:
138         * frontends/controllers/ControlSpellchecker.C:
139         * insets/inset.C:
140         * insets/inset.h:
141         * insets/insetbase.h:
142         * insets/insetbibitem.C:
143         * insets/insetbox.C:
144         * insets/insetbranch.C:
145         * insets/insetcaption.C:
146         * insets/insetcharstyle.C:
147         * insets/insetcharstyle.h:
148         * insets/insetcollapsable.C:
149         * insets/insetcollapsable.h:
150         * insets/insetert.C:
151         * insets/insetfloat.C:
152         * insets/insetfoot.C:
153         * insets/insetmarginal.C:
154         * insets/insetnote.C:
155         * insets/insetoptarg.C:
156         * insets/insettabular.C:
157         * insets/insettext.C:
158         * insets/insettext.h:
159         * insets/insetwrap.C:
160         * mathed/math_mboxinset.C:
161         * mathed/math_nestinset.C:
162         * mathed/math_scriptinset.C:
163         * mathed/math_scriptinset.h:
164         * support/types.h:
165
166 2004-03-24  Angus Leeming  <leeming@lyx.org>
167
168         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
169         deal with any child processes that have finished but are waiting to
170         communicate this fact to the rest of LyX.
171
172 2004-03-24  Angus Leeming  <leeming@lyx.org>
173
174         64-bit compile fixes.
175
176         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
177         (c-tor): pass lyx::pos_types rather than ints.
178
179         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
180         lyx::pos_type.
181
182         * text.C (Delete): compile fix.
183         (getPar): ensure that function declaration is the same as that in
184         the header file.
185
186 2004-03-23  Angus Leeming  <leeming@lyx.org>
187
188         * ispell.C (LaunchIspell):
189         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
190         a boost::shred_ptr rather than a std::auto_ptr.
191
192 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * lyxfunc.C (getStatus): handle read-only buffers correctly;
195         handle LFUN_FILE_INSERT_*
196
197         * lyxrc.C (setDefaults, getDescription, output, read):
198         * lyxrc.h: remove ps_command
199
200 2004-03-22  Angus Leeming  <leeming@lyx.org>
201
202         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
203         Ensure that error_handler is processed once only and that all data
204         is saved before attempting to output any warning messages.
205
206         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
207
208 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
209
210         * tabular.C (TeXRow): crash fix (from Kayvan and André)
211
212 2004-03-19  André Pönitz  <poenitz@gmx.net>
213
214         * cursor.[Ch] (reset): take main text inset as argument
215
216         * BufferView: adjust
217         * BufferView_pimpl.C: adjust
218
219         * paragraph.[Ch]: fix completely broken operator=()
220
221 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * LColor.C (getFromLyXName): make sure that the color name is used
224         as lowercase.
225
226 2004-03-17  Angus Leeming  <leeming@lyx.org>
227
228         * lfuns.h:
229         * LyXAction.C (init): remove LFUN_FORKS_KILL.
230
231         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
232         dialog and to kill a forked process.
233
234 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
235
236         * text2.C (setCursorFromCoordinates): fix font problem
237
238 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
239
240         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
241         bogus "rebuild cursor" code
242
243 2004-03-11  André Pönitz  <poenitz@gmx.net>
244
245         * buffer.[Ch]: use InsetText instead of LyXText as container for
246         the main lyx text.
247
248         * dociterator.[Ch]: drop the BufferView * member which is not needed
249         anymore after the change to buffer.C
250
251         * paragraph_funcs.C:
252         * text.C:
253         * text2.C:
254         * BufferView.[Ch]:
255         * BufferView_pimpl.[Ch]:
256         * cursor.[Ch]:
257         * cursor_slice.[Ch]: adjust
258
259         * text3.C: fix bug in mathDispatch
260
261 2004-03-08  André Pönitz  <poenitz@gmx.net>
262
263         * undo.[Ch]: use 'StableDocumentIterator' as base for
264         the Undo struct.
265
266 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
267
268         * LaTeXFeatures.C:
269         * bufferparams.[Ch]: add jurabib support and param.
270
271         * LaTeX.C: add FIXME/comment.
272
273 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
274
275         * buffer.C: increment file format to 230.
276
277 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
278
279         * cursor.C (dispatch): avoid infinite loops
280
281 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
282
283         * rowpainter.C (paintSelection): fix x coordinates
284
285 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * text.C (rowBreakPoint): fix breaking before displayed insets
288
289 2004-03-01  André Pönitz  <poenitz@gmx.net>
290
291         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
292
293         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
294
295         * Makefile.am:
296         * BufferView.C:
297         * BufferView_pimpl.C:
298         * buffer.C:
299         * lyxfind.C:
300         * lyxfunc.C:
301         * text.C:
302         * text2.C:
303         * text3.C: adjust
304
305 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
306
307         * lyxtext.h:
308         * text.C:
309         * text2.C:
310         * rowpainter.C:
311         * BufferView_pimpl.C: rename textwidth -> maxwidth,
312         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
313
314 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * Bidi.[Ch] (computeTables): const correctness
317         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
318         fill_hfill, fill_label_hfill and x from Row
319         * lyxtext.h: prepareToPrint returns a RowMetrics
320         * rowPainter.C: adjust
321         * text.C (prepareToPrint): use width, not textWidth. adjust
322         (redoParagraphInternal, cursorX): adjust
323         * text2.C (getColumnNearX): adjust
324         (init): put a default value to the top LyXText::width
325
326 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
327
328         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
329
330 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
331
332         * lyxtext.h: add FontIterator class
333
334         * text.C (FontIterator, operator*, operator->, operator++): add
335         (rowBreakPoint, setRowWidth): adjust (fixing a
336         rebreaking bug)
337
338 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
339
340         * BufferView_pimpl.C (workAreaDispatch): allow also
341         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
342
343 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
344
345         * text.C (rowBreakPoint): fix a bug showing with very large insets
346
347 2004-02-25  André Pönitz  <poenitz@gmx.net>
348
349         * text3.C:
350         * cursor.[Ch]: move some mathed specific code to mathed
351
352 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
355         use_tempdir in preferences
356         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
357         tempfile creation
358         * lyx_main.C: ensure that tempdir is valid
359         * lyxlex.h: correct typo
360         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
361         * paragraph.[Ch] (isMultiLingual): make const
362         * cursor.[Ch] (openable): make const
363
364 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
365
366         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
367
368 2004-02-20  André Pönitz  <poenitz@gmx.net>
369
370         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
371
372         * cursor.[Ch]: prepare for localized getStatus()
373
374         * lyxtext.h:
375         * tabular.C:
376         * text.C:
377         * text2.C:
378         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
379
380 2004-02-20  André Pönitz  <poenitz@gmx.net>
381
382         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
383
384 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
385
386         * text2.C (setCursorFromCoordinates): switch to absolute coords
387         (cursorUp): adjust
388         (cursorDown): adjust
389         * text3.C (dispatch): adjust
390
391 2004-02-16  André Pönitz  <poenitz@gmx.net>
392
393         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
394           insets/ChangeLog)
395
396         * cursor_slice.[Ch]: remove unneeded acessor function
397
398         * lyxtext.h: rename rtl() to isRTL()
399
400         * rowpainter.C:
401         * tabular.C:
402         * text.C:
403         * text2.C:
404         * text3.C: adjust
405
406 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
407
408         * rowpainter.C (paintSelection): coord fix
409
410 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
411
412         * Spacing.C: compile fix
413
414 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
415
416         * cursor.C (dispatch): restore current_ before returning
417
418 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * text2.C (cursorUp, cursorDown): fix coords
421         (moveUp): fix crash
422
423 2004-02-12  André Pönitz  <poenitz@gmx.net>
424
425         * lyxtext.h:
426         * text.C:
427         * text2.C:
428         * text3.C: add LCursor & parameter to most cursor movement functions
429           remove usage of LyXText::cursorRow() and cursorPar()
430
431         * cursor.[Ch]: add textRow() needed members
432
433         * BufferView.C:
434         * BufferView_pimpl.C:
435         * paragraph.[Ch]:
436         * BufferView.C:
437         * BufferView_pimpl.C: adjust
438
439 2004-02-11  André Pönitz  <poenitz@gmx.net>
440
441         * lyxfunc.C:
442         * BufferView.[Ch]:
443         * BufferView_pimpl.C: shift undo/redo handling
444
445         * cursor.[Ch]: fix mathed crash
446
447         * lyxfind.C:
448         * lyxtext.h: move selectionAsText to LCursor
449
450         * output_latex.C:
451         * paragraph.C:
452         * text.C:
453         * text2.C:
454         * text3.C: adjust
455
456         * rowpainter.C: fix excessive drawing
457
458 2004-02-06  André Pönitz  <poenitz@gmx.net>
459
460         * BufferView.[Ch]:
461         * BufferView_pimpl.[Ch]:
462         * text3.C: move some text specific LFUN handling
463
464 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
465
466         * text3.C (checkInsetHit): adjust coords
467         * text2.C (getColumnNearX): adjust coords
468         (edit): adjust coords
469         * text.C (getRowNearY): add two asserts
470
471 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * converter.C:
474         * format.C: add using std::distance to compile on gcc 2.95/stlport
475
476 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
477
478         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
479
480 2004-02-04  André Pönitz  <poenitz@gmx.net>
481
482         * BufferView.[Ch] (insertInset):
483         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
484
485         * text2.C:
486         * text3.C: adjust
487
488 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
489
490         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
491         on the default clause of the switch
492         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
493         wasn't catched by LCursor::dispatch
494
495 2004-02-03  André Pönitz  <poenitz@gmx.net>
496
497         * BufferView.C:
498         * cursor.[Ch]: some additional asserts
499
500         * undo.[Ch]: remove LyXText dependency in interface
501
502         * lyxfunc.C: adjust
503
504         * lyxtext.h (firstPar, lastPar): remove dead functions
505
506         * text.C:
507         * text2.C:
508         * text3.C:
509         * paragraph.[Ch]: adjust
510
511 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
512
513         * lyxfind.C (find): fix argument order in call to ::find
514
515 2004-02-02  André Pönitz  <poenitz@gmx.net>
516
517         * cursor.[Ch]: remove direct access to anchor
518
519         * text.C: remove findText() hack
520
521 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
522
523         * iterators.[Ch] (lockPath): remove in favour of...
524         * BufferView.[Ch] (setCursor): this addition
525         * BufferView.C (putSelectionAt): adjust
526         * undo.C (performUndoOrRedo): adjust
527         * lyxfunc.C (dispatch): adjust
528
529 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
530
531         * iterators.C (lockPath): add a missing slice
532         * undo.C (performUndoOrRedo): remove redundant positioning code
533
534 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
535
536         * vc-backend.C (scanMaster): ";" -> ';'
537
538 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
539
540         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
541         std::binary_function
542
543         * lyxtextclass.C (compare_name): rename to...
544         (LayoutNamesEqual): ...this
545
546         * lyxlex_pimpl.C (compare_tags): inherit from
547         std::binary_function, put back into anon namespace
548
549         * lyxfind.C (MatchString): inherig from std::binary_function
550         (findChange): use empty() istead of !size()
551
552         * format.C (FormatNamesEqual): new functor
553         (getFormat): use it
554         (getNumber): use it
555         (add): use it
556         (erase): use it
557         (setViewer): use it
558
559         * converter.C (compare_Converter): rename to...
560         (ConverterEqual): ...this, and fixup a bit.
561         (getConverter): use it, and make function const
562         (getNumber): use it, and make function const
563         (add): use it
564         (erase): use it:
565
566         * bufferlist.C: add using boost::bind
567
568         * MenuBackend.C (MenuNamesEqual): new functor
569         (hasMenu): use it, and make function const
570         (hasSubmenu): use nested bind to get rid of compare_memfun.
571
572 2004-01-30  André Pönitz  <poenitz@gmx.net>
573
574         * BufferView_pimpl.C:
575         * cursor.C:
576         * cursor.h:
577         * cursor_slice.[Ch]:
578         * lyxfunc.C:
579         * lyxtext.h:
580         * paragraph_funcs.C:
581         * paragraph_funcs.h:
582         * rowpainter.C:
583         * text.C:
584         * text2.C:
585         * text3.C: move some of the edit(x,y) handling to the insets
586         some coordinate changes.
587
588 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
589
590         * text.C: add using statements for std::advance and std::distance
591
592         * paragraph.C: add using statement for std::distance
593
594         * lyxfind.C: add using statement for std::advance
595
596         * cursor.C (region): remove std:: from swap
597         (openable): use nucleus in stead of operator->
598
599         * BufferView.C: add using statements for std::distance and std::swap
600
601 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
602
603         * iterators.C: Remove the pimple, move the needed structures to
604         the header file. Create accessor for the positions stack.
605         (asPosIterator): remove function
606
607         * PosIterator.C (PosIterator): move constructors to top of file
608         (PosIterator): reimplement the constructor taking a ParIterator in
609         terms of setFrom.
610         (setFrom): new function
611         (operator!=): inline it
612
613 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
614
615         * lyxfind.C (replaceAll): use std::advance
616
617         * iterators.h: inherit from std::iterator.
618
619         * PosIterator.C (advance, distance): remove
620         * PosIterator.h: interit from std::iterator.
621
622 2004-01-26  André Pönitz  <poenitz@gmx.net>
623
624         * BufferView.[Ch]:
625         * BufferView_pimpl.[Ch]:
626         * InsetList.[Ch]:
627         * PosIterator.[Ch]:
628         * buffer.h:
629         * bufferview_funcs.C:
630         * cursor.[Ch]:
631         * cursor_slice.h:
632         * factory.[Ch]:
633         * iterators.[Ch]:
634         * lyxfind.C:
635         * lyxfunc.C:
636         * lyxtext.h:
637         * output_docbook.C:
638         * output_latex.C:
639         * output_linuxdoc.C:
640         * output_plaintext.C:
641         * paragraph.[Ch]:
642         * paragraph_funcs.[Ch]:
643         * paragraph_pimpl.[Ch]:
644         * rowpainter.C:
645         * tabular.C:
646         * tabular.h:
647         * text.C:
648         * text2.C:
649         * text3.C: more IU:  dumps most of the rest of the mathcursor
650     implementation into cursor.[Ch]; "globalize" a bit of it.
651
652 2004-01-25  Angus Leeming  <leeming@lyx.org>
653
654         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
655
656 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
657
658         * LaTeXFeatures.h: add nice_ and nice() const
659         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
660
661 2004-01-20  André Pönitz  <poenitz@gmx.net>
662
663         * BufferView.[Ch]:
664         * BufferView_pimpl.C:
665         * PosIterator.C:
666         * bufferview_funcs.C:
667         * cursor.[Ch]:
668         * cursor_slice.[Ch]:
669         * factory.C:
670         * iterators.C:
671         * lyx_cb.C:
672         * lyxfind.C:
673         * lyxfunc.C:
674         * lyxtext.h:
675         * rowpainter.C:
676         * text.C:
677         * text2.C:
678         * text3.C:
679         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
680           LCursor and mathcursor parts to LCursor and InsetBase.
681
682 2004-01-15  André Pönitz  <poenitz@gmx.net>
683
684         * cursor_slice.[Ch]: add a few covienience functions
685
686         * funcrequest.[Ch]: remove BufferView * member
687
688         * BufferView_pimpl.C:
689         * cursor.C:
690         * factory.[Ch]:
691         * lyxfind.[Ch]:
692         * lyxfunc.C:
693         * lyxtext.h:
694         * text3.C:
695         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
696
697 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
700         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
701
702 2004-01-13  André Pönitz  <poenitz@gmx.net>
703
704         * textcursor.[Ch]:
705         * lyxtext.h: hide cursor and selection anchor behind accessor function
706
707         * BufferView.C:
708         * BufferView_pimpl.[Ch]:
709         * PosIterator.C:
710         * bufferview_funcs.C:
711         * cursor.h:
712         * lyxfind.C:
713         * lyxfunc.C:
714         * text.C:
715         * text2.C:
716         * text3.C:
717         * undo.C: adjust
718
719         * cursor.h:
720         * cursor_slice.[Ch]: some integer type changes for inset unification
721
722         * lyxcursor.[hC]: remove, it's CursorSlice now.
723
724         * Makefile.am:
725         * BufferView_pimpl.[Ch]:
726         * bufferview_funcs.C:
727         * cursor_slice.C:
728         * lyxtext.h:
729         * text.C:
730         * text2.C:
731         * text3.C:
732         * textcursor.[Ch]: adjust
733
734 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
735
736         * text2.C (undoSpan): add and use
737         * text.C (breakParagraph): use undoSpan (fix bug 578)
738         * lyxtext.h: adjust
739
740 2004-01-08  Angus Leeming  <leeming@lyx.org>
741
742         * BufferView_pimpl.C (MenuInsertLyXFile):
743         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
744         * lyxfunc.C (menuNew, open, doImport):
745         FileFilterList change to the FileDialog open and save functions.
746
747 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
748
749         * ShareContainer.h: make isEqual and isUnique adaptable
750
751         * CutAndPaste.C: make resetOwnerAndChanges adaptable
752
753 2004-01-07  Angus Leeming  <leeming@lyx.org>
754
755         * LyXAction.C:
756         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
757
758         * BufferView_pimpl.C (dispatch): act on these LFUNs.
759
760         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
761         functions replacing find, replace and replaceAll.
762
763         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
764         LFUN_WORDFIND(FORWARD|BACKWARD).
765
766 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
767
768         * text.C (breakParagraph): remove an outdated #warning
769
770 2004-01-07  André Pönitz  <poenitz@gmx.net>
771
772         * lyxfind.C: somewhat clearer logic
773
774         * text.C: prevent crash in cursorX on unitialized row cache
775
776 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
777
778         * lyxcursor.[Ch] (operator>): add
779         * textcursor.C (selStart, selEnd): use std::min and std::max
780
781 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
782
783         * Chktex.C: include boost/format.hpp
784
785 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
786
787         * InsetList.C: replace functor MathcIt with adaptable functor
788         InsetTablePosLess
789         (insetIterator): modify accordingly
790
791         * BranchList.h: move the BranchNamesEqual functor here from...
792         * BranchList.C: ... to here
793
794         * BranchList.C: new BranchListEqual fuctor, use it. Remove
795         SameName and match.
796         (add): replace a finding loop with std::find_if.
797
798 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * output_docbook.C: moving LatexParam functionality into
801         .layout files
802
803 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
804
805         * buffer.C: increment format to 229.
806
807 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
808
809         * LaTeXFeatures.C:
810         * lyx_sty.[Ch]: remove minipageindent_def
811
812         * LyXAction.C:
813         * factory.C:
814         * lfuns.h:
815         * lyxfunc.C:
816         * text3.C: remove LFUN_INSET_MINIPAGE
817
818 2003-12-28  Angus Leeming  <leeming@lyx.org>
819
820         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
821
822 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
823
824         * text2.C (setParagraph): fix off-by-one crash
825
826 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
827
828         * output_docbook.C: header stuff for AGU
829
830 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
831
832         * text2.C (redoCursor): remove
833         * text.C:
834         * text3.C:
835         * BufferView_pimpl.C: remove calls to redoCursor and
836         setCursor(cursor.par(), cursor.pos()) all around
837
838 2003-12-15  Angus Leeming  <leeming@lyx.org>
839
840         * buffer.C: up the format to 228.
841
842 2003-12-15  André Pönitz  <poenitz@gmx.net>
843
844         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
845         slices
846
847         * Makefile.am:
848
849         * BufferView_pimpl.C:
850         * cursor.[Ch]:
851         * lyxcursor.[Ch]:
852         * rowpainter.[Ch]:
853         * lyxtext.h:
854         * text.C:
855         * text2.C:
856         * text3.C: adjust
857
858 2003-12-15  Angus Leeming  <leeming@lyx.org>
859
860         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
861         than getFromGUIName to manipulate the color.
862
863 2003-12-14  Angus Leeming  <leeming@lyx.org>
864
865         * BranchList.[Ch]: minimize the API.
866         (Branch::getBranch, getColor): now return a 'const &'.
867         (Branch::setSelected) now returns a bool set to true if the
868         selection status changes.
869         (BranchList::clear, size, getColor, setColor, setSelected,
870         allBranches, allSelected, separator): removed.
871         (BranchList::find): new functions, returning the Branch with
872         the given name.
873         (BranchList::add, remove): return a bool indicating that
874         the operation was successful.
875
876         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
877         new InsetBranch::isBranchSlected member function.
878
879         * LColor.[Ch]: mimimize the API.
880         (fill): renamed as addColor and made private.
881         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
882         versions of these functions taking a string arg have been removed.
883
884         * bufferparams.C (readToken):
885         * lyxfunc.C (dispatch):
886         * lyxrc.C (read): changes due to the altered BranchList and
887         LColor APIs.
888
889         * factory.C (createInset, readInset): changes due to altered
890         InsetBranch c-tor.
891
892 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
893
894         * factory.C:
895         * lyxfunc.C: remove insetminipage. "minipage-insert"
896         now produces a frameless minipage box inset.
897
898 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
899
900         * textcursor.[Ch] (selStart,selEnd): add new methods
901         remove selection::start, end, use LyXCursor::operator<
902         * lyxcursor.[Ch] (operator<): add
903         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
904         * BufferView.[Ch] (unsetXSel): add
905         * text2.C (clearSelection): use unsetXSel,adjust
906         * text.C: adjust
907         * text3.C: adjust
908         * rowpainter.C: adjust
909         * bufferview_funcs.C (put_selection_at): adjust
910
911 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
912
913         * BufferView_pimpl.C: small coord. correction
914
915 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
916
917         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
918         dragging over the splash screen.
919
920 2003-12-11  Angus Leeming  <leeming@lyx.org>
921
922         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
923         as it is now handled in LyXText::dispatch.
924
925         * text3.C (doInsertInset): remove a level of nesting.
926
927 2003-12-11  Angus Leeming  <leeming@lyx.org>
928
929         * factory.C (createInset): changes due to the changed interface to
930         InsetCommandMailer::string2params.
931
932 2003-12-10  Angus Leeming  <leeming@lyx.org>
933
934         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
935         'dialog-show-new-inset <inset name>'
936
937 2003-12-10  Angus Leeming  <leeming@lyx.org>
938
939         * buffer.C: up the format to 227.
940
941         * factory.C: the box inset is now identified simply by 'Box'.
942
943 2003-12-10  Angus Leeming  <leeming@lyx.org>
944
945         * buffer.C: up the format to 226.
946
947         * factory.C: the note inset is now identified simply by 'Note'.
948
949 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
950
951         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
952         when a pit is enough. Standarize a couple of loops.
953
954 2003-12-05  Angus Leeming  <leeming@lyx.org>
955
956         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
957         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
958         data to the re-worked "log" dialog.
959
960 2003-12-03  André Pönitz  <poenitz@gmx.net>
961
962         * PosIterator.C:
963         * iterators.C:
964         * lyxtext.h:
965         * output_latex.C:
966         * paragraph_funcs.C:
967         * text.C:
968         * text2.C: use Inset::getText instead of Inset::getParagraph
969
970 2003-12-03  André Pönitz  <poenitz@gmx.net>
971
972         * buffer.[Ch]:
973         * lyxtext.h:
974         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
975         InsetText::read() as LyXText::read()
976
977 2003-12-02  Angus Leeming  <leeming@lyx.org>
978
979         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
980         type. Add a comment in the implementation that the function uses
981         the stream's bad() function rather than fail() as the std::streams
982         would do.
983
984 2003-12-02  André Pönitz  <poenitz@gmx.net>
985
986         * lyxlex.[Ch]: make interface more similar to std::stream
987
988         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
989
990 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
991
992         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
993
994 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
995
996         * vspace.[Ch]: remove VSpace::NONE
997
998 2003-12-01  André Pönitz  <poenitz@gmx.net>
999
1000         * buffer.[Ch]:
1001         * lyxtext.h: move ParagraphList member to LyXText
1002         rename LyXText::ownerParagraphs to LyXText::paragraph
1003
1004         * CutAndPaste.C:
1005         * bufferview_funcs.C:
1006         * iterators.[Ch]:
1007         * lyx_cb.C:
1008         * paragraph.C:
1009         * rowpainter.C:
1010         * tabular.C:
1011         * text.C:
1012         * text2.C:
1013         * text3.C: adjust
1014
1015         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1016
1017         * undo.C: fix cursor positioning
1018
1019 2003-12-01  John Levon  <levon@movementarian.org>
1020
1021         * BufferView_pimpl.C: fix a crash on exit with
1022         a buffer open
1023
1024 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1025
1026         * BranchList.C: fix setSelected() method.
1027
1028 2003-11-28  André Pönitz  <poenitz@gmx.net>
1029
1030         * ParagraphParameters.[Ch]:
1031         * ParameterStruct.h: remove space above/below from Paragraph to
1032          InsetVSpace
1033
1034         * BufferView_pimpl.C:
1035         * factory.C:
1036         * lyxfunc.C:
1037         * lyxtext.h:
1038         * output_latex.C:
1039         * paragraph.C:
1040         * paragraph_funcs.C:
1041         * rowpainter.[Ch]:
1042         * text.C:
1043         * text2.C:
1044         * text3.C: adjust
1045
1046 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1047
1048         * factory.C: Syntax change for CharStyles
1049
1050 2003-11-28  André Pönitz  <poenitz@gmx.net>
1051
1052         * BufferView.[Ch]:
1053         * BufferView.[Ch]:
1054         * buffer.[Ch]:
1055         * buffer.[Ch]: move LyXText member
1056
1057 2003-11-28  André Pönitz  <poenitz@gmx.net>
1058
1059         * BufferView.[Ch]: make LyXText * text a private member
1060
1061         * BufferView_pimpl.C:
1062         * cursor.C:
1063         * iterators.C:
1064         * lyx_cb.C:
1065         * lyxfind.C:
1066         * lyxtext.h:
1067         * rowpainter.[Ch]:
1068         * text.C:
1069         * text2.C:
1070         * undo.C: adjust
1071
1072         * output_plaintext.C: cleanup
1073
1074 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1075
1076         * buffer.C:
1077         * lyxtextclass.[Ch]: parametrize SGML document header
1078
1079 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1080
1081         * converter.[Ch]:
1082         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1083         getFlavor().
1084
1085 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * text2.C (setFont): rework using PosIterator (no more recursive)
1088         (setCharFont): no more needed
1089         (setLayout): no more selection cursors fiddling (done by redoCursor)
1090         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1091         destroy remaining ones)
1092
1093 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1094
1095         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1096         * lyxtext.h: ditto
1097         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1098         selection cursors
1099         * lyxfunc.C: adjust
1100         * text3.C: adjust + re-allow multi par depth changes
1101         * textcursor.C: simplify a bit
1102
1103 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1104
1105         * src/buffer.C:
1106         * src/lyxlayout.C:
1107         * src/lyxlayout.h:
1108         * src/lyxtext.h:
1109         * src/output_docbook.C:
1110         * src/output_latex.C:
1111         * src/paragraph.C:
1112         * src/paragraph.h:
1113         * src/sgml.C:
1114         * src/sgml.h:
1115         * src/text2.C: Introducing a number of tags parametrizing various
1116         XML formats that we may want to support
1117
1118 2003-11-25  André Pönitz  <poenitz@gmx.net>
1119
1120         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1121
1122         * lyxtext.h (leftMargin/rightMargin): simplify interface
1123
1124         * rowpainter.C:
1125         * text.C:
1126         * text2.C:
1127         * text3.C: adjust
1128
1129 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1130
1131         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1132         master file to any child files. Fixes bug 546.
1133
1134 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1137
1138 2003-11-24  André Pönitz  <poenitz@gmx.net>
1139
1140         * rowpainter.C: simplification
1141
1142         * text2.C (updateCounters): remove call to redoParagraph on
1143         changed labels as this is far too expensive.
1144
1145 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1146
1147         * converter.C (convert): fix a crash: this function gets
1148         called with buffer == 0 from importer code.
1149
1150 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1151
1152         * text3.C (cursorPrevious): make sure that we do not compare
1153         iterators form different containers.
1154         (cursorNext): ditto
1155
1156         * rowpainter.C (paintSelection): make sure that we do not compare
1157         iterators from different containers.
1158
1159         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1160         iterators from different ParagraphList containers.
1161         [NEXT] ditto
1162
1163         * text2.C (LyXText): change order of initialization slightly
1164         (operator=): new function. copy all variables except cache_par_
1165         (moveUp): make sure that we do not compare iterators from
1166         different ParagraphList constainers.
1167         (moveDown): ditto
1168
1169         * text.C (firstPar): new function
1170         (lastPar): new function
1171         (endPar): new function
1172
1173         * lyxtext.h: move things around and group public functions, public
1174         variables, private functions, private variables
1175
1176 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1177
1178         * factory.C: change call to InsetERT constructor to avoid
1179         additional invocation of method status
1180         * text2.C (toggleInset): remove redundant update() call
1181         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1182         instead of a Bufferview pointer
1183
1184 2003-11-21  André Pönitz  <poenitz@gmx.net>
1185
1186         * rowpainter.C: simplification
1187
1188 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1189
1190         * text3.C (dispatch): make possible to extend a word/row selection
1191         with the mouse
1192
1193 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1194
1195         * lyxtext.h: x0_,y0_ -> xo_,yo_
1196         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1197         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1198         * rowpainter.C (paintRows): paint full paragraphs
1199
1200 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1201
1202         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1203         screen coordinates)
1204
1205 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1206
1207         * lyxtext.h: add x0_, y0_
1208         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1209         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1210
1211 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * text2.C (setCursorIntern): move the x_target update here *
1214         * text3.C: change some bv() to true/false in calls to
1215         cursorUp/Down/Right/Left
1216         * cursor.C: use helper function.
1217
1218 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1221         * paragraph_funcs.[Ch]: correct comment
1222         * rowpainter.C: do not paint selections away from bv->cursor()
1223         Fix a long standing selection painting bug.
1224         * text3.C: generalize mouse-selection code to LyXTexts other that
1225         top one
1226         * textcursor.C: do not use y coords if we can use par offsets
1227
1228 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1229
1230         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1231         cursor position after e.g. inset insert)
1232
1233 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1234
1235         * lyxfind.C (replace): adjust to locking removal + some
1236         code simplification
1237
1238 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1239
1240         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1241         of the path
1242
1243 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1244
1245         * lyxlayout.[Ch]:
1246         * output_docbook.C: XML sanitation: new layout
1247         parameters InnerTag and CommandDepth
1248
1249 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1250
1251         * BufferView_pimpl.C:
1252         * factory.C:
1253         * text3.C: Fix the insertion and modification of button-style
1254         insets
1255
1256 2003-11-13  André Pönitz  <poenitz@gmx.net>
1257
1258         * InsetList.[Ch]: remove deleteLyXText
1259
1260         * paragraph.[Ch]: cache beginOfBody position
1261
1262         * Bidi.C:
1263         * text.C:
1264         * text2.C:
1265         * text3.C: remove superfluous update() calls
1266
1267         * vspace.C: cleanup
1268
1269 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1270
1271         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1272         * BufferView.C (fitLockedInsetCursor): remove
1273         * cursor.[Ch] (getDim): add
1274         * text.C (getRowNearY): add faster version
1275         * text3.C: remove some update calls
1276
1277 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * LaTeXFeatures.C:
1280         * LyXAction.C:
1281         * MenuBackend.C:
1282         * MenuBackend.h:
1283         * dispatchresult.h:
1284         * factory.C:
1285         * lfuns.h:
1286         * lyxfunc.C:
1287         * lyxtextclass.C:
1288         * lyxtextclass.h:
1289         * text3.C: The Character Style /XML short element patch.
1290
1291 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1292
1293         * text3.C:
1294         * factory.C: Small step to solving 'unable to insert some insets'
1295         problem
1296
1297 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1298
1299         * cursor.[Ch] (updatePos): new function for updating the y
1300         position of the tip inset
1301         * bufferview_funcs.C (put_selection_at):
1302         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1303
1304 2003-11-11  André Pönitz  <poenitz@gmx.net>
1305
1306         * text.C: remove big comment on invalid Paragraph pointers as it is
1307         not valid anymore
1308
1309 2003-11-11  André Pönitz  <poenitz@gmx.net>
1310
1311         * text_funcs.[Ch]: merge with ...
1312
1313         * text.C: ... this
1314
1315         * lyxtext.h:
1316         * text2.C:
1317         * text3.C: adjust
1318
1319         * Makefile.am: remove text_funcs.[Ch]
1320
1321 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1322
1323         * cursor.C (getPos): return absolute cached y coord
1324
1325         * BufferView_pimpl.C (fitCursor): new simplistic code
1326         (workAreaDispatch): add a fitCursor call
1327
1328 2003-11-10  André Pönitz  <poenitz@gmx.net>
1329
1330         * BufferView.[Ch]:
1331         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1332
1333 2003-11-10  André Pönitz  <poenitz@gmx.net>
1334
1335         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1336         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1337         indicate that the cursor needs to leave an inset
1338
1339         * lyxtext.h: remove inset locking
1340
1341         * cursor.[Ch]: re-implement functionality provided by inset locking
1342
1343         * BufferView.[Ch]:
1344         * BufferView_pimpl.[Ch]:
1345         * LyXAction.C:
1346         * bufferview_funcs.[Ch]:
1347         * factory.C:
1348         * funcrequest.[Ch]:
1349         * iterators.C:
1350         * lyx_cb.C:
1351         * lyxfind.C:
1352         * lyxfunc.C:
1353         * text.C:
1354         * text2.C:
1355         * text3.C:
1356         * undo.C: adjust
1357
1358 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1359
1360         * PosIterator.[Ch]: replace the stack with a vector, add inset
1361         accesor
1362         * iterators.[C]: adjust
1363
1364 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1365
1366         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1367         replaced
1368         * paragraph_funcs.C (readParToken): put the correct id in the
1369         error item, not the id of the top paragraph
1370
1371 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1372
1373         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1374         * bufferview_funcs.C (put_selection_at): use the above
1375
1376 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1377
1378         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1379
1380 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * output_linuxdoc.h:
1383         * output_plaintext.h:
1384         * output.h:
1385         * output_docbook.h: add #include statements
1386
1387 2003-11-05  José Matos  <jamatos@lyx.org>
1388
1389         * output_docbook.[Ch]:
1390         * output_latex.[Ch]:
1391         * output_linuxdoc.[Ch]:
1392         * output_plaintext.[Ch]: New files for output formats.
1393         * output.[Ch]: New file for helper functions.
1394
1395         * buffer.[Ch]:
1396         * paragraph_funcs.[Ch]: output functions moved to new files.
1397
1398         * outputparams.h: rename of latexrunparams.h
1399
1400         * LaTeX.[Ch]:
1401         * buffer.[Ch]:
1402         * bufferlist.[Ch]:
1403         * converter.[Ch]:
1404         * exporter.C:
1405         * paragraph.[Ch]:
1406         * paragraph_funcs.[Ch]:
1407         * paragraph_pimpl.[Ch]:
1408         * tabular.[Ch]: rename ascii to plaintext
1409         and LatexRunParams to OutputParams.
1410
1411 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1412
1413         * iterators.[Ch] (text): require bv argument
1414         * undo.C (recordUndo):
1415         * lyxfunc.C (dispatch):
1416         * bufferview_funcs.C (put_selection_at): adjust
1417
1418 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1419
1420         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1421
1422 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1425         nestings
1426
1427 2003-11-04  André Pönitz  <poenitz@gmx.net>
1428
1429         * cursor.[Ch]: restructure
1430
1431         * BufferView.[Ch]:
1432         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1433
1434         * iterators.[Ch] (asCursor): remove
1435
1436         * lfuns.h: remove LFUN_INSET_EDIT
1437
1438         * lyxfunc.C:
1439         * tabular.C:
1440         * text.C:
1441         * text2.C:
1442         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1443
1444 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * lyxfind.[Ch]: complete overhaul
1447         * BufferView_pimpl.C:
1448         * lyxfunc.C: adjust
1449         * paragraph.[Ch] (insert): add
1450
1451 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1452
1453         * BufferView.[Ch]:
1454         * lyxtext.h:
1455         * text.C: remove dead spellcheck code
1456
1457 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1458
1459         * dispatchresult.h: add a val setter
1460
1461         * cursor.C (dispatch): use a tempvar for data_[i]
1462
1463 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * PosIterator.[Ch]: compile fix
1466
1467 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1468
1469         * text.C (cursorPar): deactivate the cursor cache
1470
1471 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1472
1473         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1474
1475 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1476
1477         * text3.C (dispatch): adjust for new DisptchResult semantics.
1478
1479         * lyxfunc.C (dispatch): handle update when return from
1480         Cursor::dispatch, adjust for new DispatchResult semantics.
1481
1482         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1483         DispatchResult(true) mean to not update. Add class functions for
1484         setting dispatched and update, as well as reading.
1485
1486         * cursor.C (dispatch): don't handle update here
1487
1488 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1489
1490         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1491         * trans_mgr.C: adjust
1492
1493         * paragraph_funcs.C (readParToken): exception safety
1494
1495         * lyxvc.h: store the vcs pointer in a scoped_ptr
1496         * lyxvc.C: adjust
1497
1498         * lyxsocket.C (serverCallback): exception safety
1499
1500         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1501
1502         * ispell.C (clone): make it return a auto_ptr
1503
1504         * factory.C (createInset): exception safety
1505         (readInset): exception safety
1506
1507         * bufferlist.C (newBuffer): exception safety
1508
1509         * Thesaurus.C (Thesaurus): use initialization for aik_
1510
1511         * MenuBackend.C (expandToc): exception safety.
1512
1513 2003-11-03  André Pönitz  <poenitz@gmx.net>
1514
1515         * buffer.C:
1516         * buffer.h:
1517         * bufferview_funcs.C: remove getInsetFromId()
1518
1519         * lyxcursor.[Ch]:
1520         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1521
1522         * lyxfunc.C:
1523         * text2.C:
1524         * text3.C: adjust
1525
1526 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1527
1528         * PosIterator.C (distance, advance): new
1529         * bufferview_funcs.[Ch] (put_selection_at): new
1530         * iterators.[Ch] (lockPath): new
1531
1532 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1533
1534         * iterators.[Ch] (asPosIterator): added
1535         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1536         * PosIterator.[Ch]: added
1537
1538 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1539
1540         * text3.C:
1541         * lyxfunc.C:
1542         * cursor.C (dispatch):
1543         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1544
1545         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1546         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1547         contructor, add a class function dispatched. Remove operator>=
1548
1549 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * debug.C: only use the default constructor for debugstream
1552         (lyxerr) here.
1553
1554         * main.C (main): include debug.h and setup the lyxerr streambuf
1555         here.
1556
1557 2003-10-31  José Matos  <jamatos@lyx.org>
1558
1559         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1560
1561         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1562         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1563         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1564         * paragraph_pimpl.C (simpleTeXSpecialC):
1565         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1566         add LatexRunParams argument.
1567
1568         * exporter.C (Export): change call accordingly.
1569
1570         * latexrunparams.h: add new member to take care of the other backends.
1571 2003-10-30  José Matos  <jamatos@lyx.org>
1572
1573         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1574         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1575         factorise code for paragraph output.
1576         * buffer.[Ch]:
1577         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1578         move functions.
1579
1580 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * text3.C (dispatch):
1583         * lyxfunc.C (dispatch):
1584         * cursor.C (dispatch):
1585         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1586
1587         * dispatchresult.h: make the dispatch_result_t ctor explicit
1588
1589 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1590
1591         * sgml.[Ch]:
1592         * buffer.C: small refactoring of docbook stuff
1593
1594 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1595
1596         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1597         meaning.
1598
1599 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1600
1601         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1602         operator dispatch_result_t, and operators for == != and >=
1603
1604         * cursor.C (dispatch): adjust for operator dispatch_result_t
1605         removal. comment out call to update
1606
1607         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1608
1609 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1610
1611         * text3.C:
1612         * text2.C:
1613         * text.C:
1614         * lyxtext.h:
1615         * lyxfunc.C:
1616         * cursor.C:
1617         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1618         (dispatch):
1619
1620         * dispatchresult.h: new file, DispatchResult broken out of
1621         insets/insetbase.h
1622
1623         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1624
1625 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1626
1627         * text.C (rowBreakPoint): put a hack inside #if 0
1628
1629 2003-10-28  André Pönitz  <poenitz@gmx.net>
1630
1631         * lyxtext.h:
1632         * metricsinfo.C:
1633         * paragraph_funcs.C:
1634         * rowpainter.C:
1635         * text.C:
1636         * text2.C: general cleanup (lots of small stuff)
1637
1638 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1639
1640         * text2.C (cursorEnd): simple fix to the "end key goes to one
1641         before the end on last row" bug
1642
1643 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1644
1645         * text.C (backspace): fix the "zombie characters"
1646
1647 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1648
1649         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1650
1651 2003-10-27  André Pönitz  <poenitz@gmx.net>
1652
1653         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1654
1655         * factory.C: handle new InsetPagebreak, InsetLine
1656
1657         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1658         and move handling into new InsetPagebreak, InsetLine
1659
1660         * BufferView_pimpl.C:
1661         * LyXAction.C:
1662         * ParagraphParameters.C:
1663         * ParameterStruct.h:
1664         * lyxfunc.C:
1665         * lyxtext.h:
1666         * paragraph.C:
1667         * paragraph.h:
1668         * paragraph_funcs.C:
1669         * paragraph_pimpl.C:
1670         * rowpainter.C:
1671         * text.C:
1672         * text2.C:
1673         * text3.C: adjust
1674
1675 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1676
1677         * text.C:
1678         * lyxrow_funcs.[Ch]:
1679         * Bidi.C:
1680         * paragraph.C:
1681         * lyxtext.h:
1682         * rowpainter.C:
1683         * text2.C:
1684         * text3.C: remove lastPos uses in favour of Row::endpos
1685
1686 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1687
1688         * undo.C (performUndoOrRedo): fix two crashes by setting a
1689         cursor by hand and reordering some calls. Use bv->lockInset instead
1690         of inset->edit because the latter loses cursor information
1691
1692 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1693
1694         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1695         by Martin
1696         (rowBreakPoint): fix width. change point to point + 1.
1697         Add a missing check.
1698
1699 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1700
1701         * MenuBackend.C:
1702         * lyxfunc.C: fix (at least partly) the problems
1703         with the Nav menu and headers inside branch insets
1704         reported by Kayvan
1705
1706 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1707
1708         * paragraph.C (getChar): add strong asserts
1709
1710         * lyxrow_funcs.C (lastPos): remove hideous hack
1711
1712         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1713         (fill): adjust to that (avoid an infinite loop)
1714
1715 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1716
1717         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1718
1719 2003-10-23  André Pönitz  <poenitz@gmx.net>
1720
1721         * RowList_fwd.h: change list<> to vector<> to gain speed
1722         after suggestion from Alfredo
1723
1724 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1725
1726         * lyxtext.h: move the bidi stuff from here...
1727         * text.C: and here
1728         * text2.C: and here
1729         * Bidi.[Ch]: ... to here
1730
1731 2003-10-23  André Pönitz  <poenitz@gmx.net>
1732
1733         * lyxtext.h:
1734         * text.C (isLastRow, isFirstRow): new functions
1735
1736         * paragraph.h: new width cache member
1737
1738         * rowpainter.C: replace RowList::iterator with Row & where possible
1739
1740         * lyxfunc.C: replace several view()->text with a single call
1741
1742         * toc.C: fix 'unused' warning
1743
1744 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1745
1746         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1747         when woring with stream::pos_type
1748         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1749
1750 2003-10-22  André Pönitz  <poenitz@gmx.net>
1751
1752         * lyxtext.h:
1753         * text.C: use Row & instead of RowList::iterator
1754
1755         * lyxrow.h: rename end() to endpos()
1756
1757         * rowpainter.C:
1758         * text.C:
1759         * text2.C: adjust
1760
1761 2003-10-22  Angus Leeming  <leeming@lyx.org>
1762
1763         * buffer.[Ch] (fully_loaded): new member function, returning true
1764         only when the file has been loaded fully.
1765         Used to prevent the premature generation of previews and by the
1766         citation inset to prevent computation of the natbib-style label.
1767
1768         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1769         templates are all set up.
1770
1771         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1772
1773 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1774
1775         * text.C: fixed an "oops" in the "is a bit silly"
1776         bug fix
1777
1778 2003-10-21  André Pönitz  <poenitz@gmx.net>
1779
1780         * FuncStatus.[Ch]: small stuff, whitespace
1781
1782         * lyxfont.[Ch]: operator<<() for debug reasons
1783
1784         * lyxfunc.C:
1785         * lyxrow_funcs.C:
1786         * lyxtext.h: whitespace, spelling
1787
1788         * paragraph.C: naming of variables
1789
1790         * text.C:
1791         * text2.C: small stuff
1792
1793
1794 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1795
1796         * text.C: (1) finish off the inset display() work;
1797         (2) fix the "is a bit silly" bug (accessing char
1798         past end of par).
1799
1800 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1801
1802         * text.C: re-introduce display() for insets, fixing the
1803         various bugs (stretch of line above, math inset
1804         positioning, ...)
1805
1806 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1807
1808         * text.C (rightMargin): remove spurious semicolon
1809
1810         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1811         1415)
1812
1813 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1814
1815         * text3.C: fix one crash due to wrong cursor def
1816
1817 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1818
1819         * vc-backend.C (scanMaster): make the regex static
1820
1821         * LaTeX.C (scanAuxFile): make the regexs static
1822
1823         * text3.C (doInsertInset, dispatch, dispatch):
1824         * text2.C (cursorUp, cursorDown):
1825         * text.C (selectNextWordToSpellcheck):
1826         * BufferView_pimpl.C (dispatch):
1827         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1828
1829 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1830
1831         * lyxsocket.C: include <cerrno>
1832
1833 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1834
1835         * lyxfunc.C (dispatch): remove textcache stuff
1836
1837         * bufferlist.C (release): remove textcache stuff
1838         (closeAll): ditto
1839
1840         * TextCache.C: delete file
1841         * TextCache.h: delete file
1842
1843         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1844
1845         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1846         delete of the bv_->text.
1847         (resizeCurrentBuffer): remove texcache stuff
1848         (workAreaResize): ditto
1849
1850 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1851
1852         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1853         action.
1854
1855 2003-10-16  André Pönitz  <poenitz@gmx.net>
1856
1857         * lyxrow.[Ch]:
1858         * paragraph.h:
1859         * rowpainter.C:
1860         * text.C:
1861         * text2.C:
1862         * text3.C: speed up by storing y positions per paragraph plus per-row
1863         offset instead of having a 'full' y position in the row.
1864
1865 2003-10-15  André Pönitz  <poenitz@gmx.net>
1866
1867         * iterators.[Ch]:
1868         * iterators.[Ch]:
1869         * undo.[Ch]: make undo aware of inner insets
1870
1871 2003-10-14  Angus Leeming  <leeming@lyx.org>
1872
1873         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1874         static member functions LyX::ref() and LyX::cref.
1875         (lastfiles): new accessor functions for the new lastfiles_ member var.
1876         (addLyXView, views_): add a new LyXView to the list of views_.
1877         (updateInset): loop over all LyXViews to call their own updateInset
1878         member function, returning a pointer to the Buffer owning the inset.
1879
1880         * BufferView_pimpl.C (loadLyXFile):
1881         * MenuBackend.C (expandLastfiles):
1882         * bufferlist.C (MenuWrite, QuitLyX):
1883         lastfiles is no longer a global variable.
1884         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1885
1886         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1887         static function. Access through LyX::cref().emergencyCleanup().
1888
1889 2003-10-14  André Pönitz  <poenitz@gmx.net>
1890
1891         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1892
1893         * undo.[Ch]: restoring part of 'undo in insets'
1894
1895         * Makefile.am:
1896         * undo_funcs.[Ch]: merge with undo.[Ch]
1897
1898         * tabular.C: small cleansing stuff
1899
1900 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1901
1902         * paragraph_funcs.C (readParToken): report unknown insets as error
1903         boxes. Use the outer paragraph as location (also for unknown
1904         tokens).
1905
1906         * factory.C (readInset): do not abort on reading an unknown inset.
1907         Eat it and return 0.
1908
1909 2003-10-13  Angus Leeming  <leeming@lyx.org>
1910
1911         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1912
1913         * lyxrc.C: displayTranslator is now a function,
1914         declared in GraphicsTypes.h.
1915
1916 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1917
1918         * format.C: new placeholder $$a to pass the socket address.
1919
1920         * bufferlist.[Ch]: new function getBufferFromTmp.
1921
1922         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1923           files in the temporary dir.
1924
1925 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1926
1927         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1928
1929         * Makefile.am: add lyxsocket.[Ch].
1930
1931         * lyx_main.C (error_handler): handle SIGPIPE.
1932
1933 2003-10-13  André Pönitz  <poenitz@gmx.net>
1934
1935         * BufferView_pimpl.C:
1936         * lyxtext.h:
1937         * text.C:
1938         * text2.C:
1939         * text3.C:
1940         * undo_funcs.[Ch]: use paroffset_type instead of
1941           ParagraphList::iterators to prevent multiple conversion
1942           (and get a more robust interface)
1943
1944 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1945
1946         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1947         * lyxtext.h: ditto
1948         * text3.C (dispatch): ditto
1949
1950 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1951
1952         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1953         move the onlyfile, use onlyfile instead of foundfile in a couple
1954         of places.
1955
1956         * DepTable.C (update): flush the error stream a bit more
1957
1958 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * lyxserver.C (callback): adjust
1961
1962         * lyxfunc.C (getStatus): add a missing brace in commented code
1963         (ensureBufferClean): reindent
1964         (dispatch): delete version taking a string
1965
1966 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1967
1968         * LaTeX.C (deplog): move found file handlig from here...
1969         (handleFoundFile): .. to new function here.
1970         (deplog): make sure to discover several files mentioned on the
1971         same log line.
1972
1973 2003-10-10  André Pönitz  <poenitz@gmx.net>
1974
1975         * lyxfunc.C:
1976         * lyxtext.h:
1977         * tabular.C:
1978         * text.C:
1979         * text2.C:
1980         * text3.C: fix some of the tabular crashes
1981
1982 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1983
1984         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1985
1986         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1987
1988 2003-10-09  André Pönitz  <poenitz@gmx.net>
1989
1990         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1991
1992         * BufferView.C:
1993         * BufferView_pimpl.C:
1994         * bufferview_funcs.C:
1995         * lyx_cb.C:
1996         * lyxcursor.C:
1997         * lyxfind.C:
1998         * lyxfunc.C:
1999         * lyxtext.h:
2000         * text.C:
2001         * text2.C:
2002         * text3.C:
2003         * text_funcs.[Ch]:
2004         * textcursor.[Ch]:
2005         * undo_funcs.C: adjust
2006
2007 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2008
2009         * text2.C (incrementItemDepth): new function, use a backtracking
2010         algorithm to discover the correct item depth.
2011         (resetEnumCounterIfNeeded): new function, use a backtracking
2012         algorithm to discover if counter reset is needed.
2013         (setCounter): use them. Simplify a bit. Add different labels for
2014         different item depths for itemize.
2015
2016         * paragraph.C (Paragraph): remove initialization of enumdepth
2017         (operator=): ditto
2018
2019         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2020         enumerate and itemize. Change the type of itemdepth to signed char.
2021
2022 2003-10-08  André Pönitz  <poenitz@gmx.net>
2023
2024         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2025           thing assignable.
2026         * text.C:
2027         * text2.C: adjust
2028
2029         * tabular.[Ch]: fix crash after 'row-insert'
2030
2031 2003-10-08  Angus Leeming  <leeming@lyx.org>
2032
2033         Fix doxygen warnings.
2034
2035         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2036         Remove CutAndPaste:: prefix from header file declaration.
2037
2038         * LColor.h (fill): remove LColor:: prefix from declaration.
2039
2040         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2041         use lyx::depth_type rather than Paragraph::depth_type so that
2042         header file and .C file match.
2043
2044         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2045
2046         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2047         * aspell.C: \file aspell_local.C -> \file aspell.C
2048         * gettext.C: \file gettext.C -> \file src/gettext.C
2049         * gettext.h: \file gettext.h -> \file src/gettext.h
2050         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2051         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2052         * text.C: \file text.C -> \file src/text.C
2053
2054         * toc.C: move comment so that doxygen is not confused.
2055
2056 2003-10-07  Angus Leeming  <leeming@lyx.org>
2057
2058         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2059
2060 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2061
2062         * aspell.C:
2063         * aspell_local.h: add forgotten std::string's.
2064
2065 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2066
2067         * LaTeXFeatures.C:
2068         * LyXAction.C:
2069         * factory.C:
2070         * lfuns.h:
2071         * lyxfunc.C:
2072         * text3.C: The Box patch. Fancybox support, minipage, parbox
2073
2074 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2075
2076         * CutAndPaste.h:
2077         * DepTable.h:
2078         * FloatList.h:
2079         * LaTeXFeatures.h:
2080         * ParagraphParameters.h:
2081         * TextCache.h:
2082         * Thesaurus.h:
2083         * bufferlist.h:
2084         * exporter.h:
2085         * importer.h:
2086         * lastfiles.h:
2087         * lyxfind.h:
2088         * lyxfont.h:
2089         * lyxlex.h:
2090         * lyxtextclasslist.h:
2091         * messages.h:
2092         * paragraph.h:
2093         * paragraph_pimpl.C:
2094         * textcursor.h: add <string> and other small fixes to make Lars'
2095         std::string patch compile with STLport.
2096
2097 2003-10-06  Angus Leeming  <leeming@lyx.org>
2098
2099         * LColor.h: Add missing #include <string>.
2100
2101 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * All most all file in all subdirs: Make <string> be the prefered
2104         way of getting to std::string, add using declarations.
2105
2106 2003-10-06  André Pönitz  <poenitz@gmx.net>
2107
2108         * metricsinfo.C: initialize LyXFont before changing attribute.
2109         (fixes the 'math in \emph is upright' bug)
2110
2111 2003-10-06  André Pönitz  <poenitz@gmx.net>
2112
2113         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2114
2115 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2116
2117         * graph.C:
2118         * paragraph_pimpl.C: Small fixes to build using STLport
2119
2120 2003-10-02  André Pönitz  <poenitz@gmx.net>
2121
2122         * lyxfunc.C:
2123         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2124
2125 2003-10-01  André Pönitz  <poenitz@gmx.net>
2126
2127         * factory.C: assert early
2128
2129 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * lyx_main.C: remove the global debug object
2132
2133         * debug.h: adjust for new debugstream
2134
2135         * debug.C: adjust for new debugstream and keep the global debug
2136         object here.
2137
2138 2003-09-22  Angus Leeming  <leeming@lyx.org>
2139
2140         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2141         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2142         an incomplete class LyXFont.
2143
2144 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2145
2146         * factory.C: bug fix in branches
2147
2148 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2149
2150         * lyxfunc.C (processKeySym): adjust
2151         (dispatch): adjust
2152         (dispatch): change arg name from ev to func, adjust
2153         (sendDispatchMessage): ditto
2154
2155         * lyx_main.C (defaultKeyBindings): adjust keybindings
2156         (deadKeyBindings): ditto
2157
2158         * kbsequence.C (addkey): return a FuncRequest
2159
2160         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2161
2162         * kbmap.C (bind): take a FuncRequest as arg, adjust
2163         (read): adjust
2164         (lookup): adjust
2165         (defkey): change to take a FuncRequest as arg, adjust
2166         (findbinding): take a FuncRequest as arg, adjust.
2167
2168         * funcrequest.h (operator=): added
2169
2170         * funcrequest.C (FuncRequest): default kb_action changed from
2171         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2172
2173         * buffer.C (dispatch): simplify
2174         (dispatch): adjust to take a FuncRequest as arg, adjust
2175
2176         * boost.C (assertion_failed): change assertion message slightly
2177
2178         * ToolbarBackend.C (read): simplify
2179
2180         * MenuBackend.C (binding): adjust call to findbinding, add a
2181         message if no binding is found.
2182         (read): simplify
2183         (expandToc): correct by adding a empty FuncRequest
2184
2185         * LyXAction.C: include <boost/assert.hpp>
2186         (isPseudoAction): delete function
2187         (LookupFunc): change name to...
2188         (lookupFunc): this. change return type to FuncRequest.
2189         (getActionName): take kb_action as arg, simplify
2190         (funcHasFlag): add an assert, simplify.
2191
2192 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2193
2194         * toc.C (action): return a FuncRequest, simplify
2195
2196         * lyxfunc.C (processKeySym): adjust
2197         (getStatus): delete version that takes an int.
2198         (getStatus): adjust
2199         (dispatch): delete version that takes action as int
2200         (dispatch): adjust
2201         (sendDispatchMessage): simplify and adjust
2202
2203         * funcrequest.C (getArg): take unsigned int as arg
2204
2205         * ToolbarBackend.C (read): adjust
2206         (add): delete version that takes func as a string.
2207         (getIton): take a FuncRequest as arg
2208
2209         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2210         action.
2211
2212         * MenuBackend.C (MenuItem): add a new construct that only takes a
2213         Kind, simplify the constructor use for submenus.
2214         (add): adjust
2215         (expandLastfiles): adjust
2216         (expandDocuments): adjust
2217         (expandFormats): adjust
2218         (expandFloatListInsert): adjust
2219         (expandFloatInsert): adjust
2220         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2221
2222         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2223         Remove class variables lyx_pseudo_map and lyx_arg_map
2224
2225         * LyXAction.C (searchActionArg): delete function
2226         (getPseudoAction): delete function
2227         (retrieveActionArg): delete function
2228         (LookupFunc): make it return kb_action, simplify.
2229         (getActionName): simplify
2230
2231         * factory.C (createInset): fix new bug
2232
2233 2003-09-19  Angus Leeming  <leeming@lyx.org>
2234
2235         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2236         masterFilename_ parameter in the include inset.
2237
2238         * factory.C (createInset): changes due to the changes to InsetInclude.
2239
2240 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2241
2242         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2243
2244 2003-09-18  Angus Leeming  <leeming@lyx.org>
2245
2246         * buffer.C:
2247         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2248         Inset::fillWithBibKeys.
2249         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2250
2251 2003-09-18  Angus Leeming  <leeming@lyx.org>
2252
2253         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2254         variables.
2255         (ctor): pass and store a 'Buffer const &'
2256         (buffer): new member function.
2257
2258         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2259         '*this' to the LaTeXFeatures ctor.
2260
2261 2003-09-18  Angus Leeming  <leeming@lyx.org>
2262
2263         * LColor.h:
2264         * lyxfont.C:
2265         * lyxfont.h:
2266         * lyxtext.h:
2267         * text.C: rename EnumLColor as LColor_color.
2268
2269 2003-09-18  Angus Leeming  <leeming@lyx.org>
2270
2271         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2272         remove #include "insets/insetbase.h" from cursor.h.
2273
2274 2003-09-18  Angus Leeming  <leeming@lyx.org>
2275
2276         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2277         InsetOld_code to remove #include "inset.h".
2278
2279         * iterators.C: add #include "insets/inset.h"
2280
2281 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2282
2283         * BufferView.C: remove more locking stuff that apparently doesn't
2284         do anything sensible.
2285
2286 2003-09-16  André Pönitz  <poenitz@gmx.net>
2287
2288         * paragraph.[Ch]:
2289         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2290           performance boost.
2291
2292 2003-09-16  Angus Leeming  <leeming@lyx.org>
2293
2294         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2295
2296         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2297         arg/return type.
2298
2299         * paragraph.h: remove #include "lyxfont.h". Forward declare
2300         LyXFont_size.
2301
2302 2003-09-16  Angus Leeming  <leeming@lyx.org>
2303
2304         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2305         of support/textutils.h.
2306         (isWord): move the contents of support/textutils.h's IsWordChar here.
2307
2308         * buffer.C:
2309         * lyxfind.C:
2310         * rowpainter.C:
2311         * text.C:
2312         * text2.C: add #include "paragraph.h".
2313
2314         * rowpainter.C:
2315         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2316
2317 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * main.C:
2320         * lyx_main.C:
2321         * lyx_cb.C:
2322         * buffer.C:
2323         * LaTeX.C: use namespace alias for lyx::support::os
2324
2325 2003-09-16  Angus Leeming  <leeming@lyx.org>
2326
2327         * bufferparams.C:
2328         * bufferview_funcs.C:
2329         * factory.C:
2330         * lyxfunc.C:
2331         * paragraph_pimpl.C:
2332         * rowpainter.C:
2333         * text.C: add #include "LColor.h".
2334
2335 2003-09-16  Angus Leeming  <leeming@lyx.org>
2336
2337         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2338         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2339         return LyXFont &.
2340         Store the FontBits::color variable as an int rather than as an
2341         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2342         file.
2343
2344         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2345         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2346         string calls together.
2347
2348         * lyxrc.C: add #include "LColor.h".
2349
2350 2003-09-15  Angus Leeming  <leeming@lyx.org>
2351
2352         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2353         a cow_ptr.
2354
2355 2003-09-15  Angus Leeming  <leeming@lyx.org>
2356
2357         * LColor.h: add an EnumLColor wrapper for LColor::color.
2358
2359         * lyxfont.[Ch] (color, setColor, realColor):
2360         * lyxtext.h, text.C (backgroundColor):
2361         pass EnumLColor args to/from the functions, rather than LColor::color
2362         ones.
2363
2364         * lyxfont.h:
2365         * lyxtext.h: forward declare EnumLColor.
2366
2367         * lyx_main.C: add #include "LColor.h".
2368
2369 2003-09-15  Angus Leeming  <leeming@lyx.org>
2370
2371         * .cvsignore: add lyx-gtk.
2372
2373 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2374
2375         * Chktex.C
2376         * LaTeX.C
2377         * LaTeXFeatures.C
2378         * ParagraphParameters.C
2379         * Spacing.C
2380         * buffer.C
2381         * bufferparams.C
2382         * bufferview_funcs.C
2383         * chset.C
2384         * counters.C
2385         * funcrequest.C
2386         * lyxfont.C
2387         * lyxgluelength.C
2388         * lyxlength.C
2389         * paragraph.C
2390         * paragraph_funcs.C
2391         * text3.C
2392         * vc-backend.C: remove usage of STRCONV
2393
2394 2003-09-15  Angus Leeming  <leeming@lyx.org>
2395
2396         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2397         explicitly define the color passed to the painter.
2398
2399 2003-09-15  Angus Leeming  <leeming@lyx.org>
2400
2401         * bufferparams.C (BufferParams): reorder member initializers to avoid
2402         compiler warning.
2403
2404 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2405
2406         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2407         * text.C (updateRowPositions): remove an unusual nop
2408
2409 2003-09-12  André Pönitz  <poenitz@gmx.net>
2410
2411         * BufferView_pimpl.C:
2412         * Bullet.C:
2413         * layout.h:
2414         * lyxfunc.C:
2415         * lyxlayout.[Ch]:
2416         * lyxtextclass.C:
2417         * rowpainter.C:
2418         * text.C:
2419         * text2.C:
2420         * Counters.[Ch]: finish the 'automatic counters' job
2421
2422 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2423
2424         * aspell.C: include <boost/assert.cpp> (compile fix)
2425
2426 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2427
2428         * boost.C (assertion_failed): use lyx::support::abort instead of
2429         assert.
2430
2431 2003-09-10  Angus Leeming  <leeming@lyx.org>
2432
2433         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2434         with their _fwd progeny.
2435
2436 2003-09-09  Angus Leeming  <leeming@lyx.org>
2437
2438         134 files throughtout the source tree: replace 'using namespace abc;'
2439         directives with the appropriate 'using abc::xyz;' declarations.
2440
2441 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2442
2443         * boost.C (emergencyCleanup): moved here from LAssert.c
2444         (assertion_failed): new function, called by BOOST_ASSERT
2445
2446         * several files: change Assert to BOOST_ASSERT
2447
2448 2003-09-09  Angus Leeming  <leeming@lyx.org>
2449
2450         * buffer.[Ch]: Add an Impl class and move Buffer's member
2451         variables into it. As a result move several header files out of
2452         buffer.h.
2453
2454         Add header files to lots of .C files all over the tree as a result.
2455
2456 2003-09-09  Angus Leeming  <leeming@lyx.org>
2457
2458         * buffer.[Ch]: make Buffer's member variables private. Add
2459         accessor functions.
2460
2461         Lots of changes all over the tree as a result.
2462
2463 2003-09-08  Angus Leeming  <leeming@lyx.org>
2464
2465         * graph.C: #include <config.h>.
2466
2467 2003-09-08  Angus Leeming  <leeming@lyx.org>
2468
2469         * BranchList.C:
2470         * BufferView.C:
2471         * BufferView_pimpl.C:
2472         * CutAndPaste.C:
2473         * DepTable.C:
2474         * LaTeX.C:
2475         * LaTeXFeatures.C:
2476         * LyXAction.C:
2477         * MenuBackend.C:
2478         * TextCache.C:
2479         * aspell.C:
2480         * buffer.C:
2481         * bufferlist.C:
2482         * changes.C:
2483         * chset.C:
2484         * converter.C:
2485         * counters.C:
2486         * debug.C:
2487         * graph.C:
2488         * ispell.C:
2489         * lyx_cb.C:
2490         * lyxfind.C:
2491         * lyxfunc.C:
2492         * lyxlex_pimpl.C:
2493         * lyxrc.C:
2494         * lyxrow.C:
2495         * paragraph.C:
2496         * rowpainter.C:
2497         * texrow.C:
2498         * text.C:
2499         * text2.C:
2500         * toc.C: remove redundant using directives.
2501
2502 2003-09-07  Angus Leeming  <leeming@lyx.org>
2503
2504         * LaTeXFeatures.h: remove #include "support/types.h".
2505         * ToolbarBackend.h: remove #include <algorithm>.
2506         * changes.h: remove #include <ctime>.
2507         * debug.h: remove #include <iosfwd>.
2508         * graph.h: remove #include "support/std_string.h".
2509         * lyx_main.h: remove #include <csignal>.
2510         * lyxlex_pimpl.h: remove #include <fstream>.
2511         * sgml.h: remove #include <algorithm>, <utility>.
2512         * toc.h: remove #include "support/std_ostream.h".
2513         Add #include <iosfwd>.
2514
2515 2003-09-07  Angus Leeming  <leeming@lyx.org>
2516
2517         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2518
2519         * converter.h: forward declare LatexRunParams.
2520         * encoding.h: remove #include "lyxrc.h".
2521         * lyxtext.h: remove #include "LColor.h".
2522         * lyxtextclass.h: remove #include "support/types.h".
2523         * trans.h: remove #include "tex-accent.h".
2524         * trans_mgr.h: remove #include "tex-accent.h".
2525         * insets/inset.h: remove #include "support/types.h", <vector>.
2526         * insets/insetcollapsable.h: remove #include "LColor.h".
2527         * insets/insetinclude.h: remove #include "dimension.h".
2528         * insets/insetlatexaccent.h: remove #include "dimension.h".
2529         * insets/insetoptarg.h:: remove #include "insettext.h".
2530         * insets/insettext.h: remove #include "dimension.h",
2531         <boost/shared_ptr.hpp>
2532
2533         * insets/renderers.h: add #include "dimension.h".
2534         * insets/updatableinset.h: add #include "support/types.h".
2535
2536         * many .C files: Associated changes.
2537
2538 2003-09-06  Angus Leeming  <leeming@lyx.org>
2539
2540         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2541         one, inside testInvariant.
2542
2543         * PrinterParams.C: new file.
2544         * PrinterParams.[Ch]: move the function bodies out of line.
2545
2546 2003-09-06  Angus Leeming  <leeming@lyx.org>
2547
2548         * ParagraphParameters.h: forward declare ParameterStruct rather than
2549         including its header file.
2550         (depth): moved out-of-line.
2551
2552 2003-09-06  Angus Leeming  <leeming@lyx.org>
2553
2554         * BufferView_pimpl.h:
2555         * kbmap.h:
2556         * kbsequence.h:
2557         * lyxfunc.h: forward declare LyXKeySym rather than
2558         #include "frontends/LyXKeySym.h".
2559
2560         * BufferView_pimpl.C:
2561         * kbmap.C:
2562         * kbsequence.C:
2563         * lyxfunc.C: associated changes.
2564
2565 2003-09-06  Angus Leeming  <leeming@lyx.org>
2566
2567         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2568         As a result, can remove the #include "insets/inset.h" from BufferView.h
2569
2570 2003-09-06  Angus Leeming  <leeming@lyx.org>
2571
2572         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2573         As a result, can remove the #include "insets/inset.h" from BufferView.h
2574
2575 2003-09-06  Angus Leeming  <leeming@lyx.org>
2576
2577         * buffer_funcs.C:
2578         * buffer.h:
2579         * bufferlist.C:
2580         * BufferView.C:
2581         * bufferview_funcs.C:
2582         * BufferView_pimpl.C:
2583         * CutAndPaste.C:
2584         * lyx_cb.C:
2585         * lyxfunc.C:
2586         * paragraph.h:
2587         * ParagraphParameters.C:
2588         * tabular.C:
2589         * text3.C:
2590         * toc.C:
2591         * undo_funcs.C:
2592         * frontends/controllers/ControlDocument.C:
2593         * insets/insetcaption.C: rearrange the #includes into some sort of
2594         coherent order.
2595
2596         * buffer.h: remove #includes ErrorList.h, undo.h
2597
2598 2003-09-06  Angus Leeming  <leeming@lyx.org>
2599
2600         * support/types.h: add a 'depth_type' typedef, used to store the
2601         nesting depth of a paragraph.
2602
2603         * paragraph.h:
2604         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2605         defining explicitly.
2606
2607         * buffer.h:
2608         * paragraph_funcs.h:
2609         * ParagraphParameters.h:
2610         * sgml.h: use lyx::depth_type rather than Paragraph or
2611         ParameterStruct's depth_type.
2612
2613         * buffer.h
2614         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2615
2616         * BufferView.C:
2617         * BufferView_pimpl.C:
2618         * CutAndPaste.C:
2619         * ParagraphParameters.C:
2620         * buffer_funcs.C:
2621         * bufferlist.C:
2622         * bufferview_funcs.C:
2623         * lyx_cb.C:
2624         * lyxfunc.C:
2625         * tabular.C:
2626         * text3.C:
2627         * toc.C:
2628         * undo_funcs.C:
2629         * frontends/LyXView.C:
2630         * frontends/controllers/ControlDocument.C:
2631         * frontends/controllers/ControlErrorList.C:
2632         * insets/insetbibitem.C:
2633         * insets/insetbranch.C:
2634         * insets/insetcaption.C:
2635         * insets/insetcollapsable.C:
2636         * insets/insetenv.C:
2637         * insets/insetert.C:
2638         * insets/insetfloat.C:
2639         * insets/insetfoot.C:
2640         * insets/insetfootlike.C:
2641         * insets/insetnewline.C:
2642         * insets/insetquotes.C:
2643         * insets/insettabular.C:
2644         * insets/insettext.C:
2645         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2646
2647         * frontends/controllers/ControlChanges.C: #include "changes.h".
2648
2649 2003-09-06  Angus Leeming  <leeming@lyx.org>
2650
2651         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2652         than #including paragraph.h.
2653
2654         * ParagraphList.h:
2655         * RowList.h: deleted. Superfluous.
2656
2657         * CutAndPaste.h:
2658         * iterators.h:
2659         * lyxcursor.h:
2660         * lyxtext.h:
2661         * text_funcs.h:
2662         * undo.h:
2663         * undo_funcs.h:
2664         * insets/inset.h:
2665         * insets/insettext.h: use ParagraphList_fwd.h rather than
2666         ParagraphList.h.
2667
2668         * paragraph.h: don't forward declare ParagraphList.
2669
2670         * buffer.h:
2671         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2672         rather than ParagraphList.h. paragraph.h is still needed for the
2673         Paragraph::depth_type parameters.
2674
2675         * textcursor.h: enable it to compile stand-alone in light of the
2676         above changes.
2677
2678         * bufferview_funcs.C:
2679         * iterators.C:
2680         * lyxfunc.C:
2681         * lyxrow_funcs.C:
2682         * paragraph.C:
2683         * rowpainter.C:
2684         * text.C:
2685         * text2.C:
2686         * text3.C:
2687         * text_funcs.C:
2688         * textcursor.C:
2689         * undo.C:
2690         * frontends/controllers/ControlParagraph.C:
2691         * frontends/controllers/ControlTabular.C:
2692         * insets/insetmarginal.C:
2693         * insets/insetminipage.C:
2694         * insets/insetnote.C:
2695         * insets/insetoptarg.C: add header files needed to compile again.
2696
2697 2003-09-06  Angus Leeming  <leeming@lyx.org>
2698
2699         * RowList_fwd.h: new file, forward-declaring Row rather than
2700         #including lyxrow.h.
2701
2702         * lyxrow_funcs.h:
2703         * lyxtext.h:
2704         * paragraph.h:
2705         * insets/insettext.h: use it instead of RowList.h
2706
2707         * bufferview_funcs.C:
2708         * lyxfunc.C:
2709         * lyxrow_funcs.C:
2710         * paragraph.C:
2711         * rowpainter.C:
2712         * text.C:
2713         * text2.C:
2714         * text3.C: #include "RowList.h".
2715
2716 2003-09-05  Angus Leeming  <leeming@lyx.org>
2717
2718         * factory.C (createInset):
2719         * vspace.C (c-tor): replace sscanf call with an istringstream.
2720         * ispell.C: re-add missing HP/UX headers.
2721         * lyxserver.C: re-add missing  os2 headers.
2722
2723 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2724
2725         * BranchList.C:
2726         * graph.C:
2727         * ispell.C:
2728         * lastfiles.C:
2729         * lyx_cb.C:
2730         * lyxserver.C:
2731         * texrow.C:
2732         * text3.C: re-add missing system headers, needed for 2.95.2.
2733
2734 2003-09-05  Angus Leeming  <leeming@lyx.org>
2735
2736         Changes most place everywhere due to the removal of using directives
2737         from support/std_sstream.h.
2738
2739 2003-09-05  Angus Leeming  <leeming@lyx.org>
2740
2741         Replace LString.h with support/std_string.h,
2742         Lsstream.h with support/std_sstream.h,
2743         support/LIstream.h with support/std_istream.h,
2744         support/LOstream.h with support/std_ostream.h.
2745
2746         Changes resulting throughout the tree.
2747
2748 2003-09-05  Angus Leeming  <leeming@lyx.org>
2749
2750         * sgml.h: ensure that the header file can be compiled stand-alone.
2751         * *.C: strip out redundant #includes. (320 in total.)
2752
2753 2003-09-04  Angus Leeming  <leeming@lyx.org>
2754
2755         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2756         here (from getPackages).
2757
2758         * debug.[Ch]: add a new EXTERNAL tag.
2759
2760 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2761
2762         * text2.C (cursorEnd): simplify
2763         (setCursor): adjust
2764         (getColumnNearX): adjust
2765
2766         * text.C (computeBidiTables): adjust
2767         (fill): adjust
2768
2769         * rowpainter.C (paintChars): adjust
2770         (paintSelection): adjust
2771         (paintChangeBar): adjust
2772         (paintText): adjust
2773
2774         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2775         lastPos instead.
2776         (numberOfSeparators): adjust
2777
2778 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2779
2780         * LyXAction.C:
2781         * box.[Ch]:
2782         * lfuns.h:
2783         * lyxfunc.C:
2784         * text3.C: Restricts the mouse click functionality
2785         of insets like bibtex, include, toc and floatlist to the visible
2786         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2787         up the dialogs. Cursor has to be in front of the inset (i.e.
2788         start of row) for this to function.
2789
2790 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2791
2792         * bufferview_funcs.C (currentState): output row information
2793
2794 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2795
2796         * bufferview_funcs.C (currentState): output paragraph position
2797
2798 2003-09-04  Angus Leeming  <leeming@lyx.org>
2799
2800         * FloatList.h: move out #include "Floating.h".
2801         * LaTeX.h: move out #include "DepTable.h".
2802         * LyXAction.h: move out #include "funcrequest.h".
2803         * buffer.h: move out #include "author.h", "iterators.h".
2804         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2805         * lyx_main.h: move out #include "errorlist.h".
2806         * lyxfunc.h: move out #include "FuncStatus.h".
2807         * lyxtext: move out #include "lyxcursor.h".
2808         * paragraph_pimpl.h: move out #include "counters.h".
2809
2810 2003-09-03  Angus Leeming  <leeming@lyx.org>
2811
2812         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2813         preamble_snippets list, enabling us to add snippets to the preamble
2814         only if the snippet was not there already.
2815
2816 2003-09-04  Angus Leeming  <leeming@lyx.org>
2817
2818         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2819
2820 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2823         update
2824
2825 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2826
2827         * BranchList.C: point fix, earlier forgotten
2828
2829 2003-09-02  Angus Leeming  <leeming@lyx.org>
2830
2831         * box.C (contains): renamed from 'contained' after a fantastic
2832         amount of hot air.
2833
2834 2003-09-02  John Levon  <levon@movementarian.org>
2835
2836         * BufferView.C:
2837         * lyxcursor.h:
2838         * lyxcursor.C:
2839         * lyxfunc.C:
2840         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2841
2842 2003-09-02  John Levon  <levon@movementarian.org>
2843
2844         * text2.C: simplification of cursorEnd(), including partial
2845         fix for bug 1376
2846
2847 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * buffer.C (readFile): add a space
2850
2851 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2852
2853         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2854
2855 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * buffer.C (readFile): new function, take a filename and a
2858         ParagraphList::iterator
2859         (readFile): adjust
2860         (readFile): adjust, make it private. don't use setStream, make
2861         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2862         always contain the filename.
2863
2864         * BufferView.C (insertLyXFile): simplify and make it work for
2865         gzipped files.
2866
2867 2003-08-30  John Levon  <levon@movementarian.org>
2868
2869         * Makefile.am: fix dist (from Kayvan)
2870
2871 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * most files: change to use const Buffer refs
2874
2875 2003-08-27  André Pönitz  <poenitz@gmx.net>
2876
2877         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2878         on top of ownerPar().
2879
2880 2003-08-27  John Levon  <levon@movementarian.org>
2881
2882         * funcrequest.C: properly initialise POD members
2883
2884 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2885
2886         * lyxtext.h (top_y): move top_y from here
2887         * text.C:
2888         * text2.C:
2889         * text3.C:
2890         * BufferView.[Ch]:
2891         * BufferView_pimpl.[Ch]: to here
2892         * frontends/screen.C:
2893         * insets/insettabular.C:
2894         * insets/insettext.C: adjust
2895         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2896
2897 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2898
2899         * BufferView.[Ch]:
2900         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2901
2902 2003-08-26  André Pönitz  <poenitz@gmx.net>
2903
2904         * paragraph_func.[Ch] (outerPar): new function
2905
2906         * paragraph.C:
2907         * paragraph_funcs.C:
2908         * paragraph_funcs.h:
2909         * paragraph_pimpl.C:
2910         * text2.C: remove Inset::par_owner
2911
2912 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2913
2914         * lyxrow_funcs.C:
2915         * lyxtext.h:
2916         * text.C:
2917         * text2.C: eliminates the needFullRow/display() stuff
2918         altogether, putting the logic in metrics/draw in the insets.
2919
2920 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2921
2922         * text2.C (redoParagraphInternal, redoParagraphs):
2923         * text.C (redoParagraph): add a call to updateRowPositions at the
2924         end of each 'metrics-like' call. Remove all others.
2925         (getRow): remove the 'y-computing' version.
2926         (getRowNearY): do not compute nor return the real y. Solve the
2927         'y < 0' problem and simplify.
2928
2929 2003-08-22  Angus Leeming  <leeming@lyx.org>
2930
2931         * *.[Ch]: clean-up of licence and author blurbs.
2932         Also move config.h out of a few .h files and into a few .C files.
2933
2934 2003-08-22  André Pönitz  <poenitz@gmx.net>
2935
2936         * lyxrow.[Ch]: add x_ and *fill_ members
2937
2938         * lyxtext.h:
2939         * text.C:
2940         * rowpainter.C:
2941         * text2.C: adjust/remove prepareToPrint() calls
2942
2943 2003-08-22  André Pönitz  <poenitz@gmx.net>
2944
2945         * lyxrow.[Ch]: add  end_ member
2946
2947         * lyxrow_funcs.C: use LyXRow::end_
2948
2949         * lyxtext.h (singleWidth): add LyXFont parameter
2950
2951         * rowpainter.C:
2952         * text2.C: adjust LyXText::singleWidth() calls
2953
2954         * text.C (redoParagraph): simplify row breaking logic
2955
2956
2957 2003-08-19  André Pönitz  <poenitz@gmx.net>
2958
2959         * funcrequest.C: initialize button_ member
2960
2961         * text3.C:
2962         * rowpainter.[Ch]: interface consolidation
2963
2964 2003-08-18  André Pönitz  <poenitz@gmx.net>
2965
2966         * BufferView.C:
2967         * BufferView_pimpl.C:
2968         * lyxfind.C:
2969         * paragraph_funcs.C:
2970         * rowpainter.C:
2971         * text3.C: remove LyXScreen::draw() and fitCursor calls
2972
2973         * BranchList.h: remove spurious semicolons
2974
2975         * MenuBackend.C: fix branchlist related crash
2976
2977 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2978
2979         * BranchList.[Ch]:
2980         * InsetList.[Ch]:
2981         * LColor.[Ch]:
2982         * LyXAction.C:
2983         * Makefile.am:
2984         * MenuBackend.[Ch]:
2985         * bufferparams.[Ch]:
2986         * factory.C:
2987         * lfuns.h:
2988         * lyxfunc.C:
2989         * text3.C: implements the 'branch inset'
2990         idea. This allows the output of various versions of a document
2991         from a single source version, selectively outputing or suppressing
2992         output of parts of the text.
2993         This implementation contains a 'branch list editor' in a separate
2994         tab of the document settings dialog. Branches are user definable
2995         and have a "display colour" to distinguish them on-screen.
2996
2997         ColorHandler was somewhat cleaned up.
2998         (1) make possible a dynamically growing LColor list by allowing
2999         the graphic context cache to grow along (vector);
3000         (2) eliminate an IMHO unnecessary step in colour allocation.
3001
3002 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3003
3004         * BufferView_pimpl.C: compile fix
3005
3006 2003-08-15  André Pönitz  <poenitz@gmx.net>
3007
3008         * rowpainter.C: remove extra metrics calls
3009
3010         * lyxtext.h: merge the two constructors into a single one,
3011           pass reference to owner's par list
3012
3013         * BufferView_pimpl.C:
3014         * text.C:
3015         * text2.C: adjust
3016
3017 2003-08-15  André Pönitz  <poenitz@gmx.net>
3018
3019         * lyxrow_funcs.[Ch]:
3020         * lyxtext.h:
3021         * paragraph.h:
3022         * paragraph_funcs.C:
3023         * rowpainter.C:
3024         * text.C:
3025         * text2.C:
3026         * text3.C:
3027         * text_funcs.C: split LyXText::rowlist_ into individual
3028         Paragraph::rows_ chunks
3029
3030         * BufferView.[Ch]:
3031         * BufferView_pimpl.[Ch]:
3032         * lyxfind.C:
3033         * lyxtext.h:
3034         * text3.C: remove toggleSelection()
3035
3036 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3037
3038         * bufferlist.C: beautify two alerts (shorter text of buttons)
3039         * buffer.C: Remove redundant ' ' from message
3040         * tabular.h:
3041         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3042         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3043         rename VALIGN_CENTER to VALIGN_MIDDLE
3044
3045 2003-08-11  André Pönitz  <poenitz@gmx.net>
3046
3047         * lyxtext.h (getPar):
3048         * text.C: new function
3049
3050 2003-08-11  André Pönitz  <poenitz@gmx.net>
3051
3052         * Makefile.am:
3053         * tracer.[Ch]: remove unneeded files
3054
3055         * InsetList.[Ch]: remove resizeInsetsLyXText()
3056
3057         * lyxtext.h:
3058         * text.C:
3059         * text2.C:
3060         * text3.C: merge insertParagraphs() and appendParagraph()
3061         remove breakAgain(), update()
3062
3063         * BufferView_pimpl.[Ch]:
3064         * bufferview_funcs.[Ch]:
3065         * lyxfunc.C:
3066         * paragraph.[Ch]:
3067         * rowpainter.C:
3068         * tabular.C: adjust after text & InsetList changes.
3069
3070 2003-08-08  André Pönitz  <poenitz@gmx.net>
3071
3072         * text.C (insertChar, backspace): replace rowlist fiddling
3073         with rebreak of full par
3074
3075         * lyxtext.h:
3076         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3077         checkParagraph, updateInset): removed
3078
3079 2003-08-07  André Pönitz  <poenitz@gmx.net>
3080
3081         * paragraph.C:
3082         * text3.C: merge some LFUN handlers, remove dead code
3083
3084 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3085
3086         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3087
3088 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3089
3090         * text2.C (DEPM): fix part of bug 1255 and 1256
3091
3092 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3093
3094         * BufferView_pimpl.C (workAreaDispatch): change to use
3095         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3096         that are no mouse related.
3097
3098 2003-08-05  André Pönitz  <poenitz@gmx.net>
3099
3100         * BufferView.[Ch]:
3101         * BufferView_pimpl.[Ch]:
3102         * bufferview_funcs.C:
3103         * text2.C:
3104         * text3.C: rip out "deep update"
3105
3106         * textcursor.[Ch] (last_sel_cursor): remove unused member
3107
3108 2003-08-04  André Pönitz  <poenitz@gmx.net>
3109
3110         * BufferView.[Ch]:
3111         * BufferView_pimpl.[Ch]:
3112         * ParagraphParameters.C:
3113         * bufferview_funcs.C:
3114         * lyx_cb.C:
3115         * lyxfind.C:
3116         * lyxfunc.C:
3117         * text.C:
3118         * text2.C:
3119         * text3.C: replace "complicated" BufferView::update(...) calls with
3120         simpler ones.
3121
3122         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3123
3124 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3125
3126         * Makefile.am (lyx_SOURCES): add paper.h
3127
3128 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3129
3130         * Makefile.am: move things around so that both lyx-qt and
3131         lyx-xforms can be built (according to --with-frontend). Then lyx
3132         is a symbolic link to lyx-[firstfrontend]
3133
3134 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3135
3136         * Always use std::endl with lyxerr
3137
3138 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3139
3140         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3141
3142 2003-08-01  André Pönitz  <poenitz@gmx.net>
3143
3144         * BufferView.[Ch]:
3145         * BufferView_pimpl.[Ch]:
3146         * lyxfunc.C:
3147         * text3.C: merge BufferView::repaint() and BufferView::update()
3148
3149 2003-08-01  José Matos  <jamatos@lyx.org>
3150
3151         * buffer.[Ch]: file_format is no longer a buffer data element.
3152
3153 2003-08-01  André Pönitz  <poenitz@gmx.net>
3154
3155         * BufferView.C:
3156         * lyxtext.h:
3157         * text.C:
3158         * text2.C: make redoParagraph more independent of current cursor
3159
3160         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3161         * text.C:
3162         * text2.C: remove unneeded members
3163
3164 2003-07-30  André Pönitz  <poenitz@gmx.net>
3165
3166         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3167
3168         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3169           create a single function...
3170
3171         * paragraph_funcs.C (moveItem): ... here.
3172
3173         * text.C:
3174           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3175
3176 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3177
3178         * LColor.[Ch]: Add comment and greyedout logical colors.
3179
3180 2003-07-30  André Pönitz  <poenitz@gmx.net>
3181
3182         * tabular.C: don't use Assert too heavily. This crashes where it
3183           shouldn't
3184
3185 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3188         is disabled (bug 1232)
3189
3190 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3191
3192         * factory.C: limited 'arg' scope
3193
3194 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3195
3196         * factory.C: fixed Note submenu issues
3197
3198 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3199
3200         * factory.C: submenu for Note/Comment/Greyedout
3201
3202 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * lyx_main.C (LyX):
3205         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3206
3207 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3208
3209         * LaTeXFeatures.C:
3210         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3211         greyedout. Patch provided by Jürgen Spitzmüller.
3212
3213 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3214
3215         * kbmap.C (read): fix error message when reading bind files
3216
3217 2003-07-29  Angus Leeming  <leeming@lyx.org>
3218
3219         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3220         certainly does not do what it purports to do. I am doing it, and
3221         us, a favour by killing it.
3222
3223 2003-07-28  José Matos  <jamatos@lyx.org>
3224
3225         * buffer.C (readBody, do_writeFile):
3226         * paragraph.C(readParagraph): \end_document replaces \the_end.
3227
3228 2003-07-29  André Pönitz  <poenitz@gmx.net>
3229
3230         * BufferView.[Ch]:
3231         * BufferView_pimpl.[Ch]:
3232         * lyxfunc.C:
3233         * text2.C:
3234         * text3.C:
3235         * textcursor.[Ch]: remove toggleToggle & Co
3236
3237 2003-07-28  José Matos  <jamatos@fep.up.pt>
3238
3239         * buffer.C (readParagraph):
3240         * params_func (readParToken, readParagraph):
3241         * paragraph.C (write): \layout -> \begin_layout.
3242
3243 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * lyxlex_pimpl.C (setFile): clean up slightly.
3246
3247         * bufferparams.h: add compressed var
3248
3249         * buffer_funcs.C (readFile): adjust for LyXLex change
3250         (newFile): ditto + simplify
3251
3252         * buffer.C (writeFile): handle writing of compressed files
3253
3254         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3255         Check if the file is compressed and set a bufferparm if so.
3256
3257         * Makefile.am (lyx_LDADD): remove explicit -lz
3258
3259 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3260
3261         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3262         makeDocBookFile): put the real LyX version in the first line of
3263         the file
3264
3265         * version.h:
3266         * version.C.in: remove lyx_docversion
3267
3268         * tabular.C (write_attribute): add a template-based version to
3269         write enums properly
3270
3271 2003-07-28  André Pönitz  <poenitz@gmx.net>
3272
3273         * lyxtext.h:
3274         * text.C:
3275         * text2.C:
3276         * text3.C: use doubles again for x-coordinates. They are needed.
3277
3278 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * messages.C (getLocaleDir): use lyx_localedir()
3281
3282         * lyxlex_pimpl.C (setFile): compress stuff
3283
3284         * buffer.C (writeFile): add some compression stuff
3285         (do_writeFile): new func, dont call expliti close... will this
3286         breake anything?
3287
3288         * Makefile.am (lyx_LDADD): add -lz
3289
3290 2003-07-28  José Matos  <jamatos@fep.up.pt>
3291
3292         * buffer.C: increment file format.
3293         * paragraph_funcs (readParagraph, readParToken):
3294         * paragraph.C (readParagraph): add \end_layout.
3295
3296 2003-07-27  Angus Leeming  <leeming@lyx.org>
3297
3298         * Makefile.am: remove special casing for configure-time setting of
3299         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3300
3301         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3302         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3303
3304 2003-07-26  André Pönitz  <poenitz@gmx.net>
3305
3306         * paragraph_func.[Ch]:
3307         * paragraph.C (realizeFont): inline it whereever it is used
3308
3309         * rowpainter.C:
3310         * text.C:
3311         * text2.C:
3312         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3313
3314
3315 2003-07-26  André Pönitz  <poenitz@gmx.net>
3316
3317         *       lyxtext.h:
3318         * text.C:
3319         * text2.C: get rid of LyXText::need_break_row
3320
3321 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3322
3323         * toc.[Ch]: put namespace toc inside namespace lyx
3324
3325         * MenuBackend.C (expandToc2): adjust for lyx::toc
3326         (expandToc): ditto
3327
3328         * lyxfunc.C (dispatch): adjust for lyx::find
3329
3330         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3331         lyx::find instead. Reorganize a bit.
3332         (LyXReplace): rename to replace
3333         (LyXFind): rename to find
3334
3335         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3336         (dispatch): ditto
3337
3338 2003-07-26  André Pönitz  <poenitz@gmx.net>
3339
3340         * text.C (setHeightOfRow): restrict scope of temporary variable
3341
3342         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3343           code (never has been used?)
3344
3345 2003-07-27  Asger Alstrup  <alstrup@local>
3346
3347         * text.C (fill): Optimise algorithm to exploit that we can reuse
3348         the LyXFont for many characters.
3349         (setHeightOfRow): Same thing.
3350         (rowBreakPoint): Same thing.
3351
3352 2003-07-26  Asger Alstrup  <alstrup@local>
3353
3354         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3355
3356         * text.C (singleWidth): Spurious font copying in hot-spot
3357         singleWidth avoided. Reorder tests for arabic for efficiency.
3358
3359         * text.C (fill): handle empty paragraphs better.
3360
3361 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3362
3363         * ispell.C:
3364         * encoding.h: add includes
3365
3366         * lyxrc.C: remove reading of bind files
3367
3368         * lyx_main.C (init): setup bindings and menus only if we have a
3369         gui.
3370
3371         * kbmap.C (read): new method. Do the actual reading of bind
3372         files.
3373
3374         * converter.C (dvipdfm_options):
3375         * bufferparams.C:
3376         * lyxrc.C (read):
3377         (output): adapt PAPER_* enums.
3378
3379         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3380
3381         * bufferparams.h: remove paper-related enums from there
3382
3383         * paper.h: New file. A trivial header file to hold paper-related
3384         enums. It should later expand to contain many paper-related
3385         horrors access.
3386
3387         * lyxrc.C: declare extern displayTranslator
3388
3389 2003-07-27  José Matos  <jamatos@fep.up.pt>
3390
3391         * tabular.[Ch] (linuxdoc): add support for tables and figures
3392         (linuxdoc).
3393
3394 2003-07-27  José Matos  <jamatos@fep.up.pt>
3395
3396         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3397         consistency in both functions.
3398         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3399
3400 2003-07-26  Asger Alstrup  <alstrup@local>
3401
3402         * rowpainter.C (paintRows): Change algorithm to work directly on
3403         the insets rather than asking every character in the document
3404         whether its an inset.
3405
3406 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3407
3408         * buffer.C (openFileWrite): factorize some code
3409
3410 2003-07-26  Angus Leeming  <leeming@lyx.org>
3411
3412         * lyx_cb.C:
3413         * lyx_main.[Ch]: replace occurances of system_tempdir with
3414         os::getTmpDir().
3415
3416 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * rename Inset to InsetOld
3419
3420 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3421
3422         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3423         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3424         which I think is a bit clearer. EDIT is gone, since it was
3425         premature optimisation, and broken for mathed anyway.
3426         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3427         with cursor positioning in insets as well (math insets still do not
3428         work, but that's a different story anyway.) It mysteriously
3429         crashes sometimes with undo in the first paragraph, but I'm fairly
3430         confident that this is a compiler bug.
3431
3432 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * paragraph.C (Paragraph): adjust for new clone return type
3435         (operator==): ditto
3436         (copyIntoMinibuffer): ditto
3437
3438 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3439
3440         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3441         by not having a special case, and always doing a full rebreak of
3442         the document after undo.
3443
3444 2003-07-23  Angus Leeming  <leeming@lyx.org>
3445
3446         * factory.C (createInset): InsetExternal::setParams now takes a
3447         Buffer const * arg.
3448
3449 2003-07-23  Angus Leeming  <leeming@lyx.org>
3450
3451         * factory.C (createInset): changed interface to the external and
3452         graphics mailers' string2params functions.
3453
3454 2003-07-23  Angus Leeming  <leeming@lyx.org>
3455
3456         * factory.C (createInset): pass a
3457         Buffer const * parameter to InsetExternalMailer's string2params.
3458
3459 2003-07-22  John Levon  <levon@movementarian.org>
3460
3461         * Thesaurus.h: include the right aiksaurus header
3462
3463 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3464
3465         * MenuBackend.C (expand): check menu shortcuts unconditionally
3466
3467 2003-07-21  Angus Leeming  <leeming@lyx.org>
3468
3469         * factory.C (createInset): pass a
3470         buffer_path parameter to InsetGraphicsMailer's string2params.
3471
3472 2003-07-21  Angus Leeming  <leeming@lyx.org>
3473
3474         * BufferView_pimpl.C (buffer):
3475         * buffer.C (d-tor):
3476         * lyx_main.C (LyX):
3477         * lyxfunc.C (dispatch):
3478         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3479         rather than the grfx shortcut.
3480
3481 2003-07-21  André Pönitz  <poenitz@gmx.net>
3482
3483         * rowpainter.C: remove unused variables
3484
3485         * tabular_funcs.C:
3486         * tabular_funcs.h: move to tabular.C
3487         * Makefile.am: adjust
3488
3489         * tabular.[Ch]: basic optical cleaning
3490
3491         * author.h: pass references, not values
3492
3493 2003-07-18  André Pönitz  <poenitz@gmx.net>
3494
3495         * lyxtext.h:
3496         * metricsinfo.C:
3497         * metricsinfo.h:
3498         * rowpainter.C:
3499         * text.C:
3500         * text2.C:
3501         * text3.C: two-phase drawing for InsetText and InsetTabular
3502         some float -> int changes.
3503
3504 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3505
3506         * lyx_main.C: fix the fix
3507
3508 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * lyx_main.C: fix a crash in batch mode if no files specified
3511         * converter.C: ws
3512
3513 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * format.[Ch] (papersize): moved to BufferParams
3516         * converter.[Ch] (dvips_options): moved to BufferParams
3517         (dvipdfm_options): moved to anon namespace
3518         * bufferparams.[Ch]: added above functions.
3519
3520 2003-07-17  André Pönitz  <poenitz@gmx.net>
3521
3522         * lyxtext.h:
3523         * rowpainter.C:
3524         * text2.C: don't call inset->update() anymore
3525
3526         * metricsinfo.[Ch]: add convenience constructor
3527
3528 2003-07-16  André Pönitz  <poenitz@gmx.net>
3529
3530         * lyxcursor.[Ch]:
3531         * lyxfunc.[Ch]:
3532         * text.C:
3533         * text2.C: replace the LyXCursor::irow_ member with
3534          on-demand computation of the value
3535
3536 2003-07-16  John Levon  <levon@movementarian.org>
3537
3538         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3539
3540 2003-07-15  André Pönitz  <poenitz@gmx.net>
3541
3542         * text.C:
3543         * text2.C: remove no more needed refresh_row
3544
3545 2003-07-15  André Pönitz  <poenitz@gmx.net>
3546
3547         * lyxtext.h:
3548         * rowpainter.C:
3549         * text2.C:
3550         * text3.C: refresh_status tristate -> need_update bool
3551
3552 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3553
3554         * lyxtext.h (init): remove reinit argument (act as if always true)
3555         * text2.C: adjust to that
3556
3557 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3558
3559         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3560         * text3.C: use it to delete selections in some cases
3561         (bugs 441, 673, 702, 954).
3562
3563 2003-07-14  André Pönitz  <poenitz@gmx.net>
3564
3565         * rowpainter.[Ch]: reduce interface
3566
3567 2003-07-14  André Pönitz  <poenitz@gmx.net>
3568
3569         * BufferView_pimpl.C:
3570         * text2.C: adjust after removing unused BufferView * argument
3571
3572 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * text2.C (init): fix a crash fired on resize
3575
3576 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * buffer.[Ch]: added new closing signal
3579         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3580         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3581         BufferView::Pimpl via the closing the signal
3582
3583 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * buffer.[Ch]: take out all bv-related from buffer
3586         * BufferView.C:
3587         * BufferView_pimpl.[Ch]: connect to new signals
3588         * CutAndPaste.C: removed useless asserts
3589         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3590         * lyxvc.[Ch]:
3591         * vc-backend.[Ch]:
3592         * lyxfunc.C: moved view-related funciontality from vc here
3593         * paragraph.C: removed outdated comments
3594         * text.C: ws
3595
3596 2003-07-10  André Pönitz  <poenitz@gmx.net>
3597
3598         * BufferView_pimpl.C:
3599         * tabular.h:
3600         * tabular_funcs.C:
3601         * text.C:
3602         * text2.C: remove InsetText::InnerCache, clean up consequences
3603
3604 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3605
3606         * ispell.C: fix two typos in error messages
3607
3608 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3609
3610         * Extend Note inset to other forms of annotation like Comment
3611         and Greyedout. Right button click gives dialog.
3612
3613         Files modified or added (+):
3614
3615         * insetnote.[Ch]
3616         * FormNote.[Ch]      +
3617         * ControlNote.[Ch]   +
3618         * form_note.fd       +
3619         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3620         frontends/controllers
3621         * xforms/Dialogs.C
3622         * factory.C
3623
3624 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3625
3626         * aspell.C: add missing namespace lyx::support
3627
3628 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3629
3630         * BufferView.[Ch] (newFile): Add
3631         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3632         * LaTeX.[Ch] (message): added this signal and use it
3633         * buffer.[Ch] (busy, message): added these signals and use them
3634         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3635         * converter.C:
3636         * exporter.C:
3637         * format.C:
3638         * importer.C: use buffer signals instead of direct bv calling
3639         * lyx_cb.[Ch] (ShowMessage): removed
3640         * lyx_main.C:
3641         * lyxfunc.C:
3642         * paragraph_funcs.C:
3643         * text2.C: use buffer signals
3644
3645 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3646
3647         * introduce namespace lyx::graphics
3648
3649 2003-07-02  André Pönitz  <poenitz@gmx.net>
3650
3651         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3652
3653 2003-07-01  André Pönitz  <poenitz@gmx.net>
3654
3655         * text.C:
3656         * text2.C:
3657         * text3.C:
3658         * text_funcs.[Ch]:
3659         * textcursor.h:
3660         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3661           text*.C to text_func.C
3662
3663 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * introduce namespace lyx::support
3666
3667 2003-06-30  André Pönitz  <poenitz@gmx.net>
3668
3669         * Chktex.C:
3670         * funcrequest.C:
3671         * lyxtext.h:
3672         * text.C: re-enable --with-included-string
3673
3674 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3675
3676         * textcursor.C: add <config.h>
3677
3678         * text.C (getWord): remove const from word_location arg
3679
3680         * lyxvc.C (getLogFile): fix const type order
3681
3682         * lyxtext.h: remove const from word_location arg, add arg name
3683
3684         * lyxlayout.h: currect type on labeltype.
3685
3686         * importer.C: correct \file
3687
3688         * converter.C (intToFormat): use std:: on ret val, ws changes
3689
3690         * bufferlist.h: correct \file
3691
3692         * buffer.C (makeLinuxDocFile): fix const type order
3693         (makeDocBookFile): ditto
3694         (fillWithBibKeys): use std:: on stdlib args.
3695
3696         * CutAndPaste.C: fix authors.
3697         (availableSelections): use std:: on return vector
3698
3699 2003-06-27  André Pönitz  <poenitz@gmx.net>
3700
3701         * BufferView_pimpl.C:
3702         * bufferview_funcs.C:
3703         * lyxcursor.C:
3704         * lyxcursor.h:
3705         * lyxfunc.C:
3706         * lyxtext.h:
3707         * rowpainter.C:
3708         * text.C:
3709         * text2.C:
3710         * text3.C: remove LyXCursor::row_ member
3711
3712         * lyxtext.h:
3713         * text.C: rename fullRebreak() to partialRebreak() and implement
3714           a fullRebreak() that really bereks fully
3715
3716         * textcursor.h: new struct for cursor-related data
3717
3718 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3719
3720         * lyx_main.C (LyX): get full path of document loaded on the
3721         command line
3722
3723 2003-06-26  André Pönitz  <poenitz@gmx.net>
3724
3725         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3726           remove unused/broken operator>,<,>=.
3727
3728         *       text.C: remove only use of broken operator<= in an Assert().
3729
3730 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3731
3732         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3733         moved errorlist_.clear to showErrorList
3734
3735 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3736
3737         * converter.C (scanLog, runLaTeX):
3738         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3739         move the bv->showErrorList call to the callers
3740         * lyxfunc.C: i.e. here...
3741         * text2.C: and here
3742         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3743         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3744         namespace, the second to...
3745         * buffer_funcs (BufferFormat, parseErrors): added
3746         * errorlist.C (ErrorList(TeXErrors const &)): removed
3747
3748 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3749
3750         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3751
3752 2003-06-24  "Garst R. Reese" <reese@isn.net>
3753
3754         * debug.C: fix typo
3755
3756 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3757
3758         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3759
3760         * version.C.in: change docversion to 1.4
3761
3762 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3763
3764         * buffer.C: fix a bug just introduced
3765
3766 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3767
3768         * buffer.[Ch]: added the parseError signal and use it, removed
3769         sgmlError
3770         * BufferView.[Ch] (addError): moved to ...
3771         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3772         to the Buffer::parseError signal to catch (guess what) parse errors
3773         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3774
3775 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3778         ability to create a buffer and to return an existing one from
3779         the list. Moved these functions to...
3780         * buffer_funcs.[Ch]: added
3781         * BufferView.[Ch] (loadLyXFile): added
3782         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3783         job removed from bufferlist::loadLyXFile.
3784         * buffer.C (setReadOnly): make it work without view
3785         (i.e added an if (users))
3786
3787 2003-06-19  Angus Leeming  <leeming@lyx.org>
3788
3789         * lfuns.h:
3790         * LyXAction.C (init):
3791         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3792         with LFUN_DIALOG_SHOW <name> <data>.
3793
3794 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3795
3796         * CutAndPaste.C (availableSelections): small compilation fix for
3797         ancient (gcc 2.9x) compilers
3798
3799 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3800
3801         * text3.C (cursorNext): add tmp var
3802
3803         * text2.C (updateCounters): for function calling out of for clause
3804         (replaceSelectionWithString): ditto
3805         (insertStringAsParagraphs): ditto
3806         (getColumnNearX): add tmp var
3807         (setCursorFromCoordinates): add tmp var
3808         (cursorDownParagraph): add tmp var
3809         (deleteEmptyParagraphMechanism): add tmp var
3810
3811         * text.C (insertChar): add tmp var
3812
3813         * rowpainter.C (paintDepthBar): add tmp var
3814
3815         * CutAndPaste.C (availableSelections): potentially check all
3816         paragraphs in a cut to fill the shown strings.
3817
3818 2003-06-18  André Pönitz  <poenitz@gmx.net>
3819
3820         * kbmap.[Ch]: use vector<> instead of list<>
3821
3822 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3823
3824         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3825         pasteSelection with index
3826
3827         * text2.C (pasteSelection): modify, call pasteSelection with index
3828
3829         * paragraph.C (asString): reimplement version with no interval to
3830         call the one with interval.
3831
3832         * lyxtext.h: add index arg to pasteSelection
3833
3834         * MenuBackend.C (MenuItem): handle PasteRecent
3835         (Menu::read::Menutags): add md_pasterecent
3836         (read): handle it
3837         (expandPasteRecent): new function
3838         (expand): use it
3839
3840         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3841
3842         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3843         the limited stack
3844         (availableSelections): new function
3845
3846 2003-06-17  Angus Leeming  <leeming@lyx.org>
3847
3848         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3849
3850 2003-06-17  Angus Leeming  <leeming@lyx.org>
3851
3852         * lfuns.h:
3853         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3854
3855         * lyxfunc.C (dispatch): invoke it.
3856
3857 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3858
3859         * iterators.C (operator++, ParPosition): reintroduce some
3860         const_cast for the benefit of older compilers.
3861
3862 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3863
3864         * text3.C (dispatch): do not modify clipboard when doing
3865         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3866         LFUN_DELETE_SKIP on a selection selection
3867
3868 2003-06-16  André Pönitz  <poenitz@gmx.net>
3869
3870         * BufferView.C:
3871         * buffer.C:
3872         * buffer.h:
3873         * paragraph.C:
3874         * tabular.[Ch]: IU of clone() and getLabelList();
3875
3876 2003-06-13  André Pönitz  <poenitz@gmx.net>
3877
3878         * tabular.h: compactification
3879
3880 2003-06-12  André Pönitz  <poenitz@gmx.net>
3881
3882         * tabular.C:
3883         * tabular.h:
3884         * tabular_funcs.h: some renaming plus whitespace
3885
3886 2003-06-12  André Pönitz  <poenitz@gmx.net>
3887
3888         * BufferView.C:
3889         * BufferView_pimpl.C:
3890         * CutAndPaste.C:
3891         * buffer.C:
3892         * iterators.[Ch]:
3893         * lyxfunc.C:
3894         * text.C:
3895         * toc.C: Return a Paragraph & for ParIterator::operator*()
3896
3897 2003-06-11  John Levon  <levon@movementarian.org>
3898
3899         * lyx_main.C:
3900         * ToolbarBackend.h:
3901         * ToolbarBackend.C: add "Toolbars" section and
3902         put the flags there
3903
3904 2003-06-10  Angus Leeming  <leeming@lyx.org>
3905
3906         * lfuns.h:
3907         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3908
3909         * lyxfunc.C (dispatch): invoke it.
3910
3911 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * main.C: protect <ios> with HAVE_IOS
3914         (main): protect sync_with_stdio with HAVE_IOS
3915
3916 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3917
3918         * text2.C (cutSelection): adjust
3919         (pasteSelection): adjust
3920
3921         * messages.C: handle get of empty string
3922
3923         * main.C (main): use sync_with_stdio(false)
3924
3925         * lyxfunc.C (dispatch): adjust
3926
3927         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3928         (WriteAs): remove unneeded BufferView arg.
3929
3930         * bufferparams.h: use correct types on papersize, papersize2 and
3931         paperpackage.
3932
3933         * bufferparams.C (readToken): adjust for type
3934         (writeLaTeX): add missing cases to switch.
3935
3936         * bufferlist.C (quitWriteBuffer): adjust
3937         (close): adjust
3938
3939         * buffer.C (asciiParagraph): remove some commented code.
3940
3941         * CutAndPaste.C: remove current_view extern variable.
3942         (cutSelection): add BufferParams arg.
3943         (eraseSelection): add BufferParams arg.
3944         (pasteSelection): add Buffer const & arg
3945
3946 2003-06-07  John Levon  <levon@movementarian.org>
3947
3948         * buffer.C:
3949         * paragraph_funcs.C:
3950         * paragraph_pimpl.C:
3951         * text.C:
3952         * text2.C:
3953         * paragraph.h:
3954         * paragraph.C: allow InsetERT to freely space lines,
3955         and some consolidation of code
3956
3957 2003-06-06  José Matos  <jamatos@fep.up.pt>
3958
3959         * buffer.C (makeDocBookFile): fix bug #821
3960
3961 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3964
3965 2003-06-04  Angus Leeming  <leeming@lyx.org>
3966
3967         * buffer.C: bump format to 224.
3968
3969 2003-06-05  André Pönitz  <poenitz@gmx.net>
3970
3971         * text2.C (redoParagraphs): remove two const_cast<>
3972
3973 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3974
3975         * ParagraphList.h: remove last remnants of NO_STD_LIST
3976
3977 2003-06-03  Angus Leeming  <leeming@lyx.org>
3978
3979         * factory.C (createInset): small change to the way InsetExternal's params
3980         are set.
3981
3982 2003-06-04  André Pönitz  <poenitz@gmx.net>
3983
3984         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3985
3986         * paragraph_pimpl.h:
3987         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3988
3989         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3990
3991         * undo_funcs.C: make some simple cases of undo work again
3992
3993 2003-06-03  John Levon  <levon@movementarian.org>
3994
3995         * ispell.C: HPUX doesn't have sys/select.h
3996         (from Albert Chin)
3997
3998 2003-06-03  John Levon  <levon@movementarian.org>
3999
4000         * CutAndPaste.C: update tabular and include inset
4001         buffer references
4002
4003         * buffer.h:
4004         * paragraph.h:
4005         * paragraph.C: remove owningBuffer(), don't pass Buffer
4006         to clone()
4007
4008         * factory.C: insetGraphicsParams changed
4009
4010 2003-06-02  John Levon  <levon@movementarian.org>
4011
4012         * LyXAction.C:
4013         * factory.C:
4014         * lfuns.h:
4015         * lyxfunc.C:
4016         * text3.C: remove insetparent
4017
4018 2003-06-02  John Levon  <levon@movementarian.org>
4019
4020         * buffer.h:
4021         * buffer.C: fix inset_iterator.end(), move out of line
4022         (bug 1149)
4023
4024 2003-06-01  John Levon  <levon@movementarian.org>
4025
4026         * text3.C: use a proper cut/paste when doing inset
4027         insert (from Jürgen Spitzmüller)
4028
4029 2003-06-01  John Levon  <levon@movementarian.org>
4030
4031         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4032
4033 2003-05-30  André Pönitz  <poenitz@gmx.net>
4034
4035         * rowpainter.C: unify second drawing phase
4036
4037 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * trans_mgr.C: remove one case of current_view
4040
4041         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4042
4043         * paragraph_funcs.h: remove paragraph.h include
4044
4045         * paragraph.h: delete NO_STD_LIST stuff
4046
4047         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4048
4049         * buffer.h: remove paragraph.h include
4050
4051         * ParagraphList.C: delete file
4052
4053         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4054
4055         * toc.C (getTocList): adjust
4056
4057         * paragraph_pimpl.C (validate): adjust
4058
4059         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4060
4061         * paragraph.C (Paragraph): adjust
4062         (getPositionOfInset): use const_iterator, adjust
4063         (bibitem): use const_iterator, adjust
4064         (setInsetOwner): adjust
4065
4066         * iterators.C (operator++): adjust
4067
4068         * InsetList.[Ch]: Replace selfmade iterator with standard
4069         vector::iterator also introduce const_iterator. Remove getPos,
4070         getInset and setInset from InsetTable. Adjust accordingly.
4071
4072         * BufferView.C (lockInset): adjust
4073         (ChangeInsets): adjust
4074
4075         * tabular.[Ch]: delete commented same_id functions
4076
4077 2003-05-28  John Levon  <levon@movementarian.org>
4078
4079         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4080
4081 2003-05-28  André Pönitz  <poenitz@gmx.net>
4082
4083         * metricsinfo.[Ch]: remove 'fullredraw' member
4084
4085 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4086
4087         * lyxtextclass.C (operator): remove caching.
4088
4089 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * text3.C: adjust
4092
4093         * text2.C (cursorBottom): adjust
4094         (setCounter): use ParagraphList::find, adjust
4095
4096         * text.C (workWidth): use ParagraphList::find, adjust
4097
4098         * lyxcursor.C (LyXCursor): adjust
4099
4100         * buffer.C (inset_iterator): adjust
4101
4102         * ParagraphList.h: make iterator(value_type) private, make
4103         ParagraphList a friend of iterator.
4104
4105         * ParagraphList.C (find): new function
4106
4107         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4108
4109 2003-05-27  André Pönitz  <poenitz@gmx.net>
4110
4111         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4112
4113 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4114
4115         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4116
4117 2003-05-26  John Levon  <levon@movementarian.org>
4118
4119         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4120
4121 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * remove same_id from function signatures, adjust.
4124
4125 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4128
4129         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4130
4131         * paragraph.C (Paragraph): get rid of same_ids parameter
4132
4133         * ParagraphList.C (insert): adjust
4134         (push_back): adjust
4135
4136 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * paragraph_funcs.C (breakParagraph): adjust
4139         (breakParagraphConservative): adjust
4140
4141         * buffer.C (readParagraph): adjust
4142
4143         * ParagraphList.C (insert): take a reference instead of a pointer
4144         (insert): adjust
4145
4146         * paragraph.[Ch] (id): new function
4147
4148         * bufferlist.C (newFile): adjust
4149
4150         * ParagraphList.C (ParagraphList): adjust
4151         (assign): adjust
4152         (push_back): take a reference instead of a pointer.
4153
4154         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4155
4156         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4157         instead.
4158
4159         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4160         set else use old code.
4161
4162         * ParagraphList.C: remove all NO_NEXT code and only compile this
4163         code of NO_STD_LIST is set.
4164
4165 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4166
4167         * BufferView_pimpl.C:
4168         * TextCache.C:
4169         * TextCache.h:
4170         * bufferlist.C:
4171         * errorlist.h:
4172         * format.C:
4173         * format.h:
4174         * graph.C:
4175         * lyxfunc.C:
4176         * lyxrc.C:
4177         * graphics/GraphicsConverter.C:
4178         * graphics/PreviewLoader.C: header adjustment
4179
4180 2003-05-23  Angus Leeming  <leeming@lyx.org>
4181
4182         * LaTeXFeatures.[Ch] (useBabel): new method.
4183         * bufferparams.C (writeLaTeX): use it.
4184
4185 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * ParagraphList.h (set): remove unused function.
4188
4189 2003-05-23  André Pönitz  <poenitz@gmx.net>
4190
4191         * BufferView.C:
4192         * BufferView_pimpl.C:
4193         * buffer.C:
4194         * buffer.h:
4195         * lyxfunc.C:
4196         * undo_funcs.C: setUndo reworked
4197
4198         * iterators.[Ch]: add access to topmost ParagraphList
4199
4200         * lyxtext.[Ch] (workWidth): add a const
4201
4202 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * texrow.[Ch] (increasePos): remove function
4205         * exporter.C (export): removed unused var and outdated comment
4206
4207 2003-05-23  Angus Leeming  <leeming@lyx.org>
4208
4209         * latexrunparams.h: rename fragile as moving_arg.
4210         * paragraph.C (simpleTeXOnePar): ditto.
4211         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4212
4213 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4216         (createUndo): ditto
4217         (textUndoOrRedo): comment out a currently unused var.
4218
4219         * paragraph.h (NO_NEXT): enable NO_NEXT
4220
4221         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4222
4223         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4224
4225         * exporter.C (Export): adjust for removeAutoInsets removal.
4226
4227         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4228
4229         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4230
4231         * BufferView.[Ch] (removeAutoInsets): delete function
4232
4233 2003-05-22  Angus Leeming  <leeming@lyx.org>
4234
4235         * latexrunparams.h: add a free_spacing variable.
4236
4237         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4238         to pass moving_arg, as the data is stored in runparams.fragile.
4239
4240         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4241         to Inset::latexOptional or to simpleTeXOnePar.
4242
4243         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4244         free_spacing arg to Inset::latexOptional.
4245
4246         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4247         free_spacing arg.
4248
4249 2003-05-22  Angus Leeming  <leeming@lyx.org>
4250
4251         * latexrunparams.h: add fragile and use_babel variables.
4252
4253         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4254         * buffer.C (makeLaTeXFile): store this returned value in
4255         runparams.use_babel, thus passing it to the inset::latex methods.
4256
4257         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4258         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4259
4260         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4261         longer has a fragile arg, as it is stored in runparams.fragile.
4262
4263         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4264         moving_arg parameter as the data is stored in runparams.fragile.
4265
4266         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4267         a fragile parameter as the data is stored in runparams.fragile.
4268
4269 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4272
4273 2003-05-22  Angus Leeming  <leeming@lyx.org>
4274
4275         * latexrunparams.h: add a 'bool nice' which defaults to false.
4276
4277         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4278         now encapsulated within runparams.
4279
4280         * bufferlist.C (updateIncludedTeXfiles):
4281         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4282
4283 2003-05-22  Angus Leeming  <leeming@lyx.org>
4284
4285         * latexrunparams.h: new file containing struct LatexRunParams.
4286         * Makefile.am: add new file.
4287
4288         * LaTeX.[Ch] (c-tor, run):
4289         * buffer.[Ch] (makeLaTeXFile):
4290         * bufferlist.[Ch] (updateIncludedTeXfiles):
4291         * converter.C (convert, scanLog):
4292         * converter.[Ch] (runLaTeX):
4293         * exporter.C (Export):
4294         * paragraph.[Ch] (simpleTeXOnePar):
4295         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4296         * paragraph_funcs.[Ch] (latexParagraphs):
4297         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4298         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4299         pass around a LatexRunParams parameter.
4300
4301 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * paragraph.[Ch]: remove unused constructor
4304
4305         * ParagraphList.C (erase): new function, taking two iterators
4306
4307 2003-05-22  André Pönitz  <poenitz@gmx.net>
4308
4309         * undo_funcs.C: remove duplicated code
4310
4311         * iterator.[Ch]: operator=
4312
4313 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * tabular.C (SetMultiColumn): ws changes
4316
4317         * rowpainter.C (paintFirst): get rid of a ->previous
4318
4319         * lyx_cb.C (getPossibleLabel): parlist simplification
4320
4321         * BufferView.C (ChangeInsets): simplify slightly.
4322
4323 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4324
4325         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4326         * lfuns.h: new LFUN_SPACE
4327         * lyxfunc.C: protected space has a new lfun
4328         * paragraph_funcs.C: read new space insets
4329         * text3.C:
4330         * factory.C: handle new space insets
4331
4332 2003-05-22  André Pönitz  <poenitz@gmx.net>
4333
4334         * BufferView.C:
4335         * BufferView_pimpl.C:
4336         * buffer.[Ch]:
4337         * lyxfunc.C:
4338         * undo_funcs.C: return a ParIterator from getParFromID.
4339
4340         * iterators.[Ch]: add two const's
4341
4342 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * toc.C (getTocList): adjust
4345
4346         * iterators.[Ch]: rework for parlist
4347
4348         * buffer.C (par_iterator_begin): adjust
4349         (par_iterator_end): adjust
4350
4351         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4352
4353         * BufferView.C (removeAutoInsets): adjust
4354         (ChangeInsets): adjust
4355
4356 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * text.C (top_y): fix bug 1110
4359
4360 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * errorlist.[Ch]: added
4363         * buffer.C:
4364         * BufferView.[Ch]:
4365         * BufferView_pimpl.C:
4366         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4367         instead
4368
4369 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * Makefile.am: ensure that lyx is relinked upon changes to the
4372         various "convenience" libs.
4373
4374 2003-05-20  Angus Leeming  <leeming@lyx.org>
4375
4376         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4377         files are compiled in alphabetical order again.
4378
4379         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4380
4381 2003-05-19  Angus Leeming  <leeming@lyx.org>
4382
4383         * gettext.[Ch]: remove "char const * _(char const *)".
4384
4385 2003-05-19  André Pönitz  <poenitz@gmx.net>
4386
4387         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4388
4389         * Makefile.am:
4390         * BufferView.C:
4391         * DepTable.h:
4392         * LaTeXFeatures.C:
4393         * buffer.C:
4394         * lyxfont.C:
4395         * lyxlex.h:
4396         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4397
4398 2003-05-19  André Pönitz  <poenitz@gmx.net>
4399
4400         * buffer.C:
4401         * lyxlayout.[Ch]:
4402         * lyxtextclass.[Ch]:
4403         * paragraph.C:
4404         * paragraph_funcs.[Ch]:
4405         * text2.C:
4406         * text3.C: more insetenv work
4407
4408 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * ParagraphParameters.C (params2string): small bug fixed
4411
4412 2003-05-16  André Pönitz  <poenitz@gmx.net>
4413
4414         * debug.C:
4415         * bufferview_funcs.C: patch from Kornel Benko to prevent
4416           crash when _(...) is called twice in a statement
4417
4418 2003-05-16  André Pönitz  <poenitz@gmx.net>
4419
4420         * BufferView.C:
4421         * lyxfunc.C:
4422         * text.C:
4423         * text2.C:
4424         * text3.C:
4425         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4426
4427 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4428
4429         * lyx_main.C (init): remove spurious static_cast
4430
4431 2003-05-14  André Pönitz  <poenitz@gmx.net>
4432
4433         * BufferView.C: fix format string
4434
4435 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4436
4437         * BufferView.[Ch] (insertErrors): removed
4438         * BufferView.[Ch] (showErrorList): added
4439         * buffer.C (runChkTeX):
4440         * converter.C (scanLog): call showErrorList instead of inserterrors
4441
4442 2003-05-13  André Pönitz  <poenitz@gmx.net>
4443
4444         * BufferView_pimpl.C:
4445         * buffer.C:
4446         * bufferview_func.C:
4447         * MenuBackend.C:
4448         * lyxfunc.C:
4449         * lyxrc.C:
4450         * tex-accent.C:
4451         * text3.C:
4452         * toc.C:
4453         * tabular_funcs.h: tostr() from its own header
4454
4455         * ParagraphParameters.C:
4456         * ToolbarBackend.C:
4457         * bufferparams.C:
4458         * format.C:
4459         * lyxlex_pimpl.C:
4460         * text3.C: STRCONV()
4461
4462 2003-05-12  André Pönitz  <poenitz@gmx.net>
4463
4464         * BufferView.C:
4465         * BufferView_pimpl.C:
4466         * CutAndPaste.C:
4467         * LaTeX.C:
4468         * LaTeXFeatures.C:
4469         * ParagraphParameters.C:
4470         * buffer.C:
4471         * bufferlist.C:
4472         * bufferparams.C:
4473         * bufferview_funcs.C:
4474         * converter.C:
4475         * counters.C:
4476         * debug.C:
4477         * exporter.C:
4478         * format.C:
4479         * importer.C:
4480         * lyx_cb.C:
4481         * lyx_main.C:
4482         * lyxfont.C:
4483         * lyxfunc.C:
4484         * lyxvc.C:
4485         * paragraph.C:
4486         * paragraph_funcs.C:
4487         * tabular.C:
4488         * tabular_funcs.C:
4489         * text2.C:
4490         * text3.C:  boost::format -> bformat  all over the place
4491
4492
4493 2003-05-09  André Pönitz  <poenitz@gmx.net>
4494
4495         * LColor.[Ch]: Pimpl the #include <map> away
4496
4497 2003-05-09  John Levon  <levon@movementarian.org>
4498
4499         * bufferlist.C: never remove emergency saves
4500
4501 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4502
4503         * Makefile.am: better lib building
4504
4505 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4508         instead.
4509         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4510         (simpleTeXSpecialChars): adjust
4511         (simpleTeXSpecialChars): adjust
4512         * paragraph.C (simpleTeXOnePar): adjust
4513         * buffer.C (makeLaTeXFile): adjust
4514
4515         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4516
4517         * text2.C (changeDepth): parlist cleanup
4518         (getColumnNearX): ditto
4519
4520         * rowpainter.C (getLabelFont): parlist cleanup
4521
4522         * bufferlist.C (newFile): parlist cleanup
4523
4524         * CutAndPaste.C (eraseSelection): parlist cleanup
4525
4526         * BufferView_pimpl.C (trackChanges): parlist cleanup
4527         (dispatch): ditto
4528
4529         * BufferView.C (lockInset): parlist cleanup.
4530         (ChangeInsets): ditto
4531
4532 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * CutAndPaste.h: Update file header.
4535
4536         * CutAndPaste.C: Update file header.
4537         Store the parts cut out of the Document in a limited_stack.
4538         (copySelection): adjust
4539         (pasteSelection): new function, takes the index in the limited stack.
4540         (nrOfParagraphs): adjust
4541         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4542         simplify error inset insertion.
4543         (checkPastePossible): adjust
4544
4545 2003-05-06  John Levon  <levon@movementarian.org>
4546
4547         * text2.C: don't cast wrap inset to float
4548
4549 2003-05-05  André Pönitz  <poenitz@gmx.net>
4550
4551         * iterator.C:
4552         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4553
4554         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4555           few naked Paragraph *.
4556
4557 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4558
4559         * bufferparams.C: Output warning if a document with missing
4560         TeX document class is loaded
4561         * exporter.C: Disable TeX exports if the document class is missing
4562         * lyxtextclass.C:
4563         * lyxtextclass.h:
4564         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4565         isTeXClassAvailable()
4566
4567 2003-05-03  John Levon  <levon@movementarian.org>
4568
4569         * BufferView.h:
4570         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4571         explicit cursor show/hide
4572
4573         * BufferView_pimpl.h:
4574         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4575         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4576
4577         * lyxfunc.C: hide cursor before dispatching.
4578
4579         * lyx_cb.C:
4580         * lyxfind.C:
4581         * text.C:
4582         * text3.C: remove explicit cursor hides
4583
4584 2003-05-02  André Pönitz  <poenitz@gmx.net>
4585
4586         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4587
4588         * undo_funcs.C:
4589         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4590           linked lists
4591
4592         * text2.C: tiny whitespace
4593
4594 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * undo_funcs.C: almost only ws changes.
4597
4598         * ParagraphList.C (splice): just return if pl is empty.
4599
4600 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * ParagraphList.C (splice): new function.
4603
4604         * CutAndPaste.C (pasteSelection): use it
4605
4606 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * CutAndPaste.C (pasteSelection): remove the last next and
4609         previous from this file.
4610
4611 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * CutAndPaste.C (pasteSelection): more clean up, user proper
4614         ParagraphList functions for pasteing.
4615
4616         * ParagraphList.C (insert): new function, three arg insert
4617
4618 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * ParagraphList.C (insert): new function, three arg insert
4621
4622         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4623         not on paragraphs.
4624
4625 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4628
4629 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4632
4633 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4636         (copySelection): clean up a bit.
4637         (pasteSelection): use make_pair
4638
4639         * ParagraphList.C (ParagraphList): implement copy constructor
4640         (operator=): implement, base on copy constructor.
4641         (assign): new func
4642
4643         * paragraph.C (erase): return a bool
4644
4645         * paragraph_pimpl.C (erasePos): remove function, move contents...
4646         (erase): ... here. Return a bool.
4647         (erase): call erase instead of erasePos.
4648
4649 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4650
4651         * ParagraphList.h: define PitPosPair
4652         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4653         ParagraphList, fix a bug on pasting multiple pars
4654         * text2.C: change interface to C&P
4655
4656 2003-04-30  André Pönitz  <poenitz@gmx.net>
4657
4658         * undo_func.C: revert part of yesterday's patch 2
4659
4660 2003-04-30  John Levon  <levon@movementarian.org>
4661
4662         * LColor.C: s/tabular/table/
4663
4664 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * text3.C (dispatch): do not convert iterator -> pointer
4667         * undo_funcs.C (setCursorParUndo): ditto
4668         * text_funcs.C (transposeChars): ditto
4669
4670         * text2.C (setLayout): ws changes only
4671
4672         * text.C (breakParagraph): do not convert iterator -> pointer
4673         (insertChar): ditto
4674         (acceptChange): ditto
4675         (rejectChange): ditto
4676         (changeCase): ditto
4677         (Delete): ditto
4678         (backspace): ditto
4679
4680         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4681         pointer
4682
4683 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * text3.C (gotoInset): YABG (yet another bad getChar)
4686
4687 2003-04-29  André Pönitz  <poenitz@gmx.net>
4688
4689         * paragraph.h: make operator= private unimplemented as long as
4690           it is unusable
4691
4692         * ParagraphList.C: whitespace
4693
4694         * paragraph.[Ch]:
4695         * paragraph_pimpl.[Ch]:
4696         * paragraph_funcs.C:
4697         * CutAndPaste.C:
4698         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4699
4700         * text2.C:
4701           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4702
4703 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4706         * paragraph.[Ch] (erase):
4707         * paragraph_pimpl.[Ch] (erase): change return type and value
4708         * text2.C (cutSelection): some rework
4709
4710 2003-04-28  John Levon  <levon@movementarian.org>
4711
4712         * bufferlist.C: changes for unsaved changes dialog
4713
4714 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * bufferlist.C (newFile): set language (messages_) for new
4717         documents also.
4718
4719         * buffer.C (readFile): ws changes only.
4720
4721 2003-04-28  André Pönitz  <poenitz@gmx.net>
4722
4723         * undo_funcs.C:
4724         * lyxfunc.C:
4725         * buffer.[Ch]:
4726         * BufferView_pimpl.C:
4727         * BufferView.C: getParFromID related ParagraphList::iterator changes
4728
4729 2003-04-28  André Pönitz  <poenitz@gmx.net>
4730
4731         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4732           Changes
4733
4734 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * messages.C: remove one more localedir class variable.
4737
4738 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * messages.C (getLocaleDir): singleton generation function
4741         (Pimpl): use it.
4742         (Messages): add a default constructor.
4743
4744         * main.C (main): do not setup localedir here, do not call
4745         gettext_init.
4746
4747         * gettext.C (_): use it.
4748         (gettext_init): delete funciton
4749
4750 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4751
4752         * gettext.C (getLyXMessages): new singleton generating function.
4753
4754         * buffer.C (updateDocLang): adjust
4755
4756         * Makefile.am (messages.o): add target
4757         (main.o): remove target
4758
4759 2003-04-27  John Levon  <levon@movementarian.org>
4760
4761         * bufferlist.C:
4762         * lyx_cb.C:
4763         * lyxfunc.C:
4764         * lyxvc.C: specify cancel button in Alert::prompt
4765
4766 2003-04-26  John Levon  <levon@movementarian.org>
4767
4768         * text3.C:
4769         * lyxfunc.C:
4770         * lfuns.h:
4771         * LyXAction.C: add LFUN_INSET_SETTINGS
4772
4773         * lyxfunc.C: don't enable tabular-feature when there's
4774         just any locking inset
4775
4776 2003-04-26  John Levon  <levon@movementarian.org>
4777
4778         * bufferlist.C: re-add Cancel to buffer close question
4779
4780         * lyxfunc.C: fix import UI a bit
4781
4782 2003-04-25  John Levon  <levon@movementarian.org>
4783
4784         * gettext.C: remove the broken asserts for now
4785
4786 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * messages.C: make case where setlocale cannot comply work better.
4789
4790         * buffer.C (updateDocLang): new function
4791         (changeLanguage): use it
4792         (readFile): use it
4793
4794         * text2.C (setCounter): use B_ a bit.
4795
4796         * lyxlayout.C (Read): be sure to trim the label strings.
4797
4798         * messages.C (Messages): fix typo in comment
4799
4800         * buffer.C (readFile): set message_ after file is loaded.
4801         (makeDocBookFile): remove double return
4802         (changeLanguage): reset message_ upon language change.
4803         (B_): new func, use this to get translated buffer strings.
4804
4805         * main.C: add myself and Jean Marc as authors.
4806
4807 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * messages.[hC]: pimplify Messages, and three different pimpls to be
4810         used in different circumstances.
4811
4812         * gettext.[Ch]: change for use with new message code.
4813
4814 2003-04-24 André Pönitz <poenitz@gmx.net>
4815
4816         * factory.C: support for eqref
4817
4818 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * messages.[Ch]: add missing char
4821
4822         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4823
4824         * messages.[Ch]: New files
4825
4826 2003-04-18  John Levon  <levon@movementarian.org>
4827
4828         * BufferView.h:
4829         * BufferView.C:
4830         * BufferView_pimpl.C:
4831         * lfuns.h:
4832         * LyXAction.C:
4833         * lyxtext.h:
4834         * text2.C: remove layout-copy/paste (bug 778)
4835
4836 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4837
4838         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4839
4840 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4843         if they succeed. Act accordingly.
4844
4845 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4846
4847         * text2.C (setCharFont): adjust
4848         (setCounter): adjust
4849         (insertStringAsLines): adjust
4850
4851         * text.C (leftMargin): adjust
4852         (setHeightOfRow): adjust
4853
4854         * rowpainter.C (paintFirst): adjust
4855         (paintLast): adjust
4856
4857         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4858         (outerHook): ditto
4859         (isFirstInSequence): ditto
4860         (getEndLabel): ditto
4861         (outerFont): adjust
4862
4863         * paragraph.C (getParLanguage): comment out some hard stuff.
4864
4865         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4866         (sgmlError): ditto
4867         (simpleDocBookOnePar): ditto
4868         (makeDocBookFile): use ParagraphList::iterator
4869
4870         * CutAndPaste.C (pasteSelection): adjust
4871
4872 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * text2.C (getFont): adjust
4875         (getLayoutFont): adjust
4876         (getLabelFont): adjust
4877
4878         * paragraph_funcs.C (TeXOnePar): adjust
4879
4880         * buffer.C (simpleLinuxDocOnePar): adjust
4881         (simpleDocBookOnePar): adjust
4882
4883         * CutAndPaste.C (pasteSelection): adjust
4884
4885         * BufferView.C (getEncoding): adjust
4886
4887         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4888
4889 2003-04-16  John Levon  <levon@movementarian.org>
4890
4891         * lyxfind.C: use parlist stuff for search/changes
4892
4893 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4896
4897         * text2.C (deleteEmptyParagraphMechanism): adjust
4898
4899         * text2.[Ch] (ownerParagraph): delete func (both of them
4900
4901 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4904
4905 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * ParagraphList.C: prepare for NO_NEXT
4908
4909 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4910
4911         * text2.C (getFont): adjust
4912         (getLayoutFont): adjust
4913         (getLabelFont): adjust
4914
4915         * paragraph.C (getFont): adjust
4916         (getLabelFont): adjust
4917         (getLayoutFont): adjust
4918
4919         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4920
4921 2003-04-15  John Levon  <levon@movementarian.org>
4922
4923         From Angus Leeming
4924
4925         * lyx_main.C: handle Include in .ui files
4926
4927 2003-04-15  John Levon  <levon@movementarian.org>
4928
4929         * MenuBackend.C: make the doc files length shorter
4930
4931         * ToolbarBackend.h:
4932         * ToolbarBackend.C: handle toolbar placement flags,
4933         Minibuffer
4934
4935 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4938         adjust
4939
4940         * paragraph_funcs.C (TeXOnePar): adjust
4941
4942         * paragraph.C (getLabelFont): add outerfont arg, adjust
4943         (getLayoutFont): ditto
4944         (simpleTeXOnePar): adjust
4945
4946         * paragraph_pimpl.C (realizeFont): delete func
4947
4948 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4949
4950         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4951         row argument, constify cur argument.
4952
4953 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * text2.C (getFont): adjust
4956         (getLayoutFont): adjust
4957         (getLabelFont): adjust
4958
4959         * paragraph_funcs.C (TeXOnePar): adjust
4960         (outerFont): new func...
4961         (realizeFont): ...moved out from here, changed this to facilitate
4962         transition
4963
4964         * paragraph.C (getFont): take outerfont as arg, adjust
4965         (simpleTeXOnePar): add outerfont arg, adjust
4966
4967         * buffer.C (simpleLinuxDocOnePar): adjust
4968         (simpleDocBookOnePar): adjust
4969
4970         * CutAndPaste.C (pasteSelection): adjust
4971
4972         * BufferView.C (getEncoding): adjust
4973
4974 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * text2.C (setCharFont): adjust
4977         (setCounter): adjust
4978
4979         * text.C (leftMargin): adjust
4980         (setHeightOfRow): adjust
4981
4982         * rowpainter.C (paintFirst): adjust
4983         (paintLast): adjust
4984
4985         * paragraph_pimpl.C (realizeFont): adjust
4986
4987         * paragraph.C (isFirstInSequence): move from here...
4988         * paragraph_funcs.C (isFirstInSequence): ...to here
4989
4990         * paragraph.C (outerHook): move from here...
4991         * paragraph_funcs.C (outerHook): ...to here
4992
4993         * paragraph.C (depthHook): move from here...
4994         * paragraph_funcs.C (depthHook): ...to here
4995
4996         * paragraph.C (getEndLabel): move from here...
4997         * paragraph_funcs.C (getEndLabel): ...to here
4998
4999         * text2.C (realizeFont): move from here...
5000         * paragraph_funcs.C (realizeFont): ...to here
5001
5002 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5005
5006 2003-04-14  Angus Leeming  <leeming@lyx.org>
5007
5008         * LColor.[Ch]: scrap LColor mathcursor.
5009
5010 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * lyxlex.[Ch] (text): delete function
5013         * trans.C (Load): adjust
5014         * paragraph_funcs.C (readParToken): adjust
5015
5016 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5019         vector<char> instead of a char[].
5020
5021         * lyxlex_pimpl.C (getString): adjust
5022         (next): adjust
5023         (lex): use getString
5024         (eatLine): adjust
5025         (nextToken): adjust
5026
5027         * lyxlex.C (text): use pimpl_->getString()
5028         (getBool): ditto
5029         (findToken): ditto
5030
5031 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5034         (makeFontEntriesLayoutSpecific): temp var for par.size()
5035         (setLayout): temp var for ownerParagraphs().end()
5036         (fullRebreak): temp var for rows().end()
5037         (selectionAsString): temp var for boost::next(startpit), realize
5038         that the while really is a regular for loop.
5039         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5040         setCursor in one place.
5041         (setParagraph): temp vr for ownerParagraphs().end()
5042         (updateCounters): make the while loop a for loop
5043         (cutSelection): temp var for ownerParagraphs().end()
5044         (updateInset): make the do {} while() a regular for loop
5045         (getCursorX): use temp vars
5046         (setCurrentFont): use temp vars
5047         (getColumnNearX): use temp vars
5048
5049 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * text.C (transformChar): use temp var for getChar
5052         (computeBidiTables): use temp var for row->par()
5053         (fill): move temp vars for row->par() and pit->layout() earlier in
5054         the function.
5055         (labelFill): use temp var for row->par()
5056         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5057         asc and desc, realize that pit never changes and that firstpit is
5058         just a duplicate and not needed. Exchange rit->par() with pit in a
5059         lot of places.
5060         (breakAgain): use a temp var for boost::next(rit)
5061         (breakAgainOneRow): ditto
5062         (breakParagraph): use a temp var for rows().begin()
5063         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5064         (cursorRightOneWord): use temp var for cursor.par() and
5065         cursor.pos(), remove usage of tmpcursor.
5066         (cursorLeftOneWord): use temp var for cursor.par() and
5067         cursor.pos() only set cur at end of function.
5068
5069 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * text.C, text2.C: exchange all usage of Paragraph::next with
5072         boost::next(ParagraphList::iterator)
5073
5074         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5075
5076         * text2.C (cursorTop): simplify implementation
5077         (cursorBottom): ditto
5078         (setParagraph): use ParagraphList::iterator
5079         (setCurrentFont): adjust
5080         (getColumnNearX): adjust
5081         (cursorRight): adjust
5082         (cursorLeft): remove usage of Paragraph::previous
5083         (cursorUpParagraph): ditto
5084         (deleteEmptyParagraphMechanism): slight cleanup
5085
5086         * text.C (isBoundary): take a Paragraph const & instead of a
5087         pointer as arg.
5088         (addressBreakPoint): ditto
5089         (leftMargin): remove usage of Paragraph::previous.
5090         (setHeightOfRow): ditto
5091         (cursorLeftOneWord): ditto
5092         (selectNextWordToSpellcheck): ditto
5093         (Delete): ditto
5094         (backspace): ditto
5095         (breakParagraph): remove one usage of Paragraph::next
5096         (redoParagraph): ditto
5097         (acceptChange): ditto
5098         (insertChar): adjust
5099         (rowBreakPoint): adjust
5100
5101         * bufferview_funcs.C (toggleAndShow): adjust
5102
5103 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5106         methods to access it.
5107         * lyxtext.h:
5108         * text.C: Added updateRowPositions to compute all row positions.
5109         Make top_y and getRowNearY() to use the cached y position
5110
5111 2003-04-11  John Levon  <levon@movementarian.org>
5112
5113         * text.C (rowBreakPoint): reintroduce the labelEnd
5114         checks, code copied from the row fill stuff. Deep voodoo.
5115
5116         * text.C (fill): add a comment and debugging for the
5117         next poor soul.
5118
5119 2003-04-11  John Levon  <levon@movementarian.org>
5120
5121         * text.C: make sure fullrow insets get wrapped to the next line,
5122         even when they're in a manual label
5123
5124 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * text2.C (insertParagraph): make it take ParagraphList::iterator
5127         as arg.
5128         (setLayout): make it return ParagraphList::iterator
5129         (redoParagraphs): ditto
5130         (setCounter): ditto
5131         (checkParagraph): ditto
5132
5133         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5134
5135         * text2.C: adjust several funcs.
5136         (realizeFont): take a ParagraphList::iterator as arg.
5137         (getLayoutFont): ditto
5138         (getLabelFont): ditto
5139         (setCharFont): ditto
5140
5141         * text.C: adjust several funcs.
5142
5143 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * text.C (selectNextWordToSpellcheck): don't accidentally
5146         skip insets
5147
5148 2003-04-10  John Levon  <levon@movementarian.org>
5149
5150         * ToolbarBackend.C (getIcon): special handling for
5151         LFUN_MATH_DELIM
5152
5153 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5154
5155         * text2.C (cursorRight): a getChar assert fixed
5156
5157 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * text2.C (getFont): change to take a ParagraphList::iterator
5160         instead of Paragraph*
5161         Adjust several functions.
5162
5163         * text.C (transformChar): change to take a ParagraphList::iterator
5164         instead of Paragraph*
5165         (singleWidth): ditto
5166         Adjust several functions.
5167
5168         * rowpainter.C: adjust several functions
5169         * rowpainter.h:store a ParagraphList::iterator and not a
5170         Paragraph&.
5171
5172
5173 2003-04-09  John Levon  <levon@movementarian.org>
5174
5175         * lyxfunc.C:
5176         * lfuns.h:
5177         * LyXAction.h:
5178         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5179         and the "help" bits as well
5180
5181 2003-04-09  John Levon  <levon@movementarian.org>
5182
5183         * ToolbarBackend.h:
5184         * ToolbarBackend.C: allow multiple toolbars
5185
5186 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * undo_funcs.C (setCursorParUndo): adjust
5189
5190         * text_funcs.C (transposeChars): adjust
5191
5192         * text3.C (gotoNextInset): adjust
5193         (dispatch): adjust
5194
5195         * text2.C (setLayout): adjust
5196         (changeDepth): adjust
5197         (setFont): adjust
5198         (redoParagraphs): adjust
5199         (selectionAsString): adjust
5200         (setParagraph): adjust
5201         (insertInset): adjust
5202         (cutSelection): adjust
5203         (copySelection): adjust
5204         (pasteSelection): adjust
5205         (insertStringAsLines): adjust
5206         (updateInset): adjust
5207         (setCursor): change to take a ParagraphList::iterator parameter
5208         (setCursorIntern): change to take a ParagraphList::iterator parameter
5209         (setCurrentFont): adjust
5210         (cursorLeft): adjust
5211         (cursorRight): adjust
5212         (deleteEmptyParagraphMechanism): adjust
5213
5214         * text.C (breakParagraph): adjust
5215         (insertChar): adjust
5216         (acceptChange): adjust
5217         (rejectChange): adjust
5218         (selectNextWordToSpellcheck): adjust
5219         (changeCase): adjust
5220         (Delete): adjust
5221         (backspace): adjust
5222
5223         * lyxfind.C (SearchForward): adjust
5224         (SearchBackward): adjust
5225         (nextChange): adjust
5226
5227         * lyxcursor.C (par): adjust
5228
5229         * lyxcursor.h: store a ParagraphList::iterator instead of a
5230         Paragraph*
5231
5232         * lyx_cb.C (getPossibleLabel): adjust
5233
5234         * bufferview_funcs.C (toggleAndShow): adjust
5235
5236         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5237         (dispatch): adjust
5238
5239         * BufferView.C (removeAutoInsets): adjust
5240         (lockedInsetStoreUndo): adjust
5241
5242 2003-04-09  John Levon  <levon@movementarian.org>
5243
5244         * ToolbarBackend.C: try icon without argument
5245         if with argument fails
5246
5247 2003-04-08  John Levon  <levon@movementarian.org>
5248
5249         * ToolbarBackend.h:
5250         * ToolbarBackend.C: add getIcon(), handle tooltip,
5251         and change from "Icon" to "Item".
5252
5253 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5254
5255         * BufferView.C (lockInset): another bad getchar crunched
5256
5257 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5260         again)
5261
5262 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5263
5264         * lyxfind.C (searchForward, searchBackwards): bug 782
5265
5266 2003-04-07  John Levon  <levon@movementarian.org>
5267
5268         * paragraph.C: remove dead comment
5269
5270         * text.C: remove troublesome depth-fiddling code
5271         in leftMargin() and rightMargin() (bug 1017)
5272
5273         * text.C: fix breaking of rows in nested lists
5274         (bug 1004)
5275
5276         * text2.C (updateCounters): fix up depth values
5277         (bug 1013)
5278
5279 2003-04-07  John Levon  <levon@movementarian.org>
5280
5281         * BufferView_pimpl.C: clear message when doc finishes resizing,
5282         and after a mouse event
5283
5284         * lyxfunc.C: clear message after exiting inset
5285
5286 2003-04-07  John Levon  <levon@movementarian.org>
5287
5288         * bufferview_funcs.C: show math status not outside
5289         status in the statusbar
5290
5291 2003-04-07  John Levon  <levon@movementarian.org>
5292
5293         * lyxfunc.C: note status changed after a depth change
5294
5295 2003-04-04  Angus Leeming  <leeming@lyx.org>
5296
5297         * LaTeX.h: move AuxInfo operator==, != out of line.
5298         Remove LaTeX virtual destructor; nothing derives from it.
5299         Move operator()() out of public area and rename it startscript().
5300         Change protected for private.
5301
5302 2003-04-04  Angus Leeming  <leeming@lyx.org>
5303
5304         * lyxfunc.C:
5305         * text2.C: remove unneeded #includes.
5306
5307 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5308
5309         * text2.C (dEPM): fix the heigth of the next row
5310
5311 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * text.C: squashed an invalid getChar requester + some ws changes
5314
5315 2003-04-03  John Levon  <levon@movementarian.org>
5316
5317         * bufferview_funcs.h:
5318         * bufferview_funcs.C:
5319         * lyxfunc.C:
5320         * lyxtext.h:
5321         * text2.C: make getStatus work for the env depth lfuns
5322
5323 2003-04-03  John Levon  <levon@movementarian.org>
5324
5325         * bufferview_funcs.h:
5326         * bufferview_funcs.C:
5327         * lyxfunc.C:
5328         * lyxtext.h:
5329         * text2.C: parlistize decDepth(), by merging it with incDepth()
5330
5331 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * lyxrow.h: store a ParagraphList::iterator instead of a
5334         Paragraph* and adjust other class functions to suit.
5335
5336         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5337         above.
5338
5339 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5340
5341         * text2.C (setCursor): do not anchor to cursor row for the time being
5342
5343 2003-04-02  John Levon  <levon@movementarian.org>
5344
5345         * LyXAction.C:
5346         * lfuns.h:
5347         * lyx_main.C:
5348         * lyxtext.h:
5349         * text.C:
5350         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5351
5352 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * paragraph.h: make ParagraphList and ParagraphList::iterator
5355         friends of Paragraph.
5356
5357         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5358
5359         * ParagraphList.C: Use the private next_ and previous_ from
5360         Paragraph.
5361
5362 2003-04-01  John Levon  <levon@movementarian.org>
5363
5364         * ToolbarBackend.h:
5365         * ToolbarBackend.C:
5366         * Makefile.am: rename, remove defaults gunk
5367
5368         * MenuBackend.h:
5369         * MenuBackend.C: remove defaults gunk
5370
5371         * Languages.h:
5372         * Languages.C: remove defaults gunk
5373
5374         * lyx_main.h:
5375         * lyx_main.C: error out if files couldn't be found.
5376
5377 2003-04-02  John Levon  <levon@movementarian.org>
5378
5379         * text2.C: make incDepth() use parlist
5380
5381 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * undo_funcs.C (firstUndoParagraph): adjust
5384
5385         * text3.C (gotoInset): adjust
5386         (dispatch): adjust, and rewrite loop.
5387
5388         * text2.C (init): adjust, and rewrite loop.
5389         (redoParagraphs): adjust
5390         (updateInset): adjust, and rewrite loop.
5391         (deleteEmptyParagraphMechanism): adjust
5392
5393         * tabular.C (LyXTabular): adjust
5394         (SetMultiColumn): adjust
5395         (TeXRow): adjust
5396
5397         * lyxtext.[Ch] (ownerParagraph): delete function
5398         (ownerParagraphs): new function returns a ParagraphList.
5399
5400         * BufferView.C (removeAutoInsets): adjust
5401         (insertErrors): adjust
5402         (setCursorFromRow): adjust
5403
5404 2003-04-01  Angus Leeming  <leeming@lyx.org>
5405
5406         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5407         in the frontends.
5408
5409 2003-04-02  John Levon  <levon@movementarian.org>
5410
5411         * lyxtext.h:
5412         * text.C:
5413         * Makefile.am:
5414         * text_funcs.h:
5415         * text_funcs.C: make transposeChars a free function
5416
5417         * lyxrow_funcs.C: remove wrong comment
5418
5419 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * lyxtext.h: adjust
5422         * rowpainter.C: adjust
5423         * text.C: adjust
5424         * text2.C: adjust
5425         * text3.C: adjust
5426
5427         * lyxrow_funcs. [Ch]: new files
5428
5429         * lyxrow.[Ch]: remove next and previous pointers
5430         (next,previous): remove accessor functions
5431         (isParEnd): move to lyxrow_funcs
5432         (lastPos): move to lyxrow_funcs
5433         (nextRowIsAllInset): move to lyxrow_funcs
5434         (lastPrintablePos): move to lyxrow_funcs
5435         (numberOfSeparators): move to lyxrow_funcs
5436         (numberOfHfills): move to lyxrow_funcs
5437         (numberOfLabelHfills): move to lyxrow_funcs
5438         (hfillExpansion): move to lyxrow_funcs
5439
5440         * lyxfunc.C: adjust
5441
5442         * bufferview_funcs.C (toggleAndShow): adjust
5443
5444         * RowList.h: Remove class RowList from file leave just a
5445         std::list<Row>.
5446
5447         * RowList.C: delete file
5448
5449         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5450         and lyxrow_funcs.h
5451
5452 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * text3.C (cursorPrevious): adjust
5455         (cursorNext): adjust
5456         (dispatch): adjust
5457
5458         * text2.C (redoHeightOfParagraph): adjust
5459         (redoDrawingOfParagraph): adjust
5460         (setCursor): adjust
5461
5462         * text.C (breakParagraph): adjust
5463         (insertChar): adjust
5464         (backspace): adjust
5465
5466         * rowpainter.C (RowPainter): adjust
5467         (leftMargin): simplify and adjust
5468         (most rowpainter functions): adjust.
5469
5470         * rowpainter.h: store the row as RowList::iterator not as Row*
5471
5472         * lyxcursor.C (row): taka RowList::iterator as arg
5473         (irow): ditto
5474
5475         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5476         of Row*.
5477
5478 2003-04-01  Angus Leeming  <leeming@lyx.org>
5479
5480         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5481         stuff like bool Bool.
5482
5483 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5486         rewrite a loop
5487
5488 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5491         RowList::iterator.
5492
5493         * lyxtext.h (rows): drop one version and leve a const variant that
5494         returns a RowList::iterator.
5495
5496 2003-03-31  Angus Leeming  <leeming@lyx.org>
5497
5498         * text.C (fill): ensure that the signature is the same as that in the
5499         header file.
5500
5501 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * text2.C (redoParagraphs): adjust
5504         (updateCounters): adjust
5505         (checkParagraph): adjust
5506         (getColumnNearX): adjust and reformat a bit.
5507
5508         * text.C (top_y): adjust
5509         (workWidth): adjust
5510         (leftMargin): adjust
5511         (prepareToPrint): adjust
5512         (getRow): adjust
5513         (getRowNearY): adjust
5514
5515         * lyxtext.h: make rowlist_ mutable.
5516
5517         * RowList.h: add const_iterator
5518         * RowList.C: adjust for RowList::const_iterator.
5519
5520         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5521         adjust.
5522
5523 2003-03-31  John Levon  <levon@movementarian.org>
5524
5525         * lyxrc.h:
5526         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5527
5528         * lyx_main.C: set default fonts from using lyx_gui funcs
5529
5530         * exporter.C: pdf_mode moved from lyxrc
5531
5532         * lyx_cb.C:
5533         * lyxfunc.C: changes from above
5534
5535 2003-03-31  John Levon  <levon@movementarian.org>
5536
5537         * lyx_main.C: fix to the last fix
5538
5539 2003-03-31  John Levon  <levon@movementarian.org>
5540
5541         * bufferlist.C: "Load original" -> "Load Original"
5542
5543         * converter.C:
5544         * exporter.C:
5545         * importer.C:
5546         * lyx_main.C:
5547         * format.C: more Alert cleanups
5548
5549 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * text2.C (removeParagraph): make it take a RowList::iterator as
5552         arg, adjust.
5553         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5554         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5555
5556         * text.C (anchor_row): make it take a RowList::iterator as arg,
5557         adjust.
5558         (computeBidiTables): make it take a const reference to Row instead
5559         of Row pointer, adjust.
5560         (leftMargin): make it take a RowList::iterator as arg, adjust.
5561         (rowBreakPoint): adjust
5562         (breakAgainOneRow): make it take a RowList::iterator as arg,
5563         adjust.
5564         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5565
5566         * bufferview_funcs.C (toggleAndShow): adjust
5567
5568 2003-03-30  John Levon  <levon@movementarian.org>
5569
5570         * Makefile.am:
5571         * BoostFormat.h:
5572         * boost-inst.C: moved to support
5573
5574         * several files: changes as a result
5575
5576 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * text2.C (LyXText): adjust.
5579         (init): adjust
5580         (removeRow): make it take a RowList::iterator as arg, adjust.
5581         (fullRebreak): adjust
5582         (deleteEmptyParagraphMechanism): adjust
5583         (clearPaint): adjust
5584         (postPaint): adjust
5585
5586         * text.C (top_y): adjust
5587         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5588         (breakAgain): make it take a RowList::iterator as arg, adjust.
5589         (breakParagraph): adjust
5590         (insertChar): adjust
5591         (backspace): adjust
5592
5593         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5594         need_break_row, and refresh_row.
5595
5596         * text3.C (dispatch): adjust
5597
5598         * text2.C (checkParagraph): adjust
5599         (setCursor): adjust
5600         (setCursorFromCoordinates): adjust
5601
5602         * text.C (top_y): adjust
5603         (workWidth): adjust
5604         (getRow): make it return a RowList::iterator, adjust
5605         (getRowNearY): make it return a RowList::iterator, adjust
5606
5607         * text2.C (init): adjust
5608         (insertRow): remove function
5609         (insertParagraph): adjust
5610         (redoParagraphs): adjust
5611         (fullRebreak): adjust
5612         (updateCounters): adjust
5613
5614         * text.C (top_y): rewrite to use RowList iterators.
5615         (top_y): adjust
5616         (setHeightOfRow): rewrite to sue RowList iterators.
5617         (appendParagraph): adjust
5618         (breakAgain): adjust
5619         (breakAgainOneRow): adjust
5620         (breakParagraph): adjust
5621         (getRow): adjust
5622         (getRowNearY): adjust, and remove commented code.
5623
5624         * lyxtext.h (firstRow): delete function
5625         (lastRow): delete function
5626         (rows): new function (const and non-const versions.)
5627         (insertRow): delete function
5628
5629         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5630
5631 2003-03-29  John Levon  <levon@movementarian.org>
5632
5633         * BufferView_pimpl.C: always update scrollbar top
5634         because pasting text when we're anchored could mean we
5635         miss an update altogether
5636
5637 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * text2.C (init): use rowlist_.end() and not 0.
5640         (insertRow): change to take a RowList::iterator as arg, adjust
5641         for this.
5642         (insertParagraph): change to take a RowList::iterator as arg,
5643         adjust for this.
5644         (redoParagraphs): remove some debug msgs.
5645
5646         * text.C (appendParagraph): change to take a RowList::iterator
5647         arg, adjust for this.
5648         (breakAgain): add an assert
5649         (breakAgainOneRow): ditto
5650
5651 2003-03-29  John Levon  <levon@movementarian.org>
5652
5653         * text2.C: do not clear selection after inc/decDepth
5654         (bug 550)
5655
5656 2003-03-29  John Levon  <levon@movementarian.org>
5657
5658         * BufferView.C:
5659         * buffer.C: fix broken strerrors according to Lars
5660
5661 2003-03-29  John Levon  <levon@movementarian.org>
5662
5663         * converters.C: more Alert cleanups
5664
5665 2003-03-29  John Levon  <levon@movementarian.org>
5666
5667         * bufferview_funcs.C: remove pointless Alert
5668
5669         * buffer.C: fix confusing error message when
5670         a template is chmoded 000
5671
5672 2003-03-29  John Levon  <levon@movementarian.org>
5673
5674         * BufferView.C:
5675         * BufferView.h:
5676         * BufferView_pimpl.C: Alert fixes
5677
5678         * Makefile.am:
5679         * tabular.C:
5680         * tabular-old.C: remove unused table compat reading
5681
5682 2003-03-29  John Levon  <levon@movementarian.org>
5683
5684         * BufferView.C:
5685         * buffer.C:
5686         * lyx_cb.h:
5687         * lyx_cb.C: more Alert cleanups
5688
5689         * lyxfunc.C: don't allow chktex if not latex document
5690
5691 2003-03-29  John Levon  <levon@movementarian.org>
5692
5693         * lyx_cb.C:
5694         * BufferView.C:
5695         * buffer.C: warnings pushed down from support/,
5696         kill err_alert
5697
5698 2003-03-29  John Levon  <levon@movementarian.org>
5699
5700         * lyxfunc.C: safety check for C-r (revert)
5701
5702 2003-03-29  John Levon  <levon@movementarian.org>
5703
5704         * bufferlist.h:
5705         * bufferlist.C: several UI fixes using Alert::prompt.
5706         Fix the pointless looping quit code. Fix stupid revert
5707         behaviour (bug 938)
5708
5709         * lyxvc.h:
5710         * lyxvc.C:
5711         * lyx_cb.C: use Alert::prompt
5712
5713         * lyx_main.C: remove a silly question
5714
5715         * lyxfunc.C: remove a couple of silly questions,
5716         use Alert::prompt
5717
5718 2003-03-28  John Levon  <levon@movementarian.org>
5719
5720         * text2.C: fix bug 974 (End on empty par)
5721
5722 2003-03-28  John Levon  <levon@movementarian.org>
5723
5724         * BufferView_pimpl.C:
5725         * LyXAction.C:
5726         * lfuns.h: remove do-nothing math greek lfuns
5727
5728 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * lyxgluelength.h (isValidGlueLength): add default arg on
5731         parameter 2. Remove default arg from friend in class.
5732
5733         * lyxlength.h (isValidLength): add default arg on parameter 2.
5734         Remove default arg from friend in class.
5735
5736         * text2.C (LyXText): adjust, initialize refresh_row.
5737         (init): adjust
5738         (removeRow): adjust
5739         (insertRow): adjust
5740         (insertParagraph): adjst
5741         (redoParagraphs): adjust
5742         (fullRebreak): adjust
5743         (updateCounters): adjust
5744         (deleteEmptyParagraphMechanism): first attempt at fixing a
5745         crashing bug.
5746
5747         * text.C (top_y): adjust
5748         (setHeightOfRow): adjust
5749         (getRow): adjust
5750         (getRowNearY): adjust
5751
5752         * lyxtext.h: include RowList.h
5753         (~LyXText): not needed anymore, deleted.
5754         (firstRow): modify for RowList
5755         (lastRow): new function
5756         Delete firstrow and lastrow class variables, add a Rowlist
5757         rowlist_ class variable.
5758
5759         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5760         paragraph is empty.
5761
5762         * RowList.C (insert): fix case where it == begin().
5763
5764 2003-03-26  Angus Leeming  <leeming@lyx.org>
5765
5766         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5767         the thesaurus dialog.
5768
5769 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5770
5771         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5772
5773         * RowList.[Ch]: new files
5774
5775         * ParagraphList.C (erase): handle the case where it == begin
5776         correctly.
5777
5778 2003-03-25  John Levon  <levon@movementarian.org>
5779
5780         * Makefile.am:
5781         * aspell_local.h:
5782         * aspell.C: add new aspell support
5783
5784         * lyxrc.h:
5785         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5786         have it accessible.
5787
5788 2003-03-25  Angus Leeming  <leeming@lyx.org>
5789
5790         * lfuns.h:
5791         * LyXAction.C (init): new LFUN_INSET_INSERT.
5792
5793         * BufferView_pimpl.C (dispatch): split out part of the
5794         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5795
5796         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5797         LFUN_INSET_APPLY.
5798
5799 2003-03-25  Angus Leeming  <leeming@lyx.org>
5800
5801         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5802
5803 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5804
5805         * text2.C:
5806         * text3.C: remove useless row->height(0)
5807
5808 2003-03-25  John Levon  <levon@movementarian.org>
5809
5810         * lyxtext.h:
5811         * text2.C:
5812         * text3.C: rename the refreshing stuff to better names
5813
5814 2003-03-24  John Levon  <levon@movementarian.org>
5815
5816         * BufferView_pimpl.h:
5817         * BufferView_pimpl.C: update layout choice on a mouse
5818         press/release
5819
5820 2003-03-23  John Levon  <levon@movementarian.org>
5821
5822         * Makefile.am: fix commandtags.h reference
5823
5824 2003-03-22  John Levon  <levon@movementarian.org>
5825
5826         * BufferView_pimpl.C:
5827         * lyxtext.h:
5828         * rowpainter.C:
5829         * rowpainter.h:
5830         * text.C:
5831         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5832
5833 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5834
5835         * lyxtext.h:
5836         * text.C: take the rtl methods out of line
5837
5838 2003-03-21 André Pönitz <poenitz@gmx.net>
5839
5840         * metricsinfo.[Ch]: new files containing structures to be passed around
5841         during the two-phase-drawing...
5842
5843 2003-03-21 André Pönitz <poenitz@gmx.net>
5844
5845         * lyxtextclass.C: read 'environment' tag.
5846
5847 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5848
5849         * text2.C (removeRow): fix bug 964
5850
5851 2003-03-20  John Levon  <levon@movementarian.org>
5852
5853         * rowpainter.C:
5854         * text.C:
5855         * text2.C: paint cleanups. Inset::update() dropped font
5856         parameter
5857
5858 2003-03-19  John Levon  <levon@movementarian.org>
5859
5860         * lyxfunc.C: only fitcursor/markDirty if available()
5861
5862 2003-03-19  John Levon  <levon@movementarian.org>
5863
5864         * commandtags.h: rename to ...
5865
5866         * lfuns.h: ... this, and renumber / cleanup
5867
5868 2003-03-19  John Levon  <levon@movementarian.org>
5869
5870         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5871         fit the cursor after an lfun
5872
5873         * BufferView.h:
5874         * BufferView.C:
5875         * BufferView_pimpl.h:
5876         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5877
5878         * LyXAction.C: layout-character should have ReadOnly
5879
5880         * ParagraphParameters.C:
5881         * buffer.C:
5882         * bufferview_funcs.C:
5883         * lyx_cb.C:
5884         * lyxfind.C:
5885         * lyxtext.h:
5886         * text.C:
5887         * text2.C:
5888         * text3.C:
5889         * undo_funcs.C: changes from above
5890
5891 2003-03-18  John Levon  <levon@movementarian.org>
5892
5893         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5894         remove it from update()
5895
5896         * lyxfunc.C: update layout choice after an lfun
5897
5898         * text3.C: remove extra updateLayoutChoice()s
5899
5900 2003-03-18  John Levon  <levon@movementarian.org>
5901
5902         * text.C: top_y change means full repaint, fix
5903         a drawing bug with cursor movement
5904
5905 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5906
5907         * lyxtext.h:
5908         * text.C:
5909         * text2.C: anchor row on setCursor
5910
5911 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5912
5913         * lyxtext.h: remove almost all mutable keywords
5914         * text.C:
5915         * text2.C:
5916         * text3.C: remove const keywords accordingly
5917
5918 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5921         anon namespace
5922         (TeXEnvironment): ditto
5923         (TeXOnePar): ditto
5924
5925 2003-03-17  John Levon  <levon@movementarian.org>
5926
5927         * text.C (rowBreakPoint): remove attempt to fix displayed
5928         math insets inside a manual label
5929
5930 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * lyxtext.h: remove BufferView* as first arg from almost all class
5933         functions.
5934         * other files: adjust.
5935
5936 2003-03-17  John Levon  <levon@movementarian.org>
5937
5938         * lyxtext.h:
5939         * undo_funcs.C:
5940         * text2.C: more paint cleanups
5941
5942         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5943
5944         * rowpainter.h:
5945         * rowpainter.C: remove "smart" background painting code
5946
5947 2003-03-16  John Levon  <levon@movementarian.org>
5948
5949         * lyxtext.h:
5950         * text.C:
5951         * text2.C:
5952         * text3.C: add helper functions for setting refresh_row/y
5953
5954 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5955
5956         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5957         newline inset which *can* get inserted in the pass_thru layouts.
5958         This is primarily for literate documents.
5959
5960 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5961
5962         * buffer.C: increment LYX_FORMAT to 223
5963
5964 2003-03-14 André Pönitz <poenitz@gmx.net>
5965
5966         * textclass.h: prepare for environment handling, ws changes
5967         * lyxlayout.C: read latexheader and latexfooter tags
5968
5969 2003-03-14  John Levon  <levon@movementarian.org>
5970
5971         * text2.C: rewrite ::status() a bit
5972
5973 2003-03-13  John Levon  <levon@movementarian.org>
5974
5975         * lyxtext.h: add some docs
5976
5977 2003-03-13  John Levon  <levon@movementarian.org>
5978
5979         * lyxtext.h:
5980         * text.C:
5981         * text2.C:
5982         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5983
5984 2003-03-13  John Levon  <levon@movementarian.org>
5985
5986         * text3.C: fix appendix redrawing
5987
5988 2003-03-13  John Levon  <levon@movementarian.org>
5989
5990         * text.C (setHeightOfRow):
5991         * rowpainter.h:
5992         * rowpainter.C: make appendix mark have the text
5993           "Appendix" so the user knows what it is
5994
5995         * LColor.h:
5996         * LColor.C: s/appendixline/appendix/ from above
5997
5998 2003-03-13  John Levon  <levon@movementarian.org>
5999
6000         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6001
6002         * text.C: fix a getChar(pos) bug properly
6003
6004 2003-03-13  Angus Leeming  <leeming@lyx.org>
6005
6006         * commandtags.h:
6007         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6008         Probably only temporary. Let's see how things pan out.
6009
6010         * BufferView.C (unlockInset):
6011         * BufferView_pimpl.C (fitCursor):
6012         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6013
6014         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6015         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6016
6017         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6018         new functions that convert ParagraphParameters to and from a string.
6019
6020         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6021         BufferView::Pimpl's dispatch.
6022         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6023
6024 2003-03-13 André Pönitz <poenitz@gmx.net>
6025
6026         * lyxfunc.C:
6027         * text3.C:
6028         * factory.C: make it aware of InsetEnv
6029
6030 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * text2.C (setCursor): never ask for one past last
6033         (setCursor): add some debugging messages.
6034
6035         * text.C (singleWidth): never ask for one past last
6036         (singleWidth): ditto
6037         (leftMargin): ditto
6038         (rightMargin): ditto
6039         (rowBreakPoint): ditto
6040         (setHeightOfRow): ditto
6041         (prepareToPrint): ditto
6042
6043         * rowpainter.C (paintBackground): never ask for one past last
6044         (paintText): never ask for one past last
6045
6046         * paragraph_pimpl.C (getChar): make the assert stricter, never
6047         allow the one past last pos to be taken
6048
6049         * paragraph.C (getChar): ws changes only
6050
6051         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6052         (numberOfSeparators): ditto
6053         (numberOfHfills): ditto
6054
6055 2003-03-12  John Levon  <levon@movementarian.org>
6056
6057         * author.h:
6058         * author.C:
6059         * bufferparams.h:
6060         * bufferparams.C:
6061         * paragraph_funcs.C: fix per-buffer authorlists
6062
6063 2003-03-12  John Levon  <levon@movementarian.org>
6064
6065         * text.C: fix newline in right address
6066
6067 2003-03-12  Angus Leeming  <leeming@lyx.org>
6068
6069         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6070         duplicate those in LyXFunc::dispatch.
6071
6072         * commandtags.h:
6073         * LyXAction.C:
6074         * ToolbarDefaults.C:
6075         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6076         Add LFUN_FONTFREE_UPDATE.
6077
6078         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6079         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6080
6081         * bufferview_func.[Ch]: several new functions to facilliate
6082         transfer of data to and from the character dialog.
6083
6084 2003-03-12  John Levon  <levon@movementarian.org>
6085
6086         * buffer.C:
6087         * paragraph.h:
6088         * paragraph.C:
6089         * paragraph_funcs.C:
6090         * paragraph_pimpl.C:
6091         * sgml.C:
6092         * tabular.C:
6093         * text.C:
6094         * text3.C: remove META_NEWLINE in favour of an inset
6095
6096         * rowpainter.h:
6097         * rowpainter.C: remove paintNewline (done by inset)
6098
6099 2003-03-12  John Levon  <levon@movementarian.org>
6100
6101         * paragraph_pimpl.C: complain about bad getChar()s
6102         for a while at least
6103
6104 2003-03-12  John Levon  <levon@movementarian.org>
6105
6106         * buffer.h:
6107         * buffer.C: move paragraph read into a separate function,
6108         a little renaming to reflect that.
6109
6110         * bufferparams.h:
6111         * bufferparams.C: remove the author_ids map, not necessary now
6112
6113         * factory.h:
6114         * factory.C: moved Buffer::readInset to here
6115
6116         * paragraph_funcs.h:
6117         * paragraph_funcs.C: readParagraph free function moved from
6118         buffer.C
6119
6120         * tabular.C: name change
6121
6122 2003-03-12  John Levon  <levon@movementarian.org>
6123
6124         * buffer.C:
6125         * ParagraphParameters.C: move par params input to
6126         a read() method
6127
6128         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6129         behave like a normal read from the stream wrt reading
6130         a line vs. a \\token
6131
6132 2003-03-12  John Levon  <levon@movementarian.org>
6133
6134         * paragraph.C:
6135         * ParagraphParameters.h:
6136         * ParagraphParameters.C: move output code to a
6137         ::write() method
6138
6139 2003-03-12  John Levon  <levon@movementarian.org>
6140
6141         * BufferView.C (insertLyXFile):
6142         * buffer.h:
6143         * buffer.C:
6144         * tabular.C: use a parlist iterator for creating the
6145           document.
6146
6147 2003-03-12  John Levon  <levon@movementarian.org>
6148
6149         * buffer.C: make current_change static local not
6150           static file-scope
6151
6152 2003-03-12  John Levon  <levon@movementarian.org>
6153
6154         * buffer.C: fix insertStringAsLines for change tracking
6155
6156 2003-03-12  John Levon  <levon@movementarian.org>
6157
6158         * BufferView.C:
6159         * tabular.C:
6160         * buffer.h:
6161         * buffer.C:
6162         * bufferparams.h:
6163         * bufferparams.C: move author list into params. Rename some
6164           functions. Move the header reading into a separate token
6165           loop. Move the header token reading into BufferParams.
6166
6167 2003-03-12  John Levon  <levon@movementarian.org>
6168
6169         * changes.C: put debug inside lyxerr.debugging() checks
6170
6171 2003-03-11 André Pönitz <poenitz@gmx.net>
6172
6173         * factory.C: make it aware of InsetHFill
6174
6175 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6176
6177         * buffer.C (latexParagraphs): move function from here...
6178         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6179         args.
6180
6181 2003-03-10  Angus Leeming  <leeming@lyx.org>
6182
6183         * LyXAction.C (init): fix bug in poplating array with multiple entries
6184         with the same LFUN (spotted by JMarc).
6185
6186 2003-03-10  John Levon  <levon@movementarian.org>
6187
6188         * text.C:
6189         * text2.C: move getColumnNearX() near its
6190         only call site
6191
6192 2003-03-10  John Levon  <levon@movementarian.org>
6193
6194         * text.C: fix break before a minipage
6195
6196 2003-03-10  John Levon  <levon@movementarian.org>
6197
6198         * text.C: fix the last commit
6199
6200 2003-03-09  John Levon  <levon@movementarian.org>
6201
6202         * lyxtext.h:
6203         * text.C:
6204         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6205         bug 365 (don't break before insets unless needed). Don't
6206         return a value > last under any circumstances.
6207
6208 2003-03-09  Angus Leeming  <leeming@lyx.org>
6209
6210         * BufferView_pimpl.C (trackChanges, dispatch): call
6211         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6212
6213 2003-03-09  Angus Leeming  <leeming@lyx.org>
6214
6215         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6216         than Dialogs::showAboutlyx().
6217
6218 2003-03-09  Angus Leeming  <leeming@lyx.org>
6219
6220         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6221         than Dialogs::showTabularCreate().
6222
6223 2003-03-09  John Levon  <levon@movementarian.org>
6224
6225         * lyxtext.h:
6226         * text.C:
6227         * text2.C: 3rd arg to nextBreakPoint was always the same.
6228           Use references.
6229
6230 2003-03-08  John Levon  <levon@movementarian.org>
6231
6232         * lyxrow.C:
6233         * paragraph.C:
6234         * paragraph.h:
6235         * rowpainter.C:
6236         * text.C:
6237         * text2.C: Remove the "main" bit from the "main body"
6238           notion.
6239
6240 2003-03-08  John Levon  <levon@movementarian.org>
6241
6242         * text.C (leftMargin): The left margin of an empty
6243         manual label paragraph should not include the label width
6244         string length.
6245
6246         * text.C (prepareToPrint): don't attempt to measure hfills
6247         for empty manual label paragraphs - the answer should be 0
6248
6249 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * CutAndPaste.C: remove commented code and reindent.
6252
6253 2003-03-08  John Levon  <levon@movementarian.org>
6254
6255         * lyxfunc.h:
6256         * lyxfunc.C: move reloadBuffer()
6257
6258         * BufferView.h:
6259         * BufferView.C: to here
6260
6261         * lyxvc.C: add comment
6262
6263         * vc-backend.h:
6264         * vc-backend.C: call bv->reload() to avoid
6265           getStatus() check on MENURELOAD
6266
6267 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6268
6269         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6270         to an old format .dep file.
6271
6272 2003-03-07  Angus Leeming  <leeming@lyx.org>
6273
6274         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6275         when the LFUN_MOUSE_RELEASE should have been handled by
6276         inset->localDispatch.
6277
6278 2003-03-07  Angus Leeming  <leeming@lyx.org>
6279
6280         * BufferView_pimpl.C (dispatch):
6281         * LyXAction.C (init):
6282         * ToolbarDefaults.C (init):
6283         * commandtags.h:
6284         * lyxfunc.C (getStatus):
6285         remove LFUN_INSET_GRAPHICS.
6286
6287         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6288
6289 2003-03-07  Angus Leeming  <leeming@lyx.org>
6290
6291         * commandtags.h:
6292         * LyXAction.C (init):
6293         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6294
6295         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6296
6297         * commandtags.h:
6298         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6299
6300         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6301         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6302
6303 2003-03-07  Angus Leeming  <leeming@lyx.org>
6304
6305         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6306         remove "ert".
6307
6308 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * ParagraphList.C (front): new function
6311         (back): implement
6312
6313 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6314
6315         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6316         and top_row_offset_. removed var first_y.
6317         * text.C (top_y):
6318         * text2.C (LyXText, removeRow):
6319         * text3.C:
6320         * BufferView_pimpl.C:
6321         use these methods instead of using first_y
6322
6323 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * text2.C (pasteSelection): adjust for checkPastePossible
6326
6327         * CutAndPaste.C: remove Paragraph * buf and replace with
6328         ParagraphList paragraphs.
6329         (DeleteBuffer): delete
6330         (cutSelection): change the tc type to textclass_type
6331         (copySelection): change the tc type to textclass_type
6332         (copySelection): adjust for ParagraphList
6333         (pasteSelection): change the tc type to textclass_type
6334         (pasteSelection): adjust for Paragraphlist
6335         (nrOfParagraphs): simplify for ParagraphList
6336         (checkPastePossible): simplify for ParagraphList
6337         (checkPastePossible): remove unused arg
6338
6339         * ParagraphList.C (insert): handle the case where there are no
6340         paragraphs yet.
6341
6342         * CutAndPaste.h: make CutAndPaste a namespace.
6343
6344         * text3.C (dispatch): adjust
6345
6346         * text.C (breakParagraph): add a ParagraphList as arg
6347
6348         * paragraph_funcs.C (breakParagraph): change to take a
6349         BufferParams and a ParagraphList as args.
6350         (breakParagraphConservative): ditto
6351         (mergeParagraph): ditto
6352         (TeXDeeper): add a ParagraphList arg
6353         (TeXEnvironment): ditto
6354         (TeXOnePar): ditto
6355
6356         * buffer.C (readLyXformat2): adjust
6357         (insertStringAsLines): adjust
6358         (latexParagraphs): adjust
6359
6360         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6361         (cutSelection): adjust
6362         (pasteSelection): adjust
6363
6364         * BufferView_pimpl.C (insertInset): adjust
6365
6366 2003-03-05  Angus Leeming  <leeming@lyx.org>
6367
6368         * commandtags.h:
6369         * LyXAction.C (init):
6370         * BufferView_pimpl.C (dispatch):
6371         * lyxfunc.C (getStatus):
6372         remove LFUN_CHILD_INSERT.
6373
6374         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6375
6376 2003-03-05  Angus Leeming  <leeming@lyx.org>
6377
6378         * commandtags.h:
6379         * LyXAction.C (init):
6380         * src/factory.C (createInset):
6381         * lyxfunc.C (getStatus):
6382         * text3.C (dispatch):
6383         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6384
6385         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6386
6387 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * ParagraphList.C (insert): handle insert right before end()
6390         (erase): fix cases where it can be first or last paragraph.
6391
6392 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6395         Paragraph::next and Paragraph::previous
6396         (TeXOnePar): ditto
6397
6398         * text.C (breakParagraph): adjust
6399
6400         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6401         BufferParams& as arg.
6402         (breakParagraph): use ParagraphList::insert
6403         (breakParagraphConservative): take a Buffer* instead of a
6404         BufferParams& as arg.
6405         (breakParagraphConservative): use ParagraphList::insert.
6406
6407         * buffer.C (insertStringAsLines): un-const it
6408         (insertStringAsLines): adjust
6409
6410         * ParagraphList.C (insert): new function
6411
6412         * CutAndPaste.C (pasteSelection): adjust
6413
6414         * text.C (backspace): adjust
6415
6416         * tabular.C (SetMultiColumn): adjust
6417
6418         * CutAndPaste.C (cutSelection): adjust
6419         (pasteSelection): adjust
6420
6421         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6422         Buffer const * as arg
6423
6424         * ParagraphList.C (erase): new function
6425         * paragraph_funcs.C (mergeParagraph): use it
6426         (mergeParagraph): make it take a Buffer* instead of a
6427         BufferParams* as arg
6428
6429         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6430         as arg
6431         (breakParagraphConservative): ditto
6432
6433         * paragraph.h: remove the breakParagraph friend
6434
6435         * paragraph.C (eraseIntern): new function
6436         (setChange): new function
6437
6438         * paragraph_funcs.C (mergeParagraph): make it take a
6439         ParagraphList::iterator instead of a Paragraph *, adjust
6440         accordingly.
6441
6442         * paragraph.h: move an #endif so that the change tracking stuff
6443         also works in the NO_NEXT case.
6444
6445 2003-03-04  Angus Leeming  <leeming@lyx.org>
6446
6447         * commandtags.h:
6448         * LyXAction.C: new LFUN_INSET_MODIFY.
6449
6450         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6451         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6452
6453 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * several files: ws changes only
6456
6457         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6458         (TeXEnvironment): ditto
6459         (TeXDeeper): ditto
6460
6461         * buffer.C (makeLaTeXFile): adjust
6462         (latexParagraphs): make it take ParagraphList::iterator as args
6463
6464 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * buffer.C (latexParagraphs): adjust
6467
6468         * paragraph.C (TeXOnePar): move function...
6469         (optArgInset): move function...
6470         (TeXEnvironment): move function...
6471         * paragraph_pimpl.C (TeXDeeper): move function...
6472         * paragraph_funcs.C: ...here
6473
6474         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6475
6476 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * buffer.C (readInset): remove compability code for old Figure and
6479         InsetInfo insets
6480
6481 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * buffer.C: ws changes
6484         (readInset):
6485
6486         * BufferView_pimpl.C: ditto
6487         * author.C: ditto
6488         * buffer.h: ditto
6489         * bufferlist.h: ditto
6490         * changes.h: ditto
6491         * lyxfunc.C: ditto
6492
6493 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6494
6495         * converter.[Ch]: split into itself +
6496         * graph.[Ch]
6497         * format.[Ch]
6498         * Makefile.am: += graph.[Ch] + format.[Ch]
6499         * MenuBackend.C
6500         * buffer.C
6501         * exporter.C
6502         * importer.C
6503         * lyx_main.C
6504         * lyxfunc.C
6505         * lyxrc.C: added #include "format.h"
6506
6507 2003-02-27  Angus Leeming  <leeming@lyx.org>
6508
6509         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6510           a label.
6511
6512         * factory.C (createInset): add "label" to the factory.
6513
6514         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6515           string and do no more.
6516
6517 2003-02-27  Angus Leeming  <leeming@lyx.org>
6518
6519         * commandtags.h:
6520         * LyXAction.C (init):
6521         * factory.C (createInset):
6522         * BufferView_pimpl.C (dispatch):
6523           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6524
6525         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6526
6527         * lyxfunc.C (dispatch):
6528         * text3.C (dispatch): pass name to params2string.
6529
6530 2003-02-26  Angus Leeming  <leeming@lyx.org>
6531
6532         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6533           blocks together.
6534           Rearrange the ~includes. Strip out the unnecessary ones.
6535
6536         * factory.C (createInset): reformat.
6537           create new insets for the various LFUN_XYZ_APPLY lfuns.
6538
6539 2003-02-26  John Levon  <levon@movementarian.org>
6540
6541         * lyxrow.h:
6542         * lyxrow.C: add isParStart,isParEnd helpers
6543
6544         * paragraph.h: make isInserted/DeletedText take refs
6545
6546         * paragraph_funcs.h:
6547         * paragraph_funcs.C: remove #if 0'd code
6548
6549         * lyxtext.h:
6550         * text3.C:
6551         * text2.C:
6552         * text.C: use lyxrow helpers above.
6553           Move draw and paint routines to RowPainter.
6554           Make several methods use refs not pointers.
6555           Make backgroundColor() const.
6556           Add markChangeInDraw(), isInInset().
6557           Merge changeRegionCase into changeCase.
6558           Make workWidth() shouldn't-happen code into an Assert.
6559
6560         * rowpainter.h:
6561         * rowpainter.C: new class for painting a row.
6562
6563         * vspace.h:
6564         * vspace.C: make inPixels take a ref
6565
6566 2003-02-26  Angus Leeming  <leeming@lyx.org>
6567
6568         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6569         LFUN_REF_APPLY.
6570
6571 2003-02-25  John Levon  <levon@movementarian.org>
6572
6573         * ispell.C: give the forked command a more accurate name
6574
6575 2003-02-22  John Levon  <levon@movementarian.org>
6576
6577         * toc.h:
6578         * toc.C: make TocItem store an id not a Paragraph *
6579           (bug #913)
6580
6581 2003-02-21  Angus Leeming  <leeming@lyx.org>
6582
6583         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6584           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6585           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6586           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6587           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6588           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6589
6590         * BufferView_pimpl.C (dispatch):
6591         * LyXAction.C (init):
6592         * factory.C (createInset):
6593         * lyxfunc.C (getStatus, dispatch):
6594         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6595
6596 2003-02-21  Angus Leeming  <leeming@lyx.org>
6597
6598         * BufferView_pimpl.C (MenuInsertLyXFile):
6599         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6600         * lyxfunc.C (menuNew, open, doImport):
6601           no longer pass a LyXView & to fileDlg.
6602
6603 2003-02-21  Angus Leeming  <leeming@lyx.org>
6604
6605         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6606         * LyXAction.C: change, BIBKEY to BIBITEM.
6607         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6608         Change InsetBibKey to InsetBibitem.
6609         Change BIBKEY_CODE to BIBITEM_CODE.
6610         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6611         * factory.C: replace insetbib.h with insetbibitem.h.
6612         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6613         * paragraph.C: replace insetbib.h with insetbibitem.h.
6614         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6615         Change bibkey() to bibitem().
6616         * text.C: remove insetbib.h.
6617         * text2.C: replace insetbib.h with insetbibitem.h.
6618         change bibkey() to bibitem().
6619         * text3.C: remove insetbib.h.
6620         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6621
6622 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6623
6624         * lyxrc.C (output): enclose user email in quotes (in case there are
6625         several words)
6626
6627 2003-02-18  John Levon  <levon@movementarian.org>
6628
6629         * buffer.h: add std::
6630
6631 2003-02-17  John Levon  <levon@movementarian.org>
6632
6633         * SpellBase.h:
6634         * ispell.h:
6635         * ispell.C:
6636         * pspell.h:
6637         * pspell.C: reworking. Especially in ispell, a large
6638           number of clean ups and bug fixes.
6639
6640         * lyxfunc.C: fix revert to behave sensibly
6641
6642 2003-02-17 André Pönitz <poenitz@gmx.net>
6643
6644         * LyXAction.C:
6645         * commandtags.h: new LFUN_INSERT_BIBKEY
6646
6647         * layout.h:
6648         * lyxlayout.C:
6649         * buffer.C:
6650         * factory.C:
6651         * text.C:
6652         * text2.C:
6653         * text3.C:
6654         * paragraph.[Ch]:
6655         * paragraph_func.C: remove special bibkey handling
6656
6657 2003-02-17  John Levon  <levon@movementarian.org>
6658
6659         * text.C (Delete): fix case where delete at the end of
6660           the very first paragraph would not merge the pars
6661
6662 2003-02-17  John Levon  <levon@movementarian.org>
6663
6664         * lyxrow.C: fix lastPrintablePos()
6665
6666 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6667
6668         * bufferparams.C (writeLaTeX): add a std:here
6669
6670         * buffer.C: and remove a using directive there
6671
6672 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6673
6674         * buffer.C (makeLaTeXFile): move the code that generates the
6675           preamble...
6676
6677         * bufferparams.C (writeLaTeX): ... in this new method
6678
6679         * LaTeXFeatures.C (getEncodingSet): make const
6680           (getLanguages): make const
6681
6682         * MenuBackend.C (binding): returns the binding associated to this
6683           action
6684           (add): sets the status of each item by calling getStatus. Adds
6685           some intelligence.
6686           (read): add support for OptSubMenu
6687           (expand): remove extra separator at the end of expanded menu
6688
6689 2003-02-15  John Levon  <levon@movementarian.org>
6690
6691         * BufferView.C:
6692         * BufferView_pimpl.C:
6693         * bufferlist.h:
6694         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6695           inset code that had no actual effect. Remove unneeded status
6696           code.
6697
6698 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6699
6700         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6701           in preamble
6702
6703 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6704
6705         * text.C (drawLengthMarker): also draw an arrow marker for
6706           symbolic lengths (medskip...)
6707
6708 2003-02-14  John Levon  <levon@movementarian.org>
6709
6710         * tabular.h:
6711         * tabular.C: better method names
6712
6713 2003-02-14  John Levon  <levon@movementarian.org>
6714
6715         * BufferView_pimpl.C:
6716         * bufferlist.C:
6717         * buffer.C:
6718         * converter.C:
6719         * lyx_cb.C:
6720         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6721           it's a more accurate name. Remove some pointless uses.
6722
6723 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6724
6725         * text2.C (LyXText): change order of initilizers to shut off
6726           warnings
6727
6728 2003-02-14  John Levon  <levon@movementarian.org>
6729
6730         * buffer.C: use ParIterator for getParFromID()
6731
6732         * paragraph.h:
6733         * paragraph.C:
6734         * paragraph_pimpl.h:
6735         * paragraph_pimpl.C: remove unused getParFromID()
6736
6737 2003-02-14  John Levon  <levon@movementarian.org>
6738
6739         * buffer.C: remove some very old #if 0'd parse code
6740
6741 2003-02-13  John Levon  <levon@movementarian.org>
6742
6743         * text.h:
6744         * text.C:
6745         * text2.C: move hfillExpansion(), numberOfSeparators(),
6746           rowLast(), rowLastPrintable(), numberofHfills(),
6747           numberOfLabelHfills() ...
6748
6749         * lyxrow.h:
6750         * lyxrow.C: ... to member functions here.
6751
6752         * paragraph.h:
6753         * paragraph.C:
6754         * lyxtext.h:
6755         * text.C: remove LyXText::beginningOfMainBody(), and call
6756           p->beginningOfMainBody() directly. Move the check for
6757           LABEL_MANUAL into the latter.
6758
6759         * text.h:
6760         * text.C:
6761         * text2.C:
6762         * vspace.C:
6763         * BufferView.h:
6764         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6765
6766         * text.h:
6767         * text.C:
6768         * text2.C:
6769         * text3.C:
6770         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6771           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6772
6773 2003-02-13  John Levon  <levon@movementarian.org>
6774
6775         * CutAndPaste.C: remove debug
6776
6777 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6778
6779         * paragraph.C (asString): remove two unused variables
6780
6781         * lyxtextclass.C (readTitleType):
6782           (Read):
6783           (LyXTextClass): handle new members titletype_ and titlename_
6784
6785         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6786
6787 2003-02-09  John Levon  <levon@movementarian.org>
6788
6789         * buffer.h:
6790         * buffer.C: replace hand-coded list with a map for the dep clean
6791
6792 2003-02-08  John Levon  <levon@movementarian.org>
6793
6794         * LaTeX.C: consolidate code into showRunMessage() helper
6795
6796 2003-02-08  John Levon  <levon@movementarian.org>
6797
6798         * lyxfind.C:
6799         * lyxtext.h:
6800         * text2.C:
6801         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6802           and pass the size in explicitly
6803
6804         * BufferView_pimpl.h:
6805         * BufferView_pimpl.C:
6806         * BufferView.h:
6807         * BufferView.C: add getCurrentChange()
6808
6809         * BufferView_pimpl.h:
6810         * BufferView_pimpl.C: handle change lfuns
6811
6812         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6813           for changes. Mark pasted paragraphs as new.
6814
6815         * support/lyxtime.h:
6816         * support/lyxtime.C:
6817         * DepTable.C: abstract time_t as lyx::time_type
6818
6819         * LColor.h:
6820         * LColor.C: add colours for new text, deleted text, changebars
6821
6822         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6823           package use "usenames" option.
6824
6825         * commandtags.h:
6826         * lyxfunc.C:
6827         * LyXAction.C: add change lfuns
6828
6829         * Makefile.am:
6830         * author.h:
6831         * author.C: author handling
6832
6833         * buffer.h:
6834         * buffer.C: add a per-buffer author list, with first entry as
6835           current author. Handle new .lyx tokens for change tracking. Output
6836           author list to .lyx file. Output dvipost stuff to .tex preamble.
6837           Bump lyx format to 222.
6838
6839         * bufferlist.h:
6840         * bufferlist.C: add setCurrentAuthor() to reset current author details
6841           in all buffers.
6842
6843         * bufferparams.h:
6844         * bufferparams.C: add param for tracking
6845
6846         * bufferview_funcs.C: output change info in minibuffer
6847
6848         * Makefile.am:
6849         * changes.h:
6850         * changes.C: add change-tracking structure
6851
6852         * debug.h:
6853         * debug.C: add CHANGES debug flag
6854
6855         * lyxfind.h:
6856         * lyxfind.C: add code for finding the next change piece
6857
6858         * lyxrc.h:
6859         * lyxrc.C: add user_name and user_email
6860
6861         * lyxrow.h:
6862         * lyxrow.C: add a metric for the top of the text line
6863
6864         * lyxtext.h:
6865         * text.C: implement accept/rejectChange()
6866
6867         * lyxtext.h:
6868         * text.C: paint changebars. Paint new/deleted text in the chosen
6869         colours. Strike through deleted text.
6870
6871         * paragraph.h:
6872         * paragraph.C:
6873         * paragraph_pimpl.h:
6874         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6875           in the current change to the insert functions. Rework erase to
6876           mark text as deleted, adding an eraseIntern() and a range-based
6877           erase(). Implement per-paragraph change lookup and
6878           accept/reject.
6879
6880         * paragraph_funcs.C: Fixup paste for change tracking.
6881
6882         * tabular.C: mark added row/columns as new.
6883
6884         * text.C: fix rowLast() to never return -1. Don't allow
6885           spellchecking of deleted text. Track transpose changes. Don't
6886           allow paragraph break or merge where appropriate.
6887
6888         * text2.C: leave cursor at end of selection after a cut.
6889
6890 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6891
6892         * text.C (getLengthMarkerHeight):
6893         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6894         visible on screen too.
6895
6896 2003-02-07  John Levon  <levon@movementarian.org>
6897
6898         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6899
6900 2003-02-05  Angus Leeming  <leeming@lyx.org>
6901
6902         * lyxserver.C (read_ready): revert my patch of 11 September last year
6903         as it sends PC cpu through the roof. Presumably this means that
6904         the lyxserver will no longer run on an Alpha...
6905
6906 2003-01-30  Angus Leeming  <leeming@lyx.org>
6907
6908         * factory.C (createInset): create an InsetCommandParam of type "index"
6909         and use it to 'do the right thing'.
6910
6911         * text2.C (getStringToIndex): ensure that cursor position is always
6912         reset to the reset_cursor position.
6913
6914 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6915
6916         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6917         disabled.
6918
6919 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6920
6921         * bufferview.C:
6922         * lyxcb.C:
6923         * lyxfunc.C: Output messages with identical spelling, punctuation,
6924         and spaces
6925
6926 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6927
6928         * MenuBackend.C (expandFormats): List only viewable export formats
6929         in "View" menu
6930
6931         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6932         message
6933
6934         * lyxfunc.C (getStatus): Make sure that formats other than
6935         "fax" can also be disabled
6936
6937 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6938
6939         * text3.C (dispatch): put the lfuns that insert insets in 3
6940         groups, and call doInsertInset with appropriate arguments.
6941         (doInsertInset): new function, that creates an inset and inserts
6942         it according to some boolean parameters.
6943
6944 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * buffer.C (readFile): remember to pass on 'par' when calling
6947         readFile recursively.
6948
6949 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6950
6951         * MenuBackend.C (expandFormats): add "..." to import formats.
6952
6953 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6954
6955         * paragraph.C (asString): Remove XForms RTL hacks.
6956
6957 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6958         * buffer.C: fix typo
6959
6960 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * Makefile.am (LIBS): delete var
6963         (lyx_LDADD): add @LIBS@ here instead.
6964
6965 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6966
6967         * Clarify the meaning of "wheel mouse jump"
6968
6969 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6970
6971         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6972         tabular in a float
6973
6974 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6975
6976         * importer.C (Loaders): do not preallocate 3 elements in the
6977         vector, since one ends up with 6 elements otherwise
6978
6979 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6980
6981         * DepTable.C (write): write the file name as last element of the
6982         .dep file (because it may contain spaces)
6983         (read): read info in the right order
6984
6985 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6986
6987         * paragraph_pimpl.C (simpleTeXBlanks):
6988         (simpleTeXSpecialChars):
6989         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6990
6991         * tabular.C (latex): add some missing case statements. Reindent.
6992
6993         * MenuBackend.C (expandToc): remove unused variable.
6994
6995 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6996
6997         * LColor.C:
6998         * LaTeX.C:
6999         * LyXAction.C:
7000         * MenuBackend.C:
7001         * buffer.C:
7002         * exporter.C:
7003         * lyxfunc.C:
7004         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7005         and the like.
7006
7007 2003-01-05  John Levon  <levon@movementarian.org>
7008
7009         * BufferView.h:
7010         * BufferView.C: add getEncoding()
7011
7012         * kbsequence.h:
7013         * kbsequence.C: do not store last keypress
7014
7015         * lyxfunc.h:
7016         * lyxfunc.C: store last keypress here instead. Pass encoding
7017           to getISOEncoded()
7018
7019 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7020
7021         * lyx_main.C (init): remove annoying error message when following
7022         symbolic links (bug #780)
7023
7024 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7025
7026         * text.C (insertChar):
7027         * lyxrc.C (getDescription): remove extra spaces
7028
7029 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7030
7031         * lyxrc.C (getDescription): remove extra spaces
7032
7033 2002-12-20  John Levon  <levon@movementarian.org>
7034
7035         * text3.C: hack fix for page up/down across tall rows
7036
7037 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7038
7039         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7040         not been invoked
7041
7042 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7043
7044         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7045         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7046         thesaurus is not compiled in
7047
7048 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7049
7050         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7051
7052 2002-12-16  Angus Leeming  <leeming@lyx.org>
7053
7054         * lyxrc.[Ch]:
7055         * lyx_main.C (init): remove override_x_deadkeys stuff.
7056
7057 2002-12-12  John Levon  <levon@movementarian.org>
7058
7059         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7060           insert. Only remove shift modifier under strict
7061           circumstances.
7062
7063 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * MenuBackend.C (expandToc): fix crash.
7066
7067 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * MenuBackend.C (expandToc): gettext on float names.
7070
7071 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7072
7073         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7074         implement bool empty() [bug 490]
7075
7076 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7079
7080 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7081
7082         * several files: ws changes
7083
7084 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * text2.C (setCounter): clean up a bit, use boost.format.
7087         (updateCounters): initialize par upon declaration.
7088
7089         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7090         if the layout exists. We do not just store the layout any more.
7091         (SwitchLayoutsBetweenClasses): use boost.format
7092
7093 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7094
7095         * converter.C (convert): if from and to files are the same, use a
7096         temporary files as intermediary
7097
7098 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7099
7100         * commandtags.h:
7101         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7102
7103 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7104
7105         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7106
7107 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * tabular.C (asciiPrintCell): use string(size, char) instead of
7110         explicit loop.
7111
7112         * sgml.C (openTag): fix order of arguments to string constructor
7113         (closeTag): ditto
7114
7115         * lyxfunc.C (dispatch): use boost.format
7116
7117         * lots of files: change "c" -> 'c'
7118
7119 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7120
7121         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7122
7123 2002-11-25  Angus Leeming  <leeming@lyx.org>
7124
7125         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7126
7127         * lyx_main.C (init): compile fix.
7128
7129 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * lyx_cb.C (start): boost.formatify
7132         do not include <iostream>
7133
7134         * lengthcommon.C: ws only
7135
7136         * boost-inst.C,BoostFormat.h: add more explict instantations
7137
7138 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7139
7140         * lots of files: handle USE_BOOST_FORMAT
7141
7142 2002-11-21  John Levon  <levon@movementarian.org>
7143
7144         * pspell.C: fix compile
7145
7146 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7147
7148         * lyxfunc.C (dispatch): use boost::format
7149         (open): ditto
7150         (doImport): ditto
7151
7152         * lyxfont.C (stateText): use boost::format
7153
7154         * lyx_main.C (LyX): use boost::format
7155         (init): ditto
7156         (queryUserLyXDir): ditto
7157         (readRcFile): ditto
7158         (parse_dbg): ditto
7159         (typedef boost::function): use the recommened syntax.
7160
7161         * importer.C (Import): use boost::format
7162
7163         * debug.C (showLevel): use boost::format
7164
7165         * converter.C (view): use boost::format
7166         (convert): ditto
7167         (move): ditto
7168         (scanLog): ditto
7169
7170         * bufferview_funcs.C (currentState): use boost::format
7171
7172         * bufferlist.C (emergencyWrite): use boost::format
7173
7174         * buffer.C (readLyXformat2): use boost::format
7175         (parseSingleLyXformat2Token): ditto
7176
7177         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7178
7179         * LaTeX.C (run): use boost::format
7180
7181         * Chktex.C (scanLogFile): use boost::format
7182
7183         * BufferView_pimpl.C (savePosition): use boost::format
7184         (restorePosition): ditto
7185         (MenuInsertLyXFile): ditto
7186
7187         * BoostFormat.h: help file for explicit instation.
7188
7189 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7190
7191         * tabular.C (latex): Support for block alignment in fixed width
7192         columns.
7193
7194 2002-11-17  John Levon  <levon@movementarian.org>
7195
7196         * BufferView_pimpl.C:
7197         * lyx_cb.C:
7198         * lyxfunc.C: split filedialog into open/save
7199
7200 2002-11-08  Juergen Vigna  <jug@sad.it>
7201
7202         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7203         by my last patch (hopefully).
7204
7205 2002-11-08  John Levon  <levon@movementarian.org>
7206
7207         * iterators.h:
7208         * iterators.C:
7209         * buffer.h:
7210         * buffer.C:
7211         * paragraph.h:
7212         * paragraph.C:
7213         * toc.h:
7214         * toc.C: ParConstIterator, and use it (from Lars)
7215
7216 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7217
7218         * lyxtextclass.[Ch]: revise and add doxygen comments
7219
7220 2002-11-07  John Levon  <levon@movementarian.org>
7221
7222         * text.C: fix progress value for spellchecker
7223
7224         * toc.C: fix navigate menu for insetwrap inside minipage
7225
7226         * paragraph_funcs.C: added FIXME for suspect code
7227
7228 2002-11-07  John Levon  <levon@movementarian.org>
7229
7230         * BufferView_pimpl.C: fix redrawing of insets
7231           on buffer switch
7232
7233 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7234
7235         * text2.C (updateCounters): fix bug 668
7236
7237 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7238
7239         * text3.C (dispatch): Do not make the buffer dirty when moving the
7240         cursor.
7241
7242 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * vc-backend.C: STRCONV
7245         (scanMaster): ditto
7246
7247         * text2.C (setCounter): STRCONV
7248
7249         * paragraph.C (asString): STRCONV
7250
7251         * lyxlength.C (asString): STRCONV
7252         (asLatexString): ditto
7253
7254         * lyxgluelength.C (asString): STRCONV
7255         (asLatexString): ditto
7256
7257         * lyxfunc.C (dispatch): STRCONV
7258         (open): ditto
7259
7260         * lyxfont.C (stateText): STRCONV
7261
7262         * importer.C (Import): STRCONV
7263
7264         * counters.C (labelItem): STRCONV
7265         (numberLabel): ditto
7266         (numberLabel): remove unused ostringstream o
7267
7268         * chset.C: STRCONV
7269         (loadFile): ditto
7270
7271         * bufferview_funcs.C (currentState): STRCONV
7272
7273         * buffer.C (readFile): STRCONV
7274         (asciiParagraph): ditto
7275         (makeLaTeXFile): ditto
7276
7277         * Spacing.C (writeEnvirBegin): STRCONV
7278
7279         * LaTeXFeatures.C (getLanguages): STRCONV
7280         (getPackages): ditto
7281         (getMacros): ditto
7282         (getBabelOptions): ditto
7283         (getTClassPreamble): ditto
7284         (getLyXSGMLEntities): ditto
7285         (getIncludedFiles): ditto
7286
7287         * LaTeX.C: STRCONV
7288         (run): ditto
7289         (scanAuxFile): ditto
7290         (deplog): ditto
7291
7292         * LString.h: add the STRCONV macros
7293
7294         * BufferView_pimpl.C (savePosition): STRCONV
7295         (restorePosition): ditto
7296         (MenuInsertLyXFile): ditto
7297
7298         * vc-backend.C (scanMaster): change from submatch[...] to
7299         submatch.str(...)
7300
7301         * funcrequest.C: include config.h
7302
7303         * factory.C: include config.h
7304
7305         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7306
7307         * box.C: include config.h
7308
7309         * LaTeX.C (scanAuxFile): change from submatch[...] to
7310         submatch.str(...)
7311         (deplog): ditto
7312
7313 2002-10-25  Angus Leeming  <leeming@lyx.org>
7314
7315         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7316
7317         * ispell.[Ch] (setError): new method.
7318         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7319         Use setError() insetead of goto END.
7320
7321         * lyx_cb.C (AutoSave): move out child process into new class
7322         AutoSaveBuffer.
7323
7324 2002-10-30  John Levon  <levon@movementarian.org>
7325
7326         * text3.C: make start appendix undoable
7327
7328 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7329
7330         * lyxlength.C (inPixels): Fix returned value.
7331
7332         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7333         environment.
7334
7335 2002-10-24  Angus Leeming  <leeming@lyx.org>
7336
7337         * lyxgluelength.h: no need to forward declare BufferParams
7338         or BufferView, so don't.
7339
7340 2002-10-21  John Levon  <levon@movementarian.org>
7341
7342         * BufferView.C: menuUndo ->undo, redo
7343
7344         * BufferView.h: document, remove dead, make some methods private
7345
7346         * paragraph_funcs.h:
7347         * paragraph_funcs.C:
7348         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7349
7350         * buffer.h:
7351         * buffer.C:
7352         * sgml.h:
7353         * sgml.C: move sgml open/close tag into sgml.C
7354
7355         * bufferview_funcs.h: unused prototype
7356
7357         * lyxfunc.h:
7358         * lyxfunc.C: remove unused
7359
7360         * lyxtext.h:
7361         * text.C: remove unused
7362
7363 2002-10-21  John Levon  <levon@movementarian.org>
7364
7365         * BufferView.h:
7366         * BufferView.C:
7367         * BufferView_pimpl.h:
7368         * BufferView_pimpl.C: fix mouse wheel handling based on
7369           patch from Darren Freeman
7370
7371 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7372
7373         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7374
7375 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7376
7377         * lyxlength.C (inPixels): Fix hanfling of negative length.
7378         Fix LyXLength::MU case.
7379
7380 2002-10-16  John Levon  <levon@movementarian.org>
7381
7382         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7383
7384 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7385
7386         * converter.C (view): add support for $$i (file name) and $$p
7387         (file path) for the viewer command. If $$i is not specified, then
7388         it is appended to the command (for compatibility with old syntax)
7389
7390 2002-10-14  Juergen Vigna  <jug@sad.it>
7391
7392         * undo_funcs.C (textHandleUndo): alter the order in which the
7393         new undopar is added to the LyXText, as we have to set first
7394         the right prev/next and then add it as otherwise the rebuild of
7395         LyXText is not correct. Also reset the cursor to the right paragraph,
7396         with this IMO we could remove the hack in "redoParagraphs()".
7397
7398 2002-10-09  Angus Leeming  <leeming@lyx.org>
7399
7400         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7401         to turn off an optimisation if a new inset is to be inserted.
7402
7403 2002-10-11 André Pönitz <poenitz@gmx.net>
7404
7405         * lyxtext.h: make some functions public to allow access
7406         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7407
7408 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7409
7410         * text3.C (dispatch): when changing layout, avoid an infinite loop
7411         [bug #652]
7412
7413 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7414
7415         * lyxrc.C (read): treat a viewer or converter command of "none" as
7416         if it were empty.
7417
7418         * MenuBackend.C (expandFormats): for an update, also allow the
7419         formats that are not viewable
7420
7421         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7422         script if it is newer than the lyxrc.defaults in user directory
7423
7424 2002-10-07 André Pönitz <poenitz@gmx.net>
7425
7426         * text.C: Vitaly Lipatov's small i18n fix
7427
7428 2002-09-25  Angus Leeming  <leeming@lyx.org>
7429
7430         * ispell.h: doxygen fix.
7431
7432 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7433
7434         * buffer.h (readFile): Add a new argument to the method, to allow
7435         reading of old-format templates.
7436
7437 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7438
7439         * toc.C (getTocList): Get TOC from InsetWrap.
7440
7441 2002-09-16  John Levon  <levon@movementarian.org>
7442
7443         * lyxfunc.C: check tabular for cut/copy too
7444
7445 2002-09-12  John Levon  <levon@movementarian.org>
7446
7447         * LyXAction.C: tidy
7448
7449         * factory.h:
7450         * factory.C: add header
7451
7452         * paragraph_funcs.h:
7453         * paragraph_funcs.C: cleanup
7454
7455 2002-09-11  John Levon  <levon@movementarian.org>
7456
7457         * PrinterParams.h: odd/even default to true
7458
7459 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7460
7461         * PrinterParams.h: update printer parameters for new xforms dialog
7462
7463 2002-09-11  Angus Leeming  <leeming@lyx.org>
7464
7465         * lyxserver.C (read_ready): re-write to make it more transparent
7466         and to make it work in coherent fashion under Tru64 Unix.
7467
7468 2002-09-11  André Pönitz <poenitz@gmx.net>
7469
7470         * commandtags.h:
7471         * LyXAction.C:
7472         * text3.C: implement LFUN_WORDSEL
7473
7474 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7477         make floatlist_ a boost::shared_ptr<FloatList>
7478
7479         * lyxtextclass.C: include FloatList.h
7480         (LyXTextClass): initialize floatlist_
7481         (TextClassTags): add TC_NOFLOAT
7482         (Read): match "nofloat" to TC_NOFLOAT and use it.
7483         (readFloat): modify call to floatlist_
7484         (floats): ditto
7485         (floats): ditto
7486
7487         * FloatList.[Ch] (FloatList): remove commented out float
7488         initialization.
7489         (erase): new function
7490
7491 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7492
7493         * MenuBackend.C (expandToc): fix crash when there is no document
7494         open
7495
7496 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7497
7498         * many files: Add insetwrap.
7499
7500 2002-09-09  John Levon  <levon@movementarian.org>
7501
7502         * text2.C: remove confusing and awkward depth wraparound
7503
7504 2002-09-09  John Levon  <levon@movementarian.org>
7505
7506         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7507
7508         * buffer.h:
7509         * buffer.C: remove getIncludeonlyList()
7510
7511         * paragraph.C:
7512         * lyxfunc.C: remove headers
7513
7514 2002-09-09  Juergen Vigna  <jug@sad.it>
7515
7516         * text.C (getColumnNearX): fix form Michael this is most
7517         probably a cut&paste bug.
7518
7519 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7520
7521         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7522
7523         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7524         references, ws changes.
7525
7526         * text2.C (init): update counters after init
7527         (insertParagraph): no need to set counter on idividual paragraphs.
7528         (setCounter): access the counters object in the textclass object
7529         on in the buffer object.
7530         (updateCounters): ditto
7531
7532         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7533         shared_ptr<Counters> to avoid loading counters.h in all
7534         compilation units.
7535         (LyXTextClass): initialize ctrs_
7536         (TextClassTags): add TC_COUNTER, and ...
7537         (Read): use it here.
7538         (CounterTags): new tags
7539         (readCounter): new function
7540         (counters): new funtion
7541         (defaultLayoutName): return a const reference
7542
7543         * counters.C (Counters): remove contructor
7544         (newCounter): remove a couple of unneeded statements.
7545         (newCounter): simplify a bit.
7546         (numberLabel): some small formatting changes.
7547
7548         * buffer.[Ch]: remove all traces of counters, move the Counters
7549         object to the LyXTextClass.
7550
7551 2002-09-06  Alain Castera  <castera@in2p3.fr>
7552
7553         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7554         package to set the horizontal alignment on fixed width columns.
7555
7556         * lyx_sty.C:
7557         * lyx_sty.h: added tabularnewline macro def.
7558
7559         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7560
7561 2002-09-06  John Levon  <levon@movementarian.org>
7562
7563         * LyXAction.C: tooltips for sub/superscript
7564
7565         * MenuBackend.C: a bit more verbose
7566
7567         * lyxfunc.C: tiny clean
7568
7569         * undo_funcs.C: document undo_frozen
7570
7571 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * counters.C (Counters): add missing algorithm counter.
7574
7575         * text2.C (setCounter): lookup the counter with layouts latexname
7576         instead of by section number.
7577         (setCounter): use a hackish way to lookup the correct enum
7578         counter.
7579         a float name->type change
7580         reset enum couners with counter name directly instead of depth value.
7581
7582         * counters.C (Counters): remove the push_backs, change to use the
7583         float type not the float name.
7584         (labelItem): remove unused string, float name->type change
7585
7586         * counters.h: don't include vector, loose the enums and sects vectors
7587
7588 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7591         (Read): add float->TC_FLOAT to textclassTags
7592         (Read): and handle it in the switch
7593         (readFloat): new function
7594
7595         * FloatList.C (FloatList): comment out the hardcoded float
7596         definitions.
7597
7598         * lyxlayout.h: ws change.
7599
7600 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7601
7602         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7603
7604 2002-09-03  Angus Leeming  <leeming@lyx.org>
7605
7606         * BufferView_pimpl.h: qualified name is not allowed in member
7607         declaration: WorkArea & Pimpl::workarea() const;
7608
7609         * factory.C: added using std::endl directive.
7610
7611         * text3.C: added using std::find and std::vector directives.
7612
7613 2002-08-29  André Pönitz <poenitz@gmx.net>
7614
7615         * lyxtext.h:
7616         * text2.C: remove unused member number_of_rows
7617
7618         * Makefile.am:
7619         * BufferView2.C: remove file, move contents to...
7620         * BufferView.C: ... here
7621
7622         * BufferView_pimpl.C:
7623         * factory.C: move more inset creation to factory
7624
7625         * vspace.C: avoid direct usage of LyXText, ws changes
7626
7627         * BufferView.[Ch]:
7628                 don't provide direct access to WorkArea, use two simple
7629                 acessors haveSelction() and workHeight() instead
7630
7631
7632 2002-08-29  John Levon  <levon@movementarian.org>
7633
7634         * BufferView_pimpl.C (dispatch): do not continue when
7635           no buffer
7636
7637 2002-08-28  André Pönitz <poenitz@gmx.net>
7638
7639         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7640
7641         * BufferView.h:
7642         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7643
7644 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7645
7646         * buffer.C: increment LYX_FORMAT to 221
7647
7648         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7649         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7650
7651         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7652
7653         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7654
7655 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7656
7657         * factory.C (createInset): use LyXTextClass::floats
7658
7659         * MenuBackend.C (expandFloatListInsert):
7660         (expandFloatInsert):
7661         (expandToc):
7662
7663         * text2.C (setCounter):
7664
7665         * LaTeXFeatures.C (useFloat):
7666         (getFloatDefinitions):
7667
7668         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7669
7670         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7671         floatlist_, with accessor floats().
7672
7673         * FloatList.h: remove global FloatList
7674
7675 2002-08-26  André Pönitz <poenitz@gmx.net>
7676
7677         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7678
7679         * BufferView.h:
7680         * BufferView2.C:
7681         * BufferView_pimpl.C:
7682         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7683
7684 2002-08-25  John Levon  <levon@movementarian.org>
7685
7686         * LyXAction.C: fix margin note description
7687
7688 2002-08-24  John Levon  <levon@movementarian.org>
7689
7690         * buffer.C:
7691         * bufferlist.C:
7692         * bufferview_funcs.C:
7693         * lyxfont.C:
7694         * undo_funcs.C: cleanups
7695
7696         * lyxfunc.C: disable CUT/COPY when no selection
7697
7698 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7699
7700         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7701         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7702
7703         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7704         Add backward compatibility to "mono", "gray" and "no".
7705
7706 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7707
7708         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7709         (and file_format >= 200).
7710
7711 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7712
7713         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7714
7715 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7716
7717         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7718
7719 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7720
7721         * BufferView_pimpl.C:
7722         * LyXAction.C:
7723         * buffer.C:
7724         * commandtags.h:
7725         * lyxfunc.C:
7726         * paragraph.[Ch]:
7727         * text2.C:
7728         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7729         inset and code to make it  work with the paragraph code. The inset
7730         can be anywhere in the paragraph, but will only do the expected
7731         thing in LaTeX if the layout file contains the parameter line
7732                         OptionalArgs    1
7733         (or more generally, a nonzero value) for that layout.
7734
7735 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * paragraph.h: remove the declaration of undefined counters class
7738         function.
7739
7740 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7741
7742         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7743         Dr. Richard Hawkins.
7744
7745 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7746
7747         * paragraph_funcs.h: remove some unneeded includes
7748
7749         * text.C (backspace): pasteParagraph now in global scipe
7750
7751         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7752         (pasteSelection): ditto
7753
7754         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7755         * paragraph_funcs.C (pasteParagraph): ... here
7756
7757 2002-08-20  André Pönitz <poenitz@gmx.net>
7758
7759         * commandtags.h: new LFUNs for swapping/copying table row/colums
7760
7761         * LyXAction.C:
7762         * lyxfunc.C: support for new lfuns
7763
7764 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * tabular.C:
7767         * buffer.[Ch]: remove NO_COMPABILITY stuff
7768
7769 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * boost.C (throw_exception): new file, with helper function for
7772         boost compiled without exceptions.
7773
7774         * paragraph.h:
7775         * lyxlength.C:
7776         * buffer.C:
7777         * ParameterStruct.h:
7778         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7779
7780         * bufferlist.C (emergencyWriteAll): use boost bind
7781
7782         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7783
7784         * text.C: include paragraph_funcs.h
7785         (breakParagraph): breakParagraph is now in global scope
7786
7787         * paragraph_funcs.[Ch]: new files
7788
7789         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7790         global scope
7791
7792         * buffer.C: include paragraph_funcs.h
7793         (insertStringAsLines): breakParagraph is now in global scope
7794
7795         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7796         paragraph_funcs.C
7797
7798         * CutAndPaste.C: include paragraph_funcs.h
7799         (cutSelection): breakParagraphConservative is now in global scope
7800         (pasteSelection): ditto
7801
7802         * buffer.h: declare oprator== and operator!= for
7803         Buffer::inset_iterator
7804
7805         * bufferlist.C (emergencyWrite): don't use fmt(...)
7806
7807         * text3.C: add using std::endl
7808
7809         * BufferView.C (moveCursorUpdate): remove default arg
7810
7811 2002-08-20  André Pönitz <poenitz@gmx.net>
7812
7813         * buffer.[Ch]: move inline functions to .C
7814
7815         * BufferView2.C:
7816         * BufferView_pimpl.C:
7817         * text.C:
7818         * buffer.[Ch]: use improved inset_iterator
7819
7820         * buffer.C:
7821         * paragraph.[Ch]: write one paragraph at a time
7822
7823 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7824
7825         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7826         style if style is not specified.
7827
7828 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7829
7830         * text2.C (setCounter): when searching for right label for a
7831         caption, make sure to recurse to parent insets (so that a caption
7832         in a minipage in a figure float works) (bug #568)
7833
7834 2002-08-20  André Pönitz <poenitz@gmx.net>
7835
7836         * text3.C: new file for LyXText::dispatch() and helpers
7837
7838         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7839
7840         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7841
7842 2002-08-19  André Pönitz <poenitz@gmx.net>
7843
7844         * lyxtext.h:
7845         * text.C: new LyXText::dispatch()
7846
7847         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7848
7849 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7850
7851         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7852
7853         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7854         Hebrew text.
7855
7856 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7857
7858         * Makefile.am: use $(variables) instead of @substitutions@
7859
7860 2002-08-15  André Pönitz <poenitz@gmx.net>
7861
7862         * lyxfunc.C:
7863         * BufferView_pimpl.C: streamlining mathed <-> outer world
7864         interaction
7865
7866         * commandtags.h:
7867         * LyXAction.C: remove unused LFUN_MATH
7868
7869 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7872
7873 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7874
7875         * paragraph.C (Paragraph): reformat a bit
7876         (cutIntoMinibuffer): use builtin InsetList function instad of
7877         doing it manually.
7878         (getInset): ditto
7879
7880         * buffer.C: include boost/bind.hpp, add using std::for_each
7881         (writeFileAscii): use ParagraphList iterators
7882         (validate): use for_each for validate traversal of paragraphs
7883         (getBibkeyList): use ParagraphList iterators
7884         (resizeInsets): use for_each to resizeInsetsLyXText for all
7885         paragraphs.
7886         (getParFromID): use ParagraphList iterators
7887
7888         * BufferView2.C (lockInset): use paragraph list and iterators
7889
7890 2002-08-14  John Levon  <levon@movementarian.org>
7891
7892         * lyxserver.C: remove spurious xforms include
7893
7894 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7895
7896         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7897
7898 2002-08-13  André Pönitz <poenitz@gmx.net>
7899
7900         * LyXAction.[Ch]:
7901         * lyxfunc.C: further cleaning
7902
7903 2002-08-13  André Pönitz <poenitz@gmx.net>
7904
7905         * funcrequest.h: new constructor
7906
7907         * funcrequest.C: move stuff here from .h
7908
7909         * Makefile.am:
7910         * BufferView_pimpl.C:
7911         * LyXAction.C:
7912         * toc.C:
7913         * lyxfunc.C: subsequent changes
7914
7915         * lyxfunc.h: new view() member function
7916
7917         * lyxfunc.C: subsequent changes
7918
7919 2002-08-13  Angus Leeming  <leeming@lyx.org>
7920
7921         * BufferView2.C:
7922         * BufferView_pimpl.C:
7923         * buffer.C:
7924         * converter.C:
7925         * importer.C:
7926         * lyxfunc.C:
7927         * lyxvc.C:
7928         * toc.C:
7929         * vc-backend.C:
7930         changes due to the changed LyXView interface that now returns references
7931         to member variables not pointers.
7932
7933 2002-08-13  Angus Leeming  <leeming@lyx.org>
7934
7935         * WordLangTuple (word, lang_code): return references to strings,
7936         not strings.
7937
7938         * BufferView.h:
7939         * SpellBase.h:
7940         * lyxtext.h: forward-declare WordLangTuple.
7941
7942         * BufferView2.C:
7943         * ispell.C:
7944         * pspell.C:
7945         * text.C: #include "WordLangTuple.h".
7946
7947         * lyxtext.h:
7948         * text.C: (selectNextWordToSpellcheck): constify return type.
7949
7950 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7951
7952         * buffer.C:
7953         * buffer.h:
7954         * lyxtext.h:
7955         * paragraph.C:
7956         * paragraph_pimpl.h:
7957         * text.C:
7958         * text2.C:
7959         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7960         suggested by Angus.
7961         Made updateCounter always count from start of buffer, and removed
7962         second argument (par).
7963         Reverted floats number display to '#'. Perhaps I'll try again when the
7964         code base is sanitized a bit.
7965
7966 2002-08-12  Angus Leeming  <leeming@lyx.org>
7967
7968         * buffer.[Ch] (getLabelList): constify.
7969
7970 2002-08-07  André Pönitz <poenitz@gmx.net>
7971
7972         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7973
7974         * funcrequest.h: extension to keep mouse (x,y) position
7975
7976 2002-08-12  Juergen Vigna  <jug@sad.it>
7977
7978         * BufferView2.C (insertErrors): forbid undo when inserting error
7979         insets.
7980
7981         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7982
7983 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * ParagraphList.[Ch]: new files
7986
7987         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7988
7989         * BufferView2.C (lockInset): ParagraphList changes
7990         * toc.C: ditto
7991         * text2.C: ditto
7992         * bufferlist.C: ditto
7993         * buffer.h: ditto
7994         * buffer.C: ditto
7995
7996 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7999         unused class variable counter_,
8000
8001         * paragraph.[Ch] (getFirstCounter): delete unused function
8002
8003         * counters.C: include LAssert.h
8004         (reset): add a new function with no arg, change other version to
8005         not have def. arg and to not allow empty arg.
8006
8007         * text2.C (setCounter): remove empty arg from call to Counters::reset
8008
8009 2002-08-11  John Levon  <levon@movementarian.org>
8010
8011         * Makefile.am: add WordLangTuple.h
8012
8013 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8016         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8017
8018         * insets/insettext.C: InsetList changes
8019
8020         * graphics/GraphicsSupport.C (operator()): InsetList changes
8021
8022         * toc.C (getTocList): InsetList changes
8023
8024         * paragraph_pimpl.[Ch]: InsetList changes
8025
8026         * paragraph.[Ch]: InsetList changes
8027
8028         * buffer.C (inset_iterator): InsetList changes
8029         (setParagraph): ditto
8030         * buffer.h (inset_iterator): ditto
8031         * iterators.C (operator++): ditto
8032         * iterators.h: ditto
8033
8034         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8035
8036         * InsetList.[Ch]: new files, most InsetList handling moved out of
8037         paragraph.C.
8038
8039         * BufferView2.C (removeAutoInsets): InsetList changes
8040         (lockInset): ditto
8041         (ChangeInsets): ditto
8042
8043 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * paragraph_pimpl.h (empty): new function
8046
8047         * paragraph.[Ch] (empty): new function
8048
8049         * other files: use the new Paragraph::empty function
8050
8051 2002-08-09  John Levon  <levon@movementarian.org>
8052
8053         * lyxtext.h: remove unused refresh_height
8054
8055 2002-08-09  John Levon  <levon@movementarian.org>
8056
8057         * Makefile.am:
8058         * sgml.h:
8059         * sgml.C:
8060         * buffer.C:
8061         * paragraph.h:
8062         * paragraph.C: move sgml char escaping out of paragraph
8063
8064         * paragraph.h:
8065         * paragraph.C: remove id setter
8066
8067         * buffer.C:
8068         * paragraph.C:
8069         * paragraph_pimpl.C: remove dead tex_code_break_column
8070
8071         * bufferview_funcs.C: small cleanup
8072
8073         * lyxfunc.C: remove dead proto
8074
8075         * lyxtext.h: make some stuff private. Remove some dead stuff.
8076
8077         * lyxgluelength.C: make as[LyX]String() readable
8078
8079 2002-08-08  John Levon  <levon@movementarian.org>
8080
8081         * LyXAction.h:
8082         * LyXAction.C:
8083         * MenuBackend.C:
8084         * ToolbarDefaults.C:
8085         * lyxfunc.C:
8086         * lyxrc.C:
8087         * toc.C: lyxaction cleanup
8088
8089 2002-08-08  John Levon  <levon@movementarian.org>
8090
8091         * BufferView2.C: small cleanup
8092
8093         * lyxfind.h:
8094         * lyxfind.C: move unnecessary header into the .C
8095
8096 2002-08-08  John Levon  <levon@movementarian.org>
8097
8098         * funcrequest.h: just tedious nonsense
8099
8100         * lyx_main.h:
8101         * lyx_main.C: cleanups
8102
8103         * buffer.C:
8104         * vspace.C: remove dead header lyx_main.h
8105
8106 2002-08-07  Angus Leeming  <leeming@lyx.org>
8107
8108         * Paragraph.[Ch]:
8109         * paragraph_pimpl.h:
8110         Forward declare class Counters in paragraph.h by moving the ctrs member
8111         variable into Paragraph::Pimpl.
8112         (counters): new method, returning a reference to pimpl_->ctrs.
8113
8114         * text2.C: ensuing changes.
8115
8116 2002-08-07  John Levon  <levon@movementarian.org>
8117
8118         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8119
8120         * BufferView_pimpl.C: announce X selection on double/triple
8121           click
8122
8123         * lyx_main.C: use correct bool in batch dispatch
8124
8125         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8126
8127 2002-08-07  André Pönitz <poenitz@gmx.net>
8128
8129         * funcrequest.h: new class to wrap a kb_action and its argument
8130
8131         * BufferView.[Ch]:
8132         * BufferView_pimpl[Ch]:
8133         * LaTeX.C:
8134         * LyXAction.[Ch]:
8135         * lyxfunc.[Ch]:
8136         * lyxrc.C: subsequent changes
8137
8138
8139 2002-08-07  John Levon  <levon@movementarian.org>
8140
8141         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8142           document options change.
8143
8144 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8145
8146         * counters.[Ch]
8147         * text2.C
8148         * paragraph.[Ch]
8149         * makefile.am: move counters functionality over from
8150         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8151
8152 2002-08-06  John Levon  <levon@movementarian.org>
8153
8154         * WordLangTuple.h: new file for word + language code tuple
8155
8156         * SpellBase.h:
8157         * pspell.h:
8158         * pspell.C:
8159         * ispell.h:
8160         * ispell.C:
8161         * lyxtext.h:
8162         * text.C:
8163         * text2.C:
8164         * BufferView.h:
8165         * BufferView2.C: use WordLangTuple
8166
8167         * layout.h:
8168         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8169
8170 2002-08-06  John Levon  <levon@movementarian.org>
8171
8172         * lyx_main.C: fix cmdline batch handling
8173
8174 2002-08-06  André Pönitz <poenitz@gmx.net>
8175
8176         * lyxrc.C: set default for show_banner to true
8177
8178 2002-08-06  John Levon  <levon@movementarian.org>
8179
8180         * pspell.C: fix a crash, and allow new aspell to work
8181
8182 2002-08-06  John Levon  <levon@movementarian.org>
8183
8184         * lyxfunc.C:
8185         * kbmap.C: small cleanup
8186
8187         * vspace.h:
8188         * vspace.C: add const
8189
8190 2002-08-05  John Levon  <levon@movementarian.org>
8191
8192         * LyXAction.C: back to tabular-insert
8193
8194 2002-08-04  John Levon  <levon@movementarian.org>
8195
8196         * BufferView.h:
8197         * BufferView.C: cosmetic change
8198
8199         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8200
8201         * bufferlist.C:
8202         * buffer.h:
8203         * buffer.C:
8204         * lyxcb.h:
8205         * lyxcb.C:
8206         * lyxserver.C:
8207         * lyxvc.C:
8208         * vc-backend.C:
8209         * BufferView2.C: purge all "Lyx" not "LyX" strings
8210
8211         * lyxcursor.h:
8212         * lyxcursor.C: attempt to add some documentation
8213
8214         * lyxfunc.C:
8215         * commandtags.h:
8216         * LyXAction.C:
8217         * ToolbarDefaults.C:
8218         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8219           merge with LFUN_TABULAR_INSERT
8220
8221         * Makefile.am:
8222         * SpellBase.h:
8223         * ispell.h:
8224         * ispell.C:
8225         * pspell.h:
8226         * pspell.C: split up i/pspell implementations into separate
8227           files, many cleanups
8228
8229         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8230
8231         * text2.C: some cleanup
8232
8233         * lyxfunc.C: don't check for isp_command == "none" any more, it
8234           didn't make any sense
8235
8236 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8237
8238         * counters.[Ch]
8239         * text2.C
8240         * paragraph.[Ch]
8241         * makefile.am: move counters functionality over
8242         from text2.C/paragraph.[Ch] to counters.[Ch], and
8243         make proper C++.
8244 2002-08-02  John Levon  <levon@movementarian.org>
8245
8246         * buffer.C: s/lyxconvert/lyx2lyx/
8247
8248 2002-08-02  Angus Leeming  <leeming@lyx.org>
8249
8250         * lyxlex.C: revert John's change as it breaks reading of the user
8251         preamble.
8252
8253 2002-08-02  Angus Leeming  <leeming@lyx.org>
8254
8255         * importer.C (Import):
8256         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8257         changes due to LyXView::view() now returning a boost::shared_ptr.
8258
8259 2002-08-02  John Levon  <levon@movementarian.org>
8260
8261         * lyxlex.C: small cleanup
8262
8263 2002-08-02  John Levon  <levon@movementarian.org>
8264
8265         * text2.C (status): small cleanup, no logic change
8266
8267 2002-08-01  John Levon  <levon@movementarian.org>
8268
8269         * buffer.h:
8270         * buffer.C (writeFile): don't output alerts, caller
8271           handles this
8272
8273         * bufferlist.C:
8274         * lyx_cb.C: from above
8275
8276         * lyxfunc.C: allow to open non-existent files
8277
8278 2002-07-31  John Levon  <levon@movementarian.org>
8279
8280         * lyxserver.C: don't let incidental errors get
8281           in the way (errno)
8282
8283 2002-07-30  John Levon  <levon@movementarian.org>
8284
8285         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8286
8287 2002-07-30  John Levon  <levon@movementarian.org>
8288
8289         * lyxserver.h:
8290         * lyxserver.C: remove I/O callback too
8291
8292 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8295         log.
8296
8297 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8298
8299         * many files: strip,frontStrip -> trim,ltrim,rtrim
8300
8301 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8302
8303         * PrinterParams.h: remove extern containsOnly, and include
8304         support/lstrings.h instead.
8305
8306         * LaTeX.C (scanAuxFile): modify because of strip changes
8307         (deplog): ditto
8308         * buffer.C (makeLaTeXFile): ditto
8309         * bufferparams.C (writeFile): ditt
8310         * lyxfont.C (stateText): ditto
8311         * lyxserver.C (read_ready): ditto
8312         * vc-backend.C (scanMaster): ditto
8313
8314         * BufferView_pimpl.h: ws changes
8315
8316         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8317
8318 2002-07-26  André Pönitz <poenitz@gmx.net>
8319
8320         * kb_sequence.C: remove unnedred usings
8321
8322 2002-07-26  Juergen Vigna  <jug@sad.it>
8323
8324         * lyxfind.C (LyXReplace): we have to check better if the returned
8325         text is not of theLockingInset()->getLockingInset().
8326
8327 2002-07-25  Juergen Vigna  <jug@sad.it>
8328
8329         * lyxfind.C (LyXReplace): don't replace if we don't get the
8330         right LyXText.
8331
8332         * undo_funcs.C (createUndo): remove debugging code.
8333
8334 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8335
8336         * buffer.C (parseSingleLyXformat2Token): Use default placement
8337         when reading old floats.
8338
8339         * FloatList.C (FloatList): Change the default placement of figure
8340         and tables to "tbp".
8341
8342 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * MenuBackend.C: using std::max
8345
8346 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * MenuBackend.C (expandToc):
8349         (expandToc2): code moved from xforms menu frontend. It is now
8350         generic and TOCs are transparent to menu frontends.
8351
8352 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8353
8354         * toc.C (getTocList): protect against buf=0
8355
8356         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8357         Menu as first parameter. Now, this calls itself recursively to
8358         expand a whole tree (this will be useful for TOC handling)
8359         (expandFloatInsert): remove 'wide' version of floats
8360
8361         * MenuBackend.h (submenuname): returns the name of the submenu.
8362         (submenu): returns the submenu itself, provided it has been
8363         created by MenuBackend::expand
8364
8365 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8368         insets which have noFontChange == true. (bug #172)
8369
8370 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8371
8372         * BufferView_pimpl.C: add connection objects and use them...
8373         (Pimpl): here.
8374
8375 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8376
8377         * MenuBackend.C (expandLastfiles):
8378         (expandDocuments):
8379         (expandFormats):
8380         (expandFloatListInsert):
8381         (expandFloatInsert):
8382         (expand): split expand in parts
8383
8384 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * lyx_gui.C: use lyx_gui::exit()
8387
8388 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8389
8390         * LyXAction.C: show the failing pseudo action
8391
8392 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8393
8394         * buffer.C (readFile): Run the lyxconvert script in order to read
8395         old files.
8396
8397 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * LyXAction.C:
8400         * commandtags.h:
8401         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8402
8403 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8404
8405         * LyXAction.C:
8406         * commandtags.h:
8407         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8408
8409 2002-07-22  Herbert Voss  <voss@lyx.org>
8410
8411         * lengthcommon.C:
8412         * lyxlength.[Ch]: add support for the vertical lengths
8413
8414 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * toc.[Ch]: std:: fixes
8417
8418 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8419
8420         * lyxrc.C: do not include lyx_main.h
8421
8422         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8423         for layouts
8424
8425         * lyxrc.C:
8426         * encoding.C:
8427         * bufferlist.C:
8428         * BufferView2.C: include "lyxlex.h"
8429
8430         * tabular.h:
8431         * bufferparams.h: do not #include "lyxlex.h"
8432
8433         * lyxtextclasslist.C (Add): remove method
8434         (classlist): renamed to classlist_
8435
8436         * paragraph_pimpl.C:
8437         * paragraph.C:
8438         * text2.C:
8439         * CutAndPaste.C:
8440         * bufferview_funcs.C:
8441         * bufferlist.C:
8442         * text.C:
8443         * LaTeXFeatures.C:
8444         * buffer.C:
8445         * toc.C (getTocList): use BufferParams::getLyXTextClass
8446
8447         * toc.C (getTocList): use InsetFloat::addToToc
8448
8449         * toc.[Ch]: new files, containing helper functions to handle table
8450         of contents
8451
8452         * lyxfunc.C (dispatch): no need to remove spaces around command
8453         given as a string
8454         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8455         first command of the sequence; it is not very clever, but I do not
8456         have a better idea, actually
8457
8458         * LyXAction.C (LookupFunc): make sure to remove space at the
8459         beginning and end of the command
8460
8461 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8462
8463         * MenuBackend.C (getMenubar): new method: return the menubar of
8464         this menu set
8465         (read): treat differently reading of menu and menubar (in
8466         particular, the menubar has no name now)
8467         (Menu::menubar): remove
8468
8469         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8470         saving is finished
8471
8472 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8473
8474         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8475         a bibitem inset in a RTL paragraph.
8476
8477 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8478
8479         * paragraph_pimpl.C: constify
8480
8481         * BufferView_pimpl.C:
8482         * LaTeX.C:
8483         * lyxfunc.C: fix dispatch in a nicer way
8484
8485 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8486
8487         * lyxfunc.C (dispatch):
8488         * BufferView_pimpl.C:
8489         * BufferView_pimpl.h:
8490         * BufferView.C:
8491         * BufferView.h: rename Dispatch() to dispatch()
8492
8493         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8494
8495         * lyxlayout.C (Read): honor DependsOn tag
8496
8497         * lyxlayout.[Ch] (depends_on): new method
8498
8499         * version.C.in: update lyx_docversion
8500
8501         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8502
8503         * paragraph.C (validate): remove from here...
8504         * paragraph_pimpl.C (validate): ... and move here
8505         (isTextAt): make it const
8506
8507         * buffer.C (getLists): ws cleanup
8508
8509 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8510
8511         * language.C (read): Use iso8859-1 encoding in latex_lang
8512         (this prevents LyX from crashing when using iso10646-1 encoding).
8513
8514 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8515
8516         * text2.C (toggleInset): if cursor is inside an inset, close the
8517         inset and leave cursor _after_ it
8518
8519 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8520
8521         * lyxfunc.C: move minibuffer completion handling out of here
8522
8523 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8524
8525         * BufferView_pimpl.C:
8526         * LaTeX.C: fix dispatch calls
8527
8528 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8529
8530         * text.C (drawChars): Fix Arabic text rendering.
8531
8532 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8533
8534         * LyXAction.C:
8535         * commandtags.h:
8536         * lyxfunc.C: remove message-push/pop
8537
8538         * lyxserver.C:
8539         * lyxfunc.h:
8540         * lyxfunc.C: rationalise some code by removing verboseDispatch
8541           in favour of a bool argument to dispatch()
8542
8543 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8544
8545         * lyx_main.C (init): make sure to read symlinks as absolute paths
8546
8547 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * lyxfunc.h:
8550         * lyxfunc.C: no need for commandshortcut to be a member
8551
8552 2002-07-15  André Pönitz <poenitz@gmx.net>
8553
8554         * converter.C: add support for $$s (scripts from lib/scripts dir)
8555         * lyx_main.C: white space
8556
8557 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8558
8559         * bufferlist.C:
8560         * lyxrc.h:
8561         * lyxrc.C: remove second exit confirmation
8562
8563 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8564
8565         * BufferView.h:
8566         * BufferView.C:
8567         * BufferView2.C:
8568         * BufferView_pimpl.h:
8569         * BufferView_pimpl.C:
8570         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8571
8572 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8573
8574         * MenuBackend.C (expand): add numeric shortcuts to document menu
8575
8576         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8577
8578 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8579
8580         * lyxfont.C (setLyXFamily):
8581         (setLyXSeries):
8582         (setLyXShape):
8583         (setLyXSize):
8584         (setLyXMisc):
8585         (lyxRead):
8586         * debug.C (value):
8587         * buffer.C (asciiParagraph): use ascii_lowercase
8588
8589 2002-07-15  Mike Fabian  <mfabian@suse.de>
8590
8591         * lyxlex_pimpl.C (search_kw):
8592         * lyxlex.C (getLongString):
8593         * converter.h (operator<):
8594         * converter.C (operator<):
8595         * buffer.C (parseSingleLyXformat2Token):
8596         (asciiParagraph):
8597         * ToolbarDefaults.C (read):
8598         * MenuBackend.C (checkShortcuts):
8599         (read):
8600         * LColor.C (getFromGUIName):
8601         (getFromLyXName): use the compare_ascii_no_case instead of
8602         compare_no_case, because in turkish, 'i' is not the lowercase
8603         version of 'I', and thus turkish locale breaks parsing of tags.
8604
8605 2002-07-16  Angus Leeming  <leeming@lyx.org>
8606
8607         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8608         now takes a Buffer const & argument.
8609
8610 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8611
8612         * BufferView.C (resize): check there's a buffer to resize
8613
8614 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * lyxfunc.C: remove dead code
8617
8618         * lyxserver.h:
8619         * lyxserver.C: use lyx_guii::set_read_callback
8620
8621 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8622
8623         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8624         an inset in a RTL paragraph.
8625
8626 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8627
8628         * lyxfunc.C: repaint after a font size update
8629
8630 2002-07-15  André Pönitz <poenitz@gmx.net>
8631
8632         * lyxlength.C: inBP should be able to return negative values
8633
8634 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * lyxfunc.C: use lyx_gui::update_fonts()
8637
8638 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8639
8640         * lyxfunc.C: use lyx_gui::update_color()
8641
8642 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8643
8644         * bufferlist.C:
8645         * lyxfunc.h:
8646         * lyxfunc.C:
8647         * lyxrc.h:
8648         * lyxrc.C: remove file->new asks for name option, and let
8649           buffer-new take an argument
8650
8651 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8652
8653         * BufferView_pimpl.C: remove unneeded extra repaint()
8654
8655 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8656
8657         * LyXAction.C: allow command-sequence with NoBuffer
8658
8659         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8660
8661 2002-07-10  Angus Leeming  <leeming@lyx.org>
8662
8663         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8664
8665 2002-07-09  Angus Leeming  <leeming@lyx.org>
8666
8667         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8668
8669 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * lengthcommon.h: whitespace
8672
8673         * lyxfunc.C: update scrollbar after goto paragraph
8674
8675         * lyxtext.h: factor out page break drawing, and fix it so
8676           page break/added space paints as selected nicely
8677
8678 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * BufferView_pimpl.C: add FIXMEs, clean up a little
8681
8682 2002-07-09  André Pönitz <poenitz@gmx.net>
8683
8684         * lyxfont.[Ch]: support for wasy symbols
8685
8686 2002-07-08  André Pönitz <poenitz@gmx.net>
8687
8688         * BufferView_pimpl.C: apply John's patch for #93.
8689
8690 2002-07-05  Angus Leeming  <leeming@lyx.org>
8691
8692         * BufferView_pimpl.C (buffer): generate previews if desired.
8693
8694         * LColor.h: add "preview" to the color enum.
8695
8696         * LColor.C (LColor): add a corresponding entry to the items array.
8697
8698         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8699         with this buffer.
8700
8701 2002-07-05  Angus Leeming  <leeming@lyx.org>
8702
8703         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8704         The body of the code is now in the method that is passed an ostream &
8705         rather than a file name.
8706         Pass an additional only_preamble parameter, useful for the forthcoming
8707         preview stuff.
8708
8709 2002-07-03  André Pönitz <poenitz@gmx.net>
8710
8711         * lyxfunc.C: simplify getStatus() a bit for math stuff
8712
8713 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8714
8715         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8716
8717 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8718
8719         * text.C (changeRegionCase): do not change case of all the
8720         document when region ends at paragraph end (bug #461)
8721
8722 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8723
8724         * paragraph.C (startTeXParParams):
8725         (endTeXParParams): add \protect when necessary
8726
8727 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8728
8729         * BufferView_pimpl.C (workAreaExpose): remove warning
8730
8731 2002-06-27  Angus Leeming  <leeming@lyx.org>
8732
8733         * Makefile.am: add lyxlayout_ptr_fwd.h.
8734
8735 2002-06-26  André Pönitz <poenitz@gmx.net>
8736
8737         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8738
8739 2002-06-25  Angus Leeming  <leeming@lyx.org>
8740
8741         * lyxfunc.C (dispatch): Comment out the call to
8742         grfx::GCache::changeDisplay. The method no longer exists now that the
8743         pixmap generation part of the graphics loader has been moved into
8744         InsetGraphics.
8745
8746 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8747
8748         * text2.C: layout as layout
8749
8750         * text.C: layout as layout
8751
8752         * tabular.C (OldFormatRead): layout as layout
8753
8754         * paragraph_pimpl.C (TeXDeeper): layout as layout
8755         (realizeFont): layout as layout
8756
8757         * paragraph.C (writeFile): layout as layout
8758         (validate): layout as layout
8759         (getFont): layout as layout
8760         (getLabelFont): layout as layout
8761         (getLayoutFont): layout as layout
8762         (breakParagraph): layout as layout
8763         (stripLeadingSpaces): layout as layout
8764         (getEndLabel): layout as layout
8765         (getMaxDepthAfter): layout as layout
8766         (applyLayout): layout as layout
8767         (TeXOnePar): layout as layout
8768         (simpleTeXOnePar): layout as layout
8769         (TeXEnvironment): layout as layout
8770         (layout): layout as layout
8771         (layout): layout as layout
8772
8773         * lyxtextclass.C (compare_name): new functor to work with
8774         shared_ptr, layout as layout
8775         (Read): layout as layout
8776         (hasLayout): layout as layout
8777         (operator): layout as layout
8778         (delete_layout): layout as layout
8779         (defaultLayout): layout as layout
8780
8781         * lyxlayout_ptr_fwd.h: new file
8782
8783         * lyxlayout.C (Read): layout as layout
8784
8785         * lyx_cb.C (MenuInsertLabel): layout as layout
8786
8787         * bufferlist.C (newFile): layout as layout
8788
8789         * buffer.C (readLyXformat2): layout as layout
8790         (parseSingleLyXformat2Token): layout as layout
8791         (insertStringAsLines): layout as layout
8792         (asciiParagraph): layout as layout
8793         (latexParagraphs): layout as layout
8794         (makeLinuxDocFile): layout as layout
8795         (simpleLinuxDocOnePar): layout as layout
8796         (makeDocBookFile): layout as layout
8797         (simpleDocBookOnePar): layout as layout
8798         (getLists): layout as layout
8799
8800         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8801
8802         * CutAndPaste.C (cutSelection): layout as layout
8803         (pasteSelection): layout as layout
8804         (SwitchLayoutsBetweenClasses): layout as layout
8805
8806         * BufferView_pimpl.C (Dispatch): layout as layout
8807         (smartQuote): layout as layout
8808
8809         * BufferView2.C (unlockInset): layout as layout
8810
8811 2002-06-24  André Pönitz <poenitz@gmx.net>
8812
8813         * lyxfunc.C: fix #487
8814
8815 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8816
8817         * lyxrc.h:
8818         * lyxrc.C:
8819         * lyxfunc.C: remove display_shortcuts, show_banner
8820
8821 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8822
8823         * Buffer_pimpl.C: oops, update on resize
8824
8825 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * buffer.C:
8828         * converter.C:
8829         * exporter.C:
8830         * lyxfunc.C:
8831         * BufferView.h:
8832         * BufferView.C: use repaint()
8833
8834         * BufferView_pimpl.h:
8835         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8836           as it's a clearer description. Remove superfluous
8837           redraws.
8838
8839 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * text.C: fix bug 488. Not ideal, but getting
8842           getWord() to work properly for the insets that
8843           matter is more difficult ...
8844
8845 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * BufferView_pimpl.C:
8848         * LyXAction.C:
8849         * commandtags.h:
8850         * lyxfunc.C: remove the six million index lyxfuncs to just
8851           one, and DTRT (bug 458)
8852
8853 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * BufferView.h:
8856         * BufferView.C:
8857         * BufferView_pimpl.h:
8858         * BufferView_pimpl.C: clean up resize() stuff,
8859           and unnecessary updateScreen()s
8860
8861 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * BufferView.h:
8864         * BufferView.C:
8865         * BufferView_pimpl.h:
8866         * BufferView_pimpl.C:
8867         * lyxfind.h:
8868         * lyxfind.C:
8869         * minibuffer.C: remove focus management of workarea,
8870           not needed. Use screen's greyOut()
8871
8872 2002-06-17  Herbert Voss  <voss@lyx.org>
8873
8874         * converter.C: (convert) do not post a message, when converting
8875         fails, let the calling function decide what to do in this case
8876
8877 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8878
8879         * lyxfunc.C: tidy up a little
8880
8881 2002-06-16    <alstrup@diku.dk>
8882
8883         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8884         Got rid of FORMS_H_LOCATION include. Now we are
8885         GUII.
8886
8887 2002-06-15  LyX Development team  <lyx@rilke>
8888
8889         * buffer.[Ch] (sgmlOpenTag):
8890         (sgmlCloseTag): Added support for avoiding pernicious mixed
8891         content. Return number of lines written.
8892
8893         (makeLinuxDocFile):
8894         (makeDocBookFile): Fixed calls to sgml*Tag.
8895         Simple white space clean.
8896
8897         (simpleDocBookOnePar): Simple white space clean.
8898
8899         * tabular.[Ch] (docBook): Renamed to docbook and got another
8900         argument to related with the pernicious mixed content.
8901
8902         (docbookRow): Fixed calls for docbook inset method.
8903
8904 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8905
8906         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8907         so it's X11 independent.
8908
8909         * kb*.[Ch]: ditto.
8910
8911         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8912
8913 2002-06-15  Lyx Development team  <lyx@electronia>
8914
8915         * intl.h: Renamed getTrans to getTransManager.
8916
8917 2002-06-14  Angus Leeming  <leeming@lyx.org>
8918
8919         * Makefile.am: nuke forgotten stl_string_fwd.h.
8920
8921 2002-06-12  Angus Leeming  <leeming@lyx.org>
8922
8923         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8924
8925 2002-06-13  Angus Leeming  <leeming@lyx.org>
8926
8927         * LaTeX.C:
8928         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8929
8930 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8931
8932         * kbmap.C (getiso): add support for cyrillic and greek
8933
8934 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8935
8936         * BufferView.h:
8937         * BufferView.C:
8938         * BufferView_pimpl.h:
8939         * BufferView_pimpl.C: move bogus scrolling logic
8940           to xforms
8941
8942 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8943
8944         * lyxfunc.C:
8945         * BufferView_pimpl.C: view->resize() change
8946
8947 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8948
8949         * BufferView_pimpl.C: topCursorVisible
8950           prototype change
8951
8952 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * Makefile.am:
8955         * lyx_gui.h:
8956         * lyx_gui.C: move to frontends/
8957
8958         * main.C:
8959         * lyx_main.h:
8960         * lyx_main.C: changes from above
8961
8962 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8963
8964         * intl.C:
8965         * intl.h:
8966         * kbmap.C:
8967         * kbsequence.C:
8968         * lyx_cb.C:
8969         * lyx_main.C: minor tidy
8970
8971 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8972
8973         * BufferView_pimpl.h:
8974         * BufferView_pimpl.C:
8975         * BufferView.h:
8976         * BufferView.C: make painter() const,
8977           remove dead code
8978
8979         * BufferView2.C: use screen() accessor
8980
8981         * lyx_main.h:
8982         * lyx_main.C: some minor cleanup
8983
8984 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * BufferView_pimpl.h:
8987         * BufferView_pimpl.C: remove enter/leaveView,
8988           use workHeight()
8989
8990 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * BufferView.h:
8993         * BufferView.C:
8994         * BufferView2.C:
8995         * BufferView_pimpl.h:
8996         * BufferView_pimpl.C: only construct screen once,
8997           rename
8998
8999         * lyxrc.C: remove pointless comment
9000
9001 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * BufferView.h:
9004         * BufferView.C: remove active() and belowMouse()
9005
9006         * BufferView_pimpl.h:
9007         * BufferView_pimpl.C: use workarea() not workarea_,
9008           and make it use a scoped_ptr instead
9009
9010 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * lyx_gui.C: add debug message on BadWindow
9013
9014 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9015
9016         * sp_spell.C: fdopen is not part of the C++ standard.
9017
9018         * paragraph.C (InsetIterator): use >= instead of ==
9019
9020 2002-06-07  Angus Leeming  <leeming@lyx.org>
9021
9022         Fixes needed to compile with Compaq cxx 6.5.
9023         * BufferView_pimpl.C:
9024         * DepTable.C:
9025         * buffer.C:
9026         * converter.C:
9027         * encoding.C:
9028         * lyx_gui.C:
9029         * lyx_main.C:
9030         * lyxtextclasslist.C:
9031         * minibuffer.C:
9032         * sp_spell.C:
9033         * tabular_funcs.C:
9034         * vc-backend.C:
9035         all c-library variables have been moved into namespace std. Wrap
9036         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9037
9038         * lyxlength.C:
9039         * tabular-old.C:
9040         * tabular.C:
9041         Add a using std::abs declaration.
9042
9043         * kbmap.h (modifier_pair):
9044         * paragraph.h (InsetTable, InsetList):
9045         * lyxfont.h (FontBits):
9046         type definition made public.
9047
9048         * bufferlist.C (emergencyWriteAll): the compiler complains that
9049         there is more than one possible lyx::class_fun template to choose from.
9050         I re-named the void specialisation as lyx::void_class_fun.
9051
9052         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9053
9054         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9055         the compiler is is unable to find tostr in write_attribute.
9056
9057 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9058
9059         * buffer.C (sgmlError): hide #warning
9060
9061 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9062
9063         * xtl/*: get rid of xtl, which is not in use anyway
9064
9065         * LyXAction.C (init):
9066         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9067         were unimplemented xtl experimentation
9068
9069 2002-06-04  André Pönitz <poenitz@gmx.net>
9070
9071         * lyxfunc.C: disable array operation on simple formulae
9072
9073 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * converter.C: constify a bit
9076
9077 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * lyx_gui.C: check xforms version correctly
9080
9081 2002-04-30  Herbert Voss  <voss@lyx.org>
9082
9083         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9084         "keep" option
9085
9086 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9087
9088         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9089           attempt to register it with a VCS)
9090
9091 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9092
9093         * lyx_main.C (init): honor variables LYX_DIR_13x and
9094         LYX_USERDIR_13x
9095
9096 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9097
9098         * buffer.h:
9099         * buffer.C:
9100         * lyx_main.C: fix a crash on bad command line,
9101           and give a useful exit status on error
9102
9103         * lyxfunc.C (doImport): allow -i lyx to work
9104
9105 2002-03-30  André Pönitz <poenitz@gmx.net>
9106
9107         * lyxfunc.C: mathed font changes
9108
9109 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9110
9111         * LaTeX.C:
9112         * importer.h:
9113         * importer.C:
9114         * lyx_sty.h:
9115         * lyx_sty.C:
9116         * lyxlex.C:
9117         * lyxrow.h:
9118         * lyxtext.h:
9119         * paragraph.h:
9120         * paragraph.C:
9121         * texrow.h:
9122         * texrow.C:
9123         * text.C:
9124         * trans_mgr.h: srcdocs, and some minor cleanups
9125
9126 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9127
9128         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9129         call getFont all the time)
9130
9131 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * switch from SigC signals to boost::signals
9134
9135 2002-05-29  André Pönitz <poenitz@gmx.net>
9136
9137         * paragraph_pimpl.C (getChar): don't call size() too often...
9138
9139 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9140
9141         * paragraph_pimpl.C (insertChar): do not try to update tables when
9142         appending (pos == size())
9143
9144         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9145         in order to reduce drastically the number of comparisons needed to
9146         parse a large document
9147
9148 2002-05-29  André Pönitz <poenitz@gmx.net>
9149
9150         * text.C:
9151         * text2.C:
9152         * lyxtextclass.C:
9153         * sp_pspell.h:
9154         * textclasslist.[Ch]:
9155         * sp_ispell.h: whitespace change
9156
9157 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9158
9159         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9160         lyxaction directly now.
9161
9162 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * trans.C:
9165         * lyxfont.C:
9166         * lyxvc.C: remove unused headers
9167
9168 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9169
9170         * Makefile.am:
9171         * buffer.h:
9172         * undostack.h:
9173         * undostack.C:
9174         * undo_funcs.h:
9175         * undo_funcs.C: some cleanups. Use shared_ptr
9176           and a template for the undo stacks.
9177
9178 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * BufferView_pimpl.h:
9181         * BufferView_pimpl.C:
9182         * kbmap.h:
9183         * kbmap.C:
9184         * kbsequence.h:
9185         * kbsequence.C:
9186         * lyxfunc.h:
9187         * lyxfunc.C:
9188         * text2.C: use key_state/mouse_state
9189
9190 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9193         and LSubstring
9194
9195         * chset.C: change include order
9196         (loadFile): use boost regex and get rid of LRegex and LSubstring
9197
9198         * Makefile.am (BOOST_LIBS): new variable
9199         (lyx_LDADD): use it
9200
9201         * LaTeX.C: change include order.
9202         (scanAuxFile): use boost regex and get rid of LRegex and
9203         LSubstring
9204         (deplog): ditto
9205
9206 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9207
9208         * ColorHandler.h:
9209         * ColorHandler.C:
9210         * FontInfo.h:
9211         * FontInfo.C: moved to frontends/xforms/
9212
9213         * FontLoader.h:
9214         * FontLoader.C: moved into frontends for GUIIzation
9215
9216         * Makefile.am:
9217         * lyx_gui.C:
9218         * lyxfont.C:
9219         * lyxfunc.C: changes from above
9220
9221 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9222
9223         * LColor.C: remove spurious X include
9224
9225         * BufferView_pimpl.C:
9226         * Makefile.am:
9227         * font.h:
9228         * font.C:
9229         * text.C:
9230         * text2.C: move font metrics to frontends/
9231
9232 2002-05-24  Juergen Vigna  <jug@sad.it>
9233
9234         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9235         setting the undo_cursor.
9236
9237         * ParagraphParameters.h: include local includes first.
9238
9239 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9240
9241         * BufferView_pimpl.C:
9242         * BufferView_pimpl.h:
9243         * Makefile.am:
9244         * WorkArea.h:
9245         * WorkArea.C:
9246         * screen.C: move WorkArea into frontends/
9247
9248         * lyxscreen.h:
9249         * screen.C:
9250         * text.C:
9251         * BufferView.C:
9252         * BufferView2.C: move LyXScreen into frontends/
9253
9254         * lyxlookup.h:
9255         * lyxlookup.C:
9256         * lyx_gui.C: move lyxlookup into frontends/xforms/
9257
9258 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9259
9260         * BufferView2.C:
9261         * BufferView_pimpl.C:
9262         * FontLoader.C:
9263         * LyXView.h:
9264         * LyXView.C:
9265         * Makefile.am:
9266         * WorkArea.C:
9267         * XFormsView.h:
9268         * XFormsView.C:
9269         * buffer.C:
9270         * bufferlist.C:
9271         * bufferview_funcs.C:
9272         * converter.C:
9273         * importer.C:
9274         * lyx_cb.C:
9275         * lyx_gui.C:
9276         * lyx_main.C:
9277         * lyx_find.C:
9278         * lyxfunc.C:
9279         * lyxvc.C:
9280         * minibuffer.C:
9281         * text.C:
9282         * text2.C:
9283         * trans.C:
9284         * vc-backend.C: move LyX/XFormsView into frontends/
9285
9286 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9287
9288         * Makefile.am:
9289         * PainterBase.C:
9290         * PainterBase.h:
9291         * Painter.C:
9292         * Painter.h:
9293         * WorkArea.C:
9294         * WorkArea.h:
9295         * screen.C:
9296         * tabular.C:
9297         * text.C:
9298         * text2.C: move Painter to frontends/
9299
9300 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9301
9302         * buffer.C: comment out some some code that depend upon lyx_format
9303         < 220
9304
9305         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9306         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9307
9308         * buffer.h (NO_COMPABILITY): turn off compability
9309
9310         * ColorHandler.C: include scoped_array.hpp
9311
9312         * font.C: Use more specific smart_ptr header.
9313         * Painter.C: ditto
9314         * gettext.C: ditto
9315         * ShareContainer.h: ditto
9316         * lyx_main.h: ditto
9317         * kbmap.h: ditto
9318         * FontInfo.h: ditto
9319         * BufferView_pimpl.h: ditto
9320         * ColorHandler.h: ditto
9321
9322         * kbmap.C (defkey): change call to shared_ptr::reset
9323
9324 2002-05-21  Juergen Vigna  <jug@sad.it>
9325
9326         * buffer.C (insertErtContents): fix to insert ert asis if it is
9327         non empty. Skip it completely if it contains only whitespaces.
9328
9329 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * BufferView_pimpl.C:
9332         * BufferView2.C: clear selection on paste (bug 393)
9333
9334 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9335
9336         * DepTable.C: include ctime
9337
9338 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9339
9340         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9341
9342 2002-05-14  Juergen Vigna  <jug@sad.it>
9343
9344         * text.C (breakParagraph): fixed function to honor the keepempty
9345         layout in the right maner and also to permit the right breaking
9346         algorithm on empty or non empyt keepempty paragraphs.
9347
9348         * paragraph.C (breakParagraph): we have to check also if the par
9349         is really empty (!size()) for isempty otherwise we do the wrong
9350         paragraph break.
9351
9352 2002-05-10  Juergen Vigna  <jug@sad.it>
9353
9354         * buffer.[Ch] : The following are only changes to the ert
9355         compatibility read reading old LaTeX layout and font stuff and
9356         convert it to ERTInsets.
9357
9358         * buffer.h: added isErtInset().
9359
9360         * buffer.C (struct ErtComp): add a fromlayout bool to check
9361         if we're inside a LaTeX layout.
9362         (isErtInset): new helper function.
9363         (insertErtContents): look for other ert insets before this one
9364         and insert the contents there, so that we don't have subsequent
9365         ERT insets with nothing between them. This way we create only one
9366         inset with multiple paragraphs. Also check if we don't insert only
9367         spaces ' ' as they are ignored anyway afterwards in the .tex file
9368         so if we have only spaces we will ignore this latex part in the
9369         new file.
9370         (parseSingleLyXformat2Token \\layout): better compatibility when
9371         reading layout-latex stuff.
9372         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9373         language tag.
9374         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9375         stuff after reading the inset only get the information back from
9376         the stack.
9377
9378 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9379
9380         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9381
9382         * LaTeXFeatures.C (getBabelOptions): New method.
9383
9384 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9385
9386         * BufferView_pimpl.C (Dispatch): work around missing argument for
9387         'layout'
9388
9389 2002-05-08  Juergen Vigna  <jug@sad.it>
9390
9391         * text.C (leftMargin): handle paragraph leftindent.
9392
9393         * paragraph.C (writeFile): write the new \\leftindent tag.
9394         (validate): handle leftindent code.
9395         (TeXEnvironment): handle paragraphleftindent code again.
9396
9397         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9398
9399         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9400         for paragrap_extra indent code and new token \\leftindent.
9401         (latexParagraphs): handle the leftindent as environment.
9402
9403         * ParameterStruct.h: added leftindent support.
9404
9405         * ParagraphParameters.C (leftIndent): added support functions for
9406         the paragraph left indent.
9407
9408         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9409         more appropriate.
9410
9411 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9412
9413         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9414         inside insetERT.
9415
9416         * text.C (computeBidiTables): No bidi in insetERT.
9417
9418         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9419         in RTL documents.
9420
9421 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9422
9423         * version.C.in: pre 5
9424
9425 2002-05-02  José Matos  <jamatos@fep.up.pt>
9426         * buffer.C (makeDocBookFile): white space changes, add newline to
9427         command styles.
9428         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9429
9430         * tabular.C (docBook): fix typo.
9431
9432 2002-05-03  Juergen Vigna  <jug@sad.it>
9433
9434         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9435         change in LyXText as we can not be sure it was not freed.
9436         (drawOneRow): remove unused code.
9437
9438         * text.C (drawInset): redo the calculation of the need_break_row as
9439         it could have a row which was already freed.
9440         (draw): look at the return value of drawInset and return false if
9441         it also returned false.
9442         (paintRowText): look at the return value of draw and return false if
9443         it also returned false.
9444
9445         * lyxtext.h: added bool return type to drawInset() and draw() so that
9446         if we have a change in the row so that the rowbreak has to be redone
9447         we abort drawing as it will be called again.
9448
9449 2002-05-02  Juergen Vigna  <jug@sad.it>
9450
9451         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9452         a change in the maintext also if we're inside an inset.
9453         (Dispatch): set the cursor again after a break line and after the
9454         screen has been updated as it could be we're in a different row.
9455
9456         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9457         to set the cursor behind the pargraph with > size().
9458         (setCursor): check also for the same paragraph when checking where
9459         to put the cursor if we have a NFR inset.
9460
9461         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9462         parts of layout read further up as it still was in the wrong
9463         position.
9464
9465 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9466
9467         * screen.C (drawFromTo): change sine fullRebreak always return
9468         true.
9469
9470         * buffer.C (parseSingleLyXformat2Token): reindent some
9471
9472         * BufferView_pimpl.C (update): change since fullRebreak always
9473         return true.
9474         (Dispatch): git rid of the last hardcoded "Standard"s.
9475
9476 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9477
9478         * text2.[Ch] (fullRebreak): make it return void now that we always
9479         returned true.
9480
9481 2002-04-30  Juergen Vigna  <jug@sad.it>
9482
9483         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9484         ert compatibility check for "latex" layout.
9485
9486 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9487
9488         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9489         minipages: use col% instead of p%, and also use the current font.
9490         (makeLaTeXFile): Fix use babel condition.
9491         (parseSingleLyXformat2Token): Correct font when reading old floats.
9492
9493 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9494
9495         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9496         inserting list of floats.
9497
9498 2002-04-25  Herbert Voss  <voss@lyx.org>
9499
9500         * MenuBackend.C (expand): don't add the graphics extensions to the
9501         export menu
9502
9503 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9504
9505         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9506         non-existing layout, do not complain if it was the default layout
9507         of the original class (bug #342)
9508
9509 2002-04-24  Juergen Vigna  <jug@sad.it>
9510
9511         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9512         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9513
9514 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9515
9516         * buffer.C (getBibkeyList): If using \bibliography, return the
9517         option field with the reference itself. Enables us to provide natbib
9518         support when using \bibliography.
9519
9520 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9521
9522         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9523
9524         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9525         natbib is provided by the LaTeX class.
9526
9527 2002-04-23  Juergen Vigna  <jug@sad.it>
9528
9529         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9530         Wakeup functions.
9531
9532         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9533
9534 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9535
9536         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9537
9538         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9539         ensuremath around textordmasculine, textordfeminine and
9540         textdegree.
9541
9542 2002-04-19  Juergen Vigna  <jug@sad.it>
9543
9544         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9545         reinitializing the buffer otherwise row-dimensions may be wrong.
9546         (update): reset also the selection cursors if they do exits otherwise
9547         their x/y positions may be wrong.
9548
9549         * text2.C (cursorDown): don't enter the inset if we came from a row
9550         above and are one row over the inset.
9551
9552         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9553         really leaving an inset.
9554
9555 2002-04-18  Juergen Vigna  <jug@sad.it>
9556
9557         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9558         of the selected paragraph does not have the selected layout also if
9559         the last one had!
9560
9561         * text2.C (setLayout): fixed bug which did not change last selected
9562         paragraph.
9563
9564         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9565         changed the read and substituted \\end_float with \\end_inset!
9566
9567         * BufferView_pimpl.C (cursorPrevious):
9568         (cursorNext): fixed to make it work with rows heigher than the work
9569         area without moving the cursor only the draw of the row.
9570         (workAreaMotionNotify): fix jumping over high rows.
9571
9572 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9573
9574         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9575         Ressler.
9576
9577 2002-04-16  Juergen Vigna  <jug@sad.it>
9578
9579         * text2.C (setCursor): set also the irow().
9580         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9581         (cursorUp):
9582         (cursorDown): support for locking an inset if the x_fix value goes
9583         inside it. That way I can transverse insets too with cursor up/down.
9584
9585         * lyxrow.h: added irow helper function same as other (i) functions.
9586
9587         * BufferView_pimpl.C (cursorPrevious):
9588         (cursorNext): fixed for insets!
9589
9590 2002-04-15  Juergen Vigna  <jug@sad.it>
9591
9592         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9593         position otherwise it is wrong in some cases.
9594
9595         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9596         inside the inset before the call.
9597
9598 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9599
9600         * buffer.[Ch] (getBibkeyList): make it const.
9601
9602 2002-04-12  Juergen Vigna  <jug@sad.it>
9603
9604         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9605
9606         * text2.C (getCursorX): new helper function
9607         (setCursor): compute also ix_
9608         (setCursorFromCoordinates): set also ix.
9609
9610         * lyxcursor.h: added ix_ and helper functions.
9611
9612         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9613
9614         * buffer.C (insertStringAsLines): dont break paragraph if the this
9615         paragraph is inside an inset which does not permit it!
9616
9617         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9618         also with no chars on this paragraph.
9619         (paintRowText): only paint stuff if it's inside the workarea!
9620
9621         * paragraph.C (breakParagraph): honor keepempty flag and break the
9622         paragraph always below not above.
9623
9624         * BufferView2.C (unlockInset): update the paragraph layout on inset
9625         unlock as we changed paragraph in such a case.
9626
9627         * lyxfind.C (LyXFind): clear the former selection if not found!
9628
9629         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9630         again called in insertChar().
9631
9632         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9633         an inset which uses the whole row!
9634         (rightMargin): ditto.
9635         (insertChar): force a rebreak if we inserted an inset!
9636
9637 2002-03-28  Herbert Voss  <voss@lyx.org>
9638
9639         * lyxlength.[Ch]: add inBP() to get the right PS-point
9640         units (BigPoint). With inPixels we have rounding errors
9641
9642 2002-04-11  Juergen Vigna  <jug@sad.it>
9643
9644         * text2.C (setCursorFromCoordinates): set iy to the right value.
9645         (setCursor): add check if row->previous exists!
9646
9647         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9648         an old float_type as this was the case in the old code!
9649
9650         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9651
9652         * BufferView2.C (showLockedInsetCursor): use iy
9653         (fitLockedInsetCursor): ditto
9654
9655         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9656         locked insets as there we have the right value now.
9657
9658         * lyxcursor.C: added iy_ variable and iy functions to set to the
9659         baseline of cursor-y of the locked inset.
9660
9661         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9662         (setCursor): fixed for insets which need a full row.
9663
9664         * text.C (rowLastPrintable): don't ignore the last space when before
9665         an inset which needs a full row.
9666         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9667         as last character of a row when before a inset which needs a full row.
9668
9669 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9670
9671         * version.C.in: update date
9672
9673         * text2.C (fullRebreak): try to always return true and see what
9674         happens...
9675
9676 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * MenuBackend.C (expand): use Floating::listName
9679
9680         * FloatList.C (FloatList): add listName argument to the built-in
9681         floats
9682
9683         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9684         text associated with the float.
9685
9686 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9687
9688         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9689
9690 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9691
9692         * ShareContainer.h: add a couple of missing typenames.
9693
9694 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9695
9696         * lyxrc.C (getDescription): use _() correctly rather than N_().
9697
9698 2002-03-28  Herbert Voss  <voss@lyx.org>
9699
9700         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9701         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9702
9703 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9706         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9707
9708 2002-03-29  Juergen Vigna  <jug@sad.it>
9709
9710         * lyxfunc.C (dispatch): add a missing fitCursor call.
9711
9712         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9713         it was scrolled by a cursor move, so return the bool status.
9714
9715         * BufferView.C (fitCursor): return the bool flag also to the outside
9716         world as this is needed.
9717
9718         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9719
9720         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9721         call the edit() as it is not needed (and wrong) IMO.
9722         (workAreaButtonPress): set the screen_first variable before evt.
9723         unlock the inset as this may change screen_first and then we have
9724         a wrong y position for the click!
9725
9726 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9727
9728         * MenuBackend.C (expand): another translation that I missed
9729
9730 2002-03-28  Juergen Vigna  <jug@sad.it>
9731
9732         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9733
9734         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9735
9736 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9737
9738         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9739
9740         * MenuBackend.C (expand): fix export/view/update when there is no
9741         document open.
9742
9743 2002-03-27  Herbert Voss  <voss@lyx.org>
9744
9745         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9746         and text%
9747
9748 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9749
9750         * bufferview_funcs.C (currentState): only show paragraph number
9751         for is DEVEL_VERSION is set.
9752
9753         * lyxfunc.C (dispatch): put warning in INFO channel
9754
9755         * MenuBackend.C (expand): translate the name of floats
9756
9757         * FloatList.C (FloatList): mark the float names for translation
9758
9759         * converter.C (convert): use LibScriptSearch
9760
9761 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9762
9763         * MenuBackend.C (defaults): fix default menu (we might as well get
9764         rid of it...)
9765
9766 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9767
9768         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9769         directory.
9770
9771 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9772
9773         * lyxvc.C: reorder includes.
9774
9775 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9778           properly
9779
9780 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * CutAndPaste.C: change layouts earlier on paste
9783           to avoid crashing when calling getFont()
9784
9785 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9786
9787         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9788         irritating #error.
9789
9790 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9791
9792         * WorkArea.C: remove 'Pending' debug message.
9793
9794         * most files: ws cleanup
9795
9796         * buffer.[Ch]: ws changes
9797
9798         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9799
9800 2002-03-21  Juergen Vigna  <jug@sad.it>
9801
9802         * tabular.C (SetMultiColumn): collapse also the contents of the
9803         cells and set the last border right. Added a Buffer const * param.
9804
9805 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9806
9807         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9808         linking or not.
9809
9810 2002-03-19  Juergen Vigna  <jug@sad.it>
9811
9812         * text2.C (clearSelection): reset also xsel_cache.
9813
9814         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9815         where it needs to be called (John tells us to do so too :)
9816         (selectionLost): reset sel_cache.
9817
9818         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9819
9820 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * text2.C (setCursorIntern): put debuging code in INSETS channel
9823
9824 2002-03-19  André Pönitz <poenitz@gmx.net>
9825
9826         * lyxfunc.C: tiny whitespace change
9827
9828 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9829
9830         * ToolbarDefaults.C (init):
9831         * LyXAction.C (init):
9832         * commandtags.h:
9833         * BufferView_pimpl.C (Dispatch):
9834         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9835
9836 2002-03-19  Allan Rae  <rae@lyx.org>
9837
9838         * exporter.C (Export): removeAutoInsets before doing anything else.
9839         While I've just introduced a dependency on BufferView this really is
9840         the best place to clean the buffer otherwise you need to cleanup in
9841         a dozen places before calling export or cleanup in a dozen functions
9842         that export calls.
9843
9844         * converter.C (runLaTeX):
9845         (scanLog): Better handling of removeAutoInsets and screen updates.
9846
9847         * lyxfunc.C (dispatch): small whitespace changes
9848
9849 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9850
9851         * WorkArea.C (C_WorkAreaEvent): return a value.
9852         (event_cb): return 1 if we handled the event, 0 otherwise.
9853
9854         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9855
9856 2002-03-18  Juergen Vigna  <jug@sad.it>
9857
9858         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9859         (GetAdditionalWidth): ditto.
9860         (RightLine): ditto.
9861         (LeftLine): ditto.
9862
9863         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9864         inset if we're there actually (probably not used right now but this
9865         is the direction to go for unifying code).
9866         (paste): disable code to clear the selection.
9867
9868         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9869         inside an InsetText and move the check further up as it is in the
9870         wrong place.
9871
9872         * text2.C (pasteSelection): set a selection over the pasted text.
9873
9874 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9875
9876         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9877         and libgraphics to build on Cygwin.
9878
9879 2002-03-15  Juergen Vigna  <jug@sad.it>
9880
9881         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9882         inserting an Inset into the paragraph. I know this is not the best
9883         fix but we already use current_view in CutAndPaste so we will remove
9884         all of it's using at the same time.
9885
9886         * buffer.C (sgmlError): deactivated function till it is rewritten in
9887         the right mode, now it can create problems.
9888
9889         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9890         before accessing it.
9891
9892 2002-03-14  Juergen Vigna  <jug@sad.it>
9893
9894         * undo_funcs.C (textHandleUndo): do the right thing when updating
9895         the inset after the undo/redo.
9896
9897         * text2.C (setCursor): just some testcode for #44 not ready yet.
9898
9899         * undo_funcs.C (textHandleUndo): set the next() and previous()
9900         pointers of the paragraph to 0 before deleting otherwise we have
9901         problems with the Paragraph::[destructor].
9902
9903         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9904         on a paragraph insertion.
9905
9906 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9907
9908         * buffer.C (asciiParagraph): use += operator for char append to
9909         string.
9910
9911         * paragraph.C (getFontSettings): compare >= not just >
9912         (highestFontInRange): ditto
9913         (setFont): ditto
9914
9915 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9916
9917         * paragraph.C: change several algorithm to be more appripriate for
9918         the problem domain. This is lookip in FontList and in the InsetList.
9919
9920 2002-03-13  André Pönitz <poenitz@gmx.net>
9921
9922         * commandtags.h:
9923         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9924
9925 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * commandtags.h:
9928         * LyXAction.C:
9929         * lyxfunc.C:
9930         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9931
9932 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9933
9934         * Painter.C (display): anon helper function, adjust code for this
9935         change.
9936         (pixmap): remove function.
9937
9938         * Painter.h: remove private display variable.
9939
9940         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9941
9942 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9943
9944         * WorkArea.[Ch]: remove figinset_canvas cruft.
9945
9946 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9947
9948         * lyxtextclass.C (operator): add one item cache optimization.
9949
9950         * bufferlist.h: doxy changes
9951
9952         * bufferlist.C: ws changes
9953
9954         * DepTable.[Ch] (ext_exist): place const in the right spot.
9955
9956         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9957         call resizeInsets.
9958         (workAreaExpose): call resizeInsets when the with BufferView changes.
9959         (Dispatch): adjust for protectedBlank removal
9960         (specialChar): call updateInset if the insert went ok.
9961
9962         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9963         specialChar instead.
9964
9965         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9966
9967         * BufferView.h: doxy change
9968
9969         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9970
9971         * lyxtextclass.C (operator[]): remove non-const version
9972         (defaultLayout): remove non-const version
9973
9974 2002-03-12  Juergen Vigna  <jug@sad.it>
9975
9976         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9977         did resize the LyXText too.
9978
9979         * buffer.C (readLyXformat2): set layout information on newly allocated
9980         paragraphs.
9981
9982         * tabular.C (OldFormatRead): set layout information on the paragraph.
9983
9984 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9985
9986         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9987
9988 2002-03-11  Juergen Vigna  <jug@sad.it>
9989
9990         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9991         plainly wrong.
9992         (resizeCurrentBuffer): force also the insets to resize themselfes.
9993         (moveCursorUpdate): fixed up for InsetText.
9994
9995 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9996
9997         * commandtags.h:
9998         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9999         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10000         value of Dialogs::tooltipsEnabled().
10001         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10002
10003 2002-03-08  Juergen Vigna  <jug@sad.it>
10004
10005         * BufferView_pimpl.C (updateInset): update inset inside inset also
10006         if it isn't inside theLockingInset().
10007
10008 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10009
10010         * buffer.C (asciiParagraph): redo some of the word and line length
10011         handling.
10012         (getLists): look for Caption instead of caption.
10013
10014 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * buffer.C (Buffer): initialize niceFile to true
10017         (makeLaTeXFile):
10018         (makeLinuxDocFile):
10019         (makeDocBookFile): make sure niceFile is true on exit
10020
10021 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10024
10025 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10026
10027         * LyXSendto.C: remove.
10028         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10029         * lyx_gui.C: remove now-redundant comment.
10030         * ColorHandler.h: remove forward declaration of class WorkArea.
10031         * lyxfunc.C: remove #include "WorkArea.h".
10032
10033 2002-03-07  Juergen Vigna  <jug@sad.it>
10034
10035         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10036         got moved away with the DEPM and also set the inset_owner always
10037         right which before could have been omitted.
10038
10039 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10040
10041         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10042         wanted layout is not found.
10043
10044 2002-03-07  Juergen Vigna  <jug@sad.it>
10045
10046         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10047
10048 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10049
10050         * paragraph.C (breakParagraph): use default layout not layout of
10051         prev paragraph.
10052         (Paragraph): clear ParagraphParameters.
10053
10054 2002-03-06  Juergen Vigna  <jug@sad.it>
10055
10056         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10057         otherwise it would not be a valid lenght. Fixed a special case in
10058         the minipage compatibility read where we end the document with a
10059         minipage.
10060
10061         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10062         was set as it could be 0 for InsetTexts first entry.
10063
10064 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10065
10066         * paragraph.C (writeFile): if layout is empty write out
10067         defaultLayoutName().
10068
10069         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10070         file without named layout we set layout to defaultLayoutName().
10071
10072 2002-03-06  Juergen Vigna  <jug@sad.it>
10073
10074         * CutAndPaste.C (copySelection): set layout for new paragraph.
10075
10076         * text.C (prepareToPrint): leave ERT inset left aligned
10077         (leftMargin): don't indent paragraphs inside ERT insets
10078
10079 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10080
10081         * paragraph.C (breakParagraph): dont call clear do the work manually
10082
10083         * paragraph.[Ch] (clear): remove function
10084
10085 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10086
10087         * paragraph.C (Paragraph): dont call clear, the work has already
10088         been done.
10089
10090         * lyxtextclass.C (operator): assert if n is empty
10091
10092         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10093         work manually instead.
10094
10095 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * BufferView_pimpl.C: protect selectionLost against text == 0
10098
10099 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10100
10101         * text.C (breakParagraph): fix a setting layout to '0' problem.
10102
10103 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10104
10105         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10106         final location of file, for the included files, and graphics.
10107
10108 2002-03-05  Juergen Vigna  <jug@sad.it>
10109
10110         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10111
10112 2002-03-04  Juergen Vigna  <jug@sad.it>
10113
10114         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10115
10116         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10117         last column of multicolumn cells.
10118         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10119
10120 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10121
10122         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10123         file if it doesn't go to a temporary file.
10124
10125         * buffer.C (sgmlOpenTag):
10126         (sgmlCloseTag):  remove extra newline insertion.
10127
10128 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10129
10130         * text.C (getRowNearY): comment out debug msg
10131
10132 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10133
10134         * text2.C: first -> first_y
10135
10136         * text.C (getRowNearY): add some attemts at a possible
10137         optimization, not working.
10138
10139         * tabular.[Ch]: add BufferParams to several function so that newly
10140         created paragraph can be initialized to he default layotu for the
10141         buffers textclass.
10142
10143         * tabular-old.C (ReadOld): add buf->params to call of Init
10144
10145         * screen.C: rename text->first to text->first_y
10146
10147         * paragraph.C (breakParagraph): always set layout in the broken
10148         paragraph
10149
10150         * lyxtextclass.C (Read): remove lowercase
10151         (hasLayout): ditto
10152         (operator): ditto
10153         (delete_layout): ditto
10154
10155         * lyxtext.h: rename first -> first_y
10156
10157         * lyxlayout.C (Read): remove lowercase
10158         (name): ditto
10159         (setName): ditto
10160         (obsoleted_by): ditto
10161
10162         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10163
10164         * buffer.C (insertErtContents): add params are to InsetERT
10165         (parseSingleLyXformat2Token): add code to check if a paragraphs
10166         layout really exist.
10167         (parseSingleLyXformat2Token): add params to several inset
10168         constructors
10169         (asciiParagraph): remove lowercase, do the layout comparisons with
10170         no_case
10171
10172         * BufferView_pimpl.C (cursorNext): first -> first_y
10173         (resizeCurrentBuffer): first -> first_y
10174         (updateScrollbar): first -> first_y
10175         (scrollCB): first -> first_y
10176         (workAreaMotionNotify): first -> first_y
10177         (workAreaButtonPress): first -> first_y
10178         (checkInsetHit): first -> first_y
10179         (cursorPrevious): first -> first_y
10180         (cursorNext): first -> first_y
10181         (Dispatch): add buffer_->params to severl inset contructors
10182
10183 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10184
10185         * lyxlayout.C (Read): remove some debug info that I forgot.
10186
10187         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10188         clean up the code slightly.
10189         (makeLinuxDocFile): ditto
10190         (makeDocBookFile): ditto
10191
10192         * text2.C: layout as string
10193
10194         * text.C: layout as string
10195
10196         * paragraph_pimpl.C: layout as string
10197
10198         * paragraph.[Ch]: layout as string
10199
10200         * lyxtextclasslist.[Ch]: layout as string
10201
10202         * lyxtextclass.[Ch]: layout as string
10203
10204         * lyxtext.h: layout as string
10205
10206         * lyxlayout.[Ch]: layout as string
10207
10208         * lyx_cb.C: layout as string
10209
10210         * bufferview_funcs.C: layout as string
10211
10212         * bufferparams.C: layout as string
10213
10214         * buffer.C: layout as string
10215
10216         * LyXView.[Ch]: layout as string
10217
10218         * LaTeXFeatures.[Ch]: layout as string
10219
10220         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10221
10222         * BufferView_pimpl.C: change current_layout to string, remove
10223         lyx::layout_type.
10224         (Dispatch):
10225         (smartQuote):
10226         (insertInset):
10227         (workAreaButtonRelease): layout as string
10228
10229         * BufferView2.C (unlockInset): adjust
10230
10231         * vspace.C (asLatexCommand): use an explict temp variable.
10232
10233 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10234
10235         * Makefile.am: use FRONTEND_*
10236
10237 2002-03-01  Juergen Vigna  <jug@sad.it>
10238
10239         * tabular.C (SetWidthOfMulticolCell): changed to something better
10240         I hope but still work in progress.
10241         (recalculateMulticolumnsOfColumn): renamed function from
10242         recalculateMulticolCells as it is more appropriate now.
10243         (SetWidthOfCell): calculate multicols better.
10244
10245 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10248
10249         * lyxfunc.C (processKeySym): print sequence also if it is
10250         `deleted' (complete)
10251
10252         * kbsequence.C (print): print sequence even if it is deleted
10253         (complete would be a better word, actually).
10254
10255         * lyxfunc.C (dispatch): print complete options after a prefix key
10256
10257         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10258
10259 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10260
10261         * text2.C (setCharFont): eliminate setCharFont code duplication.
10262
10263 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10264
10265         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10266         LFUN_TABULAR_FEATURE (bug #177)
10267
10268 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10269
10270         * Makefile.am: remove figure.h
10271
10272 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10273
10274         * Bufferview_pimpl.C:
10275         * CutAndPasteC:
10276         * LaTeX.C:
10277         * LyXSendto.C:
10278         * buffer.C:
10279         * bufferlist.C:
10280         * converter.C:
10281         * language.C:
10282         * lyxfunc.C:
10283         * lyxvc.C:
10284         * paragraph.C:
10285         * text.C:
10286         * text2.C: remove #include "lyx_gui_misc.h".
10287
10288         * LaTeX.C: added #include <cstdio>
10289
10290 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10293         that the paragraph following this one can have.
10294
10295         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10296
10297         * vspace.C (asLatexCommand): fix bogus gcc warning
10298
10299         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10300
10301 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10302
10303         * text2.C (setLayout): get rid of redundant code
10304
10305 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10306
10307         * text2.C (incDepth): make sure depth cannot be increased beyond
10308         reasonable values.
10309
10310 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10311
10312         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10313         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10314
10315         * PainterBase.h (image):
10316         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10317         a LyXImage const *.
10318
10319 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * BufferView.C:
10322         * BufferView.h:
10323         * BufferView_pimpl.C:
10324         * BufferView_pimpl.h:
10325         * LaTeXFeatures.C:
10326         * LyXAction.C:
10327         * LyXView.C:
10328         * Makefile.am:
10329         * UpdateList.h:
10330         * UpdateList.C:
10331         * buffer.C:
10332         * figure.h:
10333         * figureForm.C:
10334         * figureForm.h:
10335         * figure_form.C:
10336         * figure_form.h:
10337         * lyx_cb.C:
10338         * lyx_gui.C:
10339         * lyx_gui_misc.C:
10340         * lyxfunc.C:
10341         * sp_base.h:
10342         * sp_ispell.h:
10343         * sp_pspell.h:
10344         * sp_spell.C: remove fig inset, and the crap house of
10345           cards that follows it
10346
10347 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10348
10349         * Makefile.am:
10350         * lyxserver.C:
10351         * os2_defines.h:
10352         * os2_errortable.h:
10353         * nt_defines.h: move .h into support/
10354
10355         * vms_defines.h: remove
10356
10357         * WorkArea.C: add space in debug output
10358
10359         * text2.C:
10360         * paragraph.C:
10361         * buffer.C: add WITH_WARNINGS
10362
10363         * vc-backend.h:
10364         * vc-backend.C:
10365         * bufferlist.C: s/retrive/retrieve/, add docs
10366
10367         * vspace.h:
10368         * vspace.C:
10369         * kbmap.h:
10370         * lyxlength.h:
10371         * lyxgluelength.h:
10372         * length_common.h:
10373         * chset.h:
10374         * chset.C: add docs
10375
10376         * lyxgui.C: add ID to X error handler
10377
10378         * lyxtestclass.c: fix typo
10379
10380 2002-02-26  Juergen Vigna  <jug@sad.it>
10381
10382         * tabular_funcs.C (write_attribute): changed so that some default
10383         attributes are not written at all.
10384         (getTokenValue): set default values before trying to read the
10385         value so we have the return value always set as default if we don't
10386         find the token we search for.
10387
10388         * tabular.C (Write): write bools as bools not as strings!
10389
10390 2002-02-22  Juergen Vigna  <jug@sad.it>
10391
10392         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10393         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10394
10395         * text.C (leftMargin): don't add an indent for paragraphs inside
10396         tabular cells (fix #208).
10397
10398 2002-02-21  José Matos  <jamatos@fep.up.pt>
10399
10400         * tabular.C (docBook): fixed support for long tables.
10401
10402 2002-02-20  Juergen Vigna  <jug@sad.it>
10403
10404         * text2.C (getFont): get the drawing font of the Inset if this
10405         paragraph is inside an inset (only important for InsetERT for now).
10406
10407         * buffer.C (insertErtContents): use new lanugage params in ERT
10408         constructor.
10409
10410         * CutAndPaste.C: commenting out seemingly uneeded code.
10411
10412 2002-02-19  Allan Rae  <rae@lyx.org>
10413
10414         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10415         Iterators might be simple to use but they also get invalidated.
10416         (removeAutoInsets): renamed saved cursor tracking variables and added
10417         some comments to clarify what everything does.
10418
10419 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10420
10421         * Chktex.C:
10422         * LaTeX.C:
10423         * LyXSendto.C:
10424         * converter.C:
10425         * lyx_cb.C:
10426         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10427         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10428
10429         * lyxfunc.C:
10430         * vc-backend.h: remove #include "support/syscall.h"
10431
10432         * LaTeX.C:
10433         * LyXSendto.C:
10434         * converter.C: rearrange #includes in Lars' approved fashion.
10435
10436         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10437         forward declare class Timeout in the header file.
10438
10439         * XFormsView.C: changes due to the above.
10440
10441         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10442         similar to LyXView.
10443
10444         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10445         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10446
10447 2002-02-18  José Matos  <jamatos@fep.up.pt>
10448
10449         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10450         insets contents.
10451
10452 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10453
10454         * a lot of small ws changes
10455         * add a lot of using std::XXX
10456         * use std construcs some places where approp.
10457         * use some exisint stuff from lyxfunctional where approp.
10458         * Make file changes to use partial linking (lets test this now...)
10459
10460 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10461
10462         * Chktex.C:
10463         * buffer.C:
10464         remove #include "support/syscontr.h" as it's redundant. Always has been.
10465
10466         * Chktex.C:
10467         * LaTeX.C:
10468         * LyXSendto.C:
10469         * converter.C:
10470         * lyx_cb.C:
10471         * vc-backend.C:
10472         change Systemcalls::System to Systemcalls::Wait and
10473         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10474         No change of functionality, just reflects the stripped down Systemcalls
10475         class.
10476
10477 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10478
10479         * debug.[Ch]: add a GRAPHICS type to the enum.
10480
10481 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10482
10483         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10484
10485         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10486         there is an inset.
10487
10488 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10491         match the changes below.
10492
10493         * text2.C (toggleInset): if there is not editable inset at cursor
10494         position, try to see if cursor is _inside_ a collapsable inset
10495         and close it.
10496
10497 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10498
10499         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10500         document menu has a nice checkbox
10501
10502 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * lyxlength.C (asLatexString): change PW to output as percent of
10505         \textwidth.
10506
10507         * lengthcommon.C: change '%' to 't%'
10508
10509         * lyxfunc.C (dispatch): a few comments from Martin
10510
10511 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * WorkArea.h:
10514         * WorkArea.C:
10515         * BufferView_pimpl.h:
10516         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10517           the X selection.
10518
10519 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10520
10521         * vspace.C (inPixels): fix compiler warning
10522
10523 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * lyxfunc.C (getStatus): fix status message for disabled commands.
10526
10527 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10528
10529         * BufferView_pimpl.C: fix crash on close buffer
10530         during selection (#227)
10531
10532 2002-01-27  Herbert Voss  <voss@lyx.org>
10533
10534         * buffer.C: link old Figure to new graphic inset
10535
10536 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10537
10538         * FontLoader.C (getFontinfo): Change the latex font names in order
10539         to match the names of type1inst.
10540
10541 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10542
10543         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10544
10545         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10546         (extchanged): ditto
10547         (ext_exist): ditto
10548         (remove_files_with_extension): ditto
10549         (remove_file): ditto
10550         (write): ditto
10551
10552         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10553         document is smaller than the work area height. Do not initialize
10554         static variables to 0.
10555
10556 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10557
10558         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10559
10560         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10561         LFUN_LAYOUT_PARAGRAPHS.
10562
10563         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10564         tabular. It is possible to provide a possible cell, which will
10565         typically be the actcell from the corresponding insettabular
10566
10567         * lyxfunc.C (getStatus): small cleanup; disable
10568         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10569         true
10570
10571 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10572
10573         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10574
10575         * paragraph.C (startTeXParParams):
10576         (endTeXParParams): new methods. The LaTeX code to
10577         start/end paragraph formatting
10578         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10579         empty (fixes bug #200)
10580
10581         * vspace.C (inPixels): adapt to the change below
10582         (inPixels): [later] more cleanups (remove unused variables)
10583
10584         * lyxlength.C (inPixels): change to use a width and a height as
10585         parameter.
10586
10587 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10588
10589         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10590         Replaced with \paperwidth
10591
10592         * DepTable.C (insert): add std:: qualifier
10593
10594 2002-01-18  Allan Rae  <rae@lyx.org>
10595
10596         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10597         updated also?
10598
10599         * text.C (drawInset): Turned out I didn't know enough about how
10600         rebreaking worked.  This fixes most of the redraw problems.  I see
10601         an occasional cursor trail when a line is broken now and the cursor
10602         placement can seem out by a few pixels also after a rebreak.
10603
10604 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10605
10606         * buffer.C (parseSingleLyXformat2Token): update because minipage
10607         width is now a LyXLength
10608
10609         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10610
10611         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10612         math insets
10613
10614 2002-01-17  Juergen Vigna  <jug@sad.it>
10615
10616         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10617
10618         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10619         is set correctly and the inset is updated correctly.
10620
10621 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10622
10623         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10624         the beginning of the loop.
10625
10626 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10627
10628         * lyxrc.C: improve help for use_scalable_fonts
10629
10630 2002-01-17  Allan Rae  <rae@lyx.org>
10631
10632         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10633
10634 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10635
10636         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10637         make sure to set their inset_owner to the right value (bug #171)
10638
10639 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10640
10641         * DepTable.h
10642         * DepTable.C: Implement mtime checking to reduce time spent doing
10643         CRCs.
10644
10645 2002-01-16  Juergen Vigna  <jug@sad.it>
10646
10647         * tabular.C (GetAdditionalHeight): one of error fixed.
10648
10649         * lyxrc.C (output): small fix in writing use_pspell.
10650
10651 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10652
10653         * sp_base.h: #include LString.h
10654
10655 2002-01-16  Allan Rae  <rae@lyx.org>
10656
10657         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10658         Can someone check this please?
10659
10660         * text.C (drawInset): It was possible that p.row would be removed by
10661         breakAgainOneRow upsetting a few other settings.  There may be another
10662         small tweak possible by setting need_break_row = 0 when p.row has been
10663         removed but I don't know enough about the logic here.
10664
10665 2002-01-15  Allan Rae  <rae@lyx.org>
10666
10667         * text.C (insertChar): removed conditional truism.
10668
10669         * BufferView2.C (removeAutoInsets): More tweaks.
10670         cur_par_prev could be a stray pointer.  Check for trailing empty line
10671         in case last line was cur_par and only had an error inset on it.
10672
10673 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10674
10675         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10676         absolute
10677
10678         * vc-backend.C (most methods):
10679         * exporter.C (Export):
10680         * converter.C (convert):
10681         (runLaTeX):
10682         * LyXSendto.C (SendtoApplyCB):
10683         * lyxfunc.C (dispatch):
10684         (menuNew):
10685         (open):
10686         (doImport):
10687         * lyx_cb.C (AutoSave):
10688         (InsertAsciiFile):
10689         * BufferView_pimpl.C (MenuInsertLyXFile):
10690         * buffer.C (runChktex): use Buffer::filePath().
10691
10692         * buffer.h: rename filename to filename_; rename filepath to
10693         filepath_ and make it private
10694         (filePath): new method
10695
10696         * buffer.C (writeFile): use fileName()
10697         (getLatexName):
10698
10699         * lyx_main.C (init): fix starting  of LyX when the binary is a
10700         link from so,ewhere else.
10701
10702         * minibuffer.C: include <cctype> for isprint
10703
10704 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10705
10706         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10707         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10708         name clash with InsetCollapsable's width function.
10709
10710 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10711
10712         * lastfiles.C: include <iterator>
10713
10714 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10715
10716         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10717         std::count.
10718
10719         * buffer.C (makeLaTeXFile): ditto.
10720         Also make loop operation more transparent.
10721
10722 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10723
10724         * ToolbarDefaults.C: remove trailing comma closing namespace.
10725
10726         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10727
10728         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10729         as in WorkArea.
10730
10731         * trans.C (Load): comment out unused variable, allowed.
10732
10733 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10734
10735         * minibuffer.[Ch] (append_char): new method to recieve input from the
10736         drop-down completion browser. If a key was pressed, then recieve this
10737         char and append it to the existing string.
10738         (peek_event): modify the positioning data passed to the completion
10739         browser so that it can be placed above the minibuffer rather than below.
10740 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10741
10742         * LyXAction.C (init): alloe error-next for readonly documents.
10743
10744         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10745         count.
10746
10747 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10748
10749         * bufferlist.C (readFile): create the buffer _after_ checking that
10750         the file exists.
10751
10752         * lyxfunc.C (verboseDispatch): fix handling of arguments
10753
10754         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10755
10756         * lyxrc.C: use string::erase() instead of initializing to "".
10757
10758
10759 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * BufferView_pimpl.h:
10762         * BufferView_pimpl.C:
10763         * WorkArea.h:
10764         * WorkArea.C:
10765         * text2.C: tell X when we have made a selection for copying
10766
10767 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10768
10769         * BufferView_pimpl.C (MenuInsertLyXFile):
10770         * lyxfunc.C (menuNew):
10771         (open):
10772         (doImport): add shortcuts to directory buttons
10773
10774         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10775         open a float)
10776
10777         * lyxfunc.C (setStatusMessage):
10778         (getStatusMessage): new methods
10779         (getStatus):use setStatusMessage instead of setErrorMessage
10780         (dispatch): when function is disabled, set error message here
10781         [instead of in getStatus previously]
10782
10783         * BufferView_pimpl.C (workAreaButtonRelease): update
10784         toolbar/menubar here too.
10785
10786 2002-01-13  Allan Rae  <rae@lyx.org>
10787
10788         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10789         Now seems indestructible.  Remaining task is to audit all other
10790         code affected by deleteEmptyParagraphMechanism.  One small quirk
10791         left is that an empty document with an error in the preamble can
10792         be made to report an error but no error box appears.  I don't know
10793         where it goes.
10794         (removeAutoInsets): Improved comments.
10795
10796 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * Thesaurus.h:
10799         * Thesaurus.C: update for Aiksaurus 0.14
10800
10801 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10802
10803         * text2.C (firstParagraph): removed member function, all uses
10804         replaces with ownerParagraph
10805         (redoParagraphs): here
10806         (updateInset): here
10807         (toggleAppendix): here
10808         * BufferView2.C (insertErrors): here
10809         (setCursorFromRow): here
10810
10811 2002-01-13  Allan Rae  <rae@lyx.org>
10812
10813         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10814         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10815         There is still a way to segfault this although you may have to do this
10816         multiple times: Have an InsetERT with an unknown command in it.
10817         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10818         <down-arrow>, <Enter> again, View->DVI, BANG!
10819
10820         * text2.C (setCursor):
10821         (deleteEmptyParagraphMechanism):
10822         * lyxtext.h (setCursor):
10823         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10824         Making use of the return value may help fix other bugs.
10825
10826 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10827
10828         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10829
10830         * LyXView.C (updateMenubar): call MenuBar::update here
10831         (updateToolbar): but not here
10832         (showState): do not update toolbar/menubar
10833
10834         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10835         should need to care about that.
10836
10837         * lyxfunc.C (verboseDispatch): simplify a bit
10838         (getStatus): have a version which takes a pseudoaction, and
10839         another which requires a (kb_action,string).
10840
10841         * LyXAction.C (retrieveActionArg): make it work also when action
10842         is not a pseudo-action.
10843         (getActionName): simplify a bit
10844         (helpText):
10845
10846 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10847
10848         * lyxfunc.C (verboseDispatch): new families of methods with
10849         several ways to specify a command and a bool to indicate whether
10850         the command name and shortcut should be displayed in minibuffer
10851         (eventually, we could extend that to a finer bitmask like
10852         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10853         (dispatch): the pristine dispatch command which just, well,
10854         dispatchs! Note it still sets its result to minibuffer; I'm not
10855         sure we want that.
10856
10857         * lyxfunc.h: remove setHintMessage
10858
10859         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10860
10861 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10862
10863         * BufferView_pimpl.C (specialChar): delete new inset if we have
10864         not been able to insert it.
10865
10866         * kbmap.C: revert to using int instead of kb_action, since all we
10867         are dealing with is pseudo-actions.
10868
10869         * LyXAction.C (searchActionArg): change to return int instead of
10870         kb_action, since the result is a pseudoaction.
10871
10872 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10873
10874         * buffer.C (insertErtContents): Fix (partially) the font bug.
10875
10876 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10877
10878         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10879         as the other one is broken on my machine!
10880
10881 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10882
10883         * commandtags.h:
10884         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10885
10886 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10887
10888         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10889         reflect their actual use. Provide compatibility code for older lyxrc
10890         files.
10891
10892         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10893         FL_NORMAL_STYLE.
10894         change names of popup font variables in line with the changes to lyxrc.C
10895
10896 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10897
10898         * buffer.C (asciiParagraph): avoid outputing a word twice after
10899         an inset.
10900
10901         * lyxrc.C (getDescription): document that document_path and
10902         template_path can be empty.
10903
10904 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10905
10906         * LaTeXFeatures.C (getMacros):
10907         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10908
10909         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10910
10911         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10912         getPackages.
10913         (getPackages): rename feature "floats" to "float". Use an array to
10914         iterate over 'simple' features (i.e. just a \usepackage). Add
10915         handling of "amsmath" (renamed from "amsstyle").
10916
10917 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10918
10919         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10920         features list.
10921
10922 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10923
10924         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10925         FuncStaus::FuncStatus & FuncStaus::some_method().
10926
10927 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10928
10929         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10930         of the func_satus stuff. Edited and massaged in various ways by
10931         JMarc.
10932
10933         * lyxfunc.C (getStatus): use FuncStatus
10934
10935 2002-01-08  Juergen Vigna  <jug@sad.it>
10936
10937         * text.C (nextBreakPoint): use function Inset::isChar().
10938
10939         * paragraph.C (TeXOnePar): use function
10940         Inset::forceDefaultParagraphs.
10941
10942         * buffer.C (latexParagraphs): use function
10943         Inset::forceDefaultParagraphs.
10944
10945 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10946
10947         * lyx_gui.C (init): set the style of the menu popups to
10948         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10949
10950 2002-01-07  Juergen Vigna  <jug@sad.it>
10951
10952         * text.C (setHeightOfRow): small fix
10953         (prepareToPrint): don't look at alignment if we don't have the place
10954         for doing it.
10955
10956 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10957
10958         * box.C: New file. Move the Box methods and functions out of box.h,
10959         following Lars' suggestion.
10960
10961 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10962
10963         * box.h: #include "support/LOstream.h", needed for inlined function.
10964
10965         * lyxtextclass.C:
10966         * lyxtextclasslist.C: added some using std declarations.
10967
10968 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10969
10970         * box.h: make signed dimensions to allow insets wider than
10971           the screen (bug #162)
10972
10973         * BufferView_pimpl.C: add some insetHit debug
10974
10975 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * vc-backend.C: add FIXME
10978
10979 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * lyxfunc.C (getStatus): enable code for showing math font status
10982         in toolbar/menu.
10983
10984 2002-01-07  Juergen Vigna  <jug@sad.it>
10985
10986         * text.C (nextBreakPoint): removed debug output not needed anymore.
10987
10988 2002-01-06  Juergen Vigna  <jug@sad.it>
10989
10990         * text.C (nextBreakPoint): fixed up this function we had this bug
10991         since ever but now hopefully we break row better.
10992         (insertChar): we have to check if an inset is the next char as it
10993         could now happen that a large inset is causing a break.
10994
10995 2002-01-05  Juergen Vigna  <jug@sad.it>
10996
10997         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10998         if it doesn't like to be drawed.
10999
11000 2002-01-04  Juergen Vigna  <jug@sad.it>
11001
11002         * BufferView2.C (lockInset): forgot to set a cursor.
11003
11004         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11005
11006 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11007
11008         * FormMathsPanel.C:
11009         * FormMathsPanel.h
11010         * MathsSymbols.C:
11011         * form_maths_panel.C:
11012         * form_maths_panel.h:
11013         * form_maths_panel.fd: implemented sub- and super- buttons in math
11014         panel.
11015
11016         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11017         (or ^ space) to be used as in TeX (req'd by André).
11018
11019         * lyxfunc.C: Allow ^ and _ again to be used both as
11020         super/subscript (mathed) and as themselves (in text).
11021
11022 2002-01-03  Allan Rae  <rae@lyx.org>
11023
11024         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11025         "LyX" or the filename of the current buffer if it has one.  This is a
11026         modified form of John Levon's patch.
11027
11028         * XFormsView.C (setWindowTitle): also set icon title.
11029
11030         * LyXView.h (setWindowTitle): signature changed.
11031         * XFormsView.h (setWindowTitle): ditto.
11032
11033 2002-01-02  Juergen Vigna  <jug@sad.it>
11034
11035         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11036
11037 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11038
11039         * screen.C (topCursorVisible): introduce a temp var for
11040         text->cursor.row(), handle the case where this row is null. (kindo
11041         hachish)
11042
11043         * text2.C (setCursor): add a couple of asserts.
11044
11045         * paragraph.h (inset_iterator): add -> operator
11046
11047         * paragraph.[Ch] (autoDeleteInsets): remove member function
11048
11049         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11050         cursor pos correctly and handle inset deletion by itself.
11051         (insertErrors): move iterator declaration out of for expression
11052
11053         * lyxtextclass.C: add <algorithm>
11054
11055         * Makefile.am: added the new files to sources, removed layout.C
11056
11057         * layout.C: removed file
11058
11059         * layout.h: remove LYX_DUMMY_LAYOUT
11060
11061         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11062         layout.
11063
11064         * lyxlayout.[Ch]:
11065         * lyxtextclass.[Ch]:
11066         * lyxtextclasslist.[Ch]: new files
11067
11068         * include order changes to a lot of files, also changes because of
11069         the six new files.
11070
11071 2001-12-27  Juergen Vigna  <jug@sad.it>
11072
11073         * buffer.C (asciiParagraph): more fixes.
11074
11075         * tabular.C (ascii): make ascii export support export of only the
11076         data separated by a column-delimiter.
11077         (ascii): better support for ascii export.
11078
11079         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11080
11081 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11082
11083         * tabular_funcs.C: use a "using std::getline" instead of the
11084         previous fix from Angus (necessary for cxx + lyxstring)
11085
11086 2001-12-24  Juergen Vigna  <jug@sad.it>
11087
11088         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11089
11090         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11091         problems. First check a minipage also if we have some ert-contents
11092         (not only on par->size(), second set the right depth of the paragraph
11093         on the relink to the root-paragraph-list!
11094
11095         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11096         which then did not anymore update the main paragraphs on undo/redo!
11097
11098 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11101         code. Support all font-changing funcs (even those which are not in
11102         menu currently). Support for reporting font settings in
11103         mathed (disabled until Andre provides a function on mathed's side).
11104
11105         * func_status.h (toggle): small helper function to set toggle
11106         state on a flag.
11107
11108 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11109
11110         * tabular_funcs.C: getline -> std::getline
11111
11112 2001-12-21  Juergen Vigna  <jug@sad.it>
11113
11114         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11115         accessed and could be 0 (I couldn't generate this but it seems
11116         Michael could!).
11117
11118 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11119
11120         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11121         * tabular_funcs.h: here and include iosfwd
11122
11123 2001-12-20  Juergen Vigna  <jug@sad.it>
11124
11125         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11126         inside inset but undo_par was.
11127
11128 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11129
11130         * Thesaurus.C: always include <config.h> in sources.
11131
11132         * Painter.h:
11133         * lyxlookup.h:
11134         * box.h: do not include <config.h> in header files
11135
11136         * text.C (paintLastRow): remove unused variable
11137
11138         * text.C (transformChar):
11139         (insertChar):
11140         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11141
11142         * Painter.C (text):
11143         * font.C (width): rewrite to use uppercase() instead of
11144         islower/toupper.
11145
11146         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11147
11148 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11149
11150         * lyxfind.C: clean up of find failure position change
11151
11152 2001-12-20  Juergen Vigna  <jug@sad.it>
11153
11154         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11155
11156         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11157         (TeXRow): added to LaTeX a single tabular row.
11158         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11159         (Latex): simplified and finally good LT-h/f support.
11160         (various_functions): just small adaptions for LT-h/f support.
11161
11162         * tabular_funcs.[hC]: added and moved here all not classfunctions
11163         of LyXTabular.
11164
11165 2001-12-19  Juergen Vigna  <jug@sad.it>
11166
11167         * tabular.[Ch]: better support for longtabular options (not finished
11168         yet!)
11169
11170 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11171
11172         * text.C (paintLastRow): use the label font instead of the font of
11173         the last character to compute the size of *_BOX. This makes more
11174         sense and avoids a crash with empty paragraphs.
11175         Use Painter::rectangle to draw EMPTY_BOX.
11176
11177 2001-12-19  Juergen Vigna  <jug@sad.it>
11178
11179         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11180         the paragraphs if the replaced paragraph is not the first one!
11181         Tried to delete not used paragraphs but does not work yet so for
11182         now it's inside #ifdef's and by default off!
11183
11184 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11185
11186         * MenuBackend.C: include "lyx_main.h" instead of declaring
11187         lastfiles (actually was declared as LastFiles* instead of a
11188         scoped_ptr).
11189
11190 2001-12-17  Juergen Vigna  <jug@sad.it>
11191
11192         * tabular.C (AppendColumn): applied John's fix
11193
11194 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * BufferView.h:
11197         * BufferView.C:
11198         * BufferView_pimpl.h:
11199         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11200
11201         * Makefile.am:
11202         * box.h: new start of class for above
11203
11204         * lyxfunc.C: ignore space-only minibuffer dispatches.
11205           Show the command name when it doesn't exist
11206
11207         * minibuffer.C: don't add empty lines to the history
11208
11209         * minibuffer.C: add a space on dropdown completion
11210
11211 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * text.C: fix line above/below drawing in insets
11214
11215 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * lyxlength.C (LyXLength): Initialize private variables.
11218
11219 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11220
11221         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11222         when inserting error insets.
11223
11224 2001-12-13  Juergen Vigna  <jug@sad.it>
11225
11226         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11227         actually sometimes the before-paragraph.
11228         (setUndo): don't clear the redostack if we're not actually undoing!
11229
11230 2001-12-06  Juergen Vigna  <jug@sad.it>
11231
11232         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11233         and fixed redoing of main paragraph, so we can use it now ;)
11234
11235         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11236
11237 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11240         Juergen's request
11241
11242 2001-12-13  André Pönitz <poenitz@gmx.net>
11243
11244         * undostack.[Ch]:
11245         * undo_func.C: minor cleanup
11246
11247 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11250         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11251         font in urw-fonts package which is marked as -urw-fontspecific and
11252         does not work (incidentally, changing the encoding in the
11253         fonts.dir of this package to -adobe-fontspecific fixes the
11254         problem).
11255
11256         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11257         is a crash when undoing first paragraph (Juergen, please take a
11258         look). THis does not mean the undo fix is wrong, just that it
11259         uncovers problems.
11260
11261         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11262         the (Paragraph*) version when needed instead of duplicating the
11263         code.
11264
11265         * text.C (workWidth): use Inset::parOwner to find out where the
11266         inset has been inserted. This is a huge performance gain for large
11267         documents with lots of insets. If Inset::parOwner is not set, fall
11268         back on the brute force method
11269
11270         * paragraph_pimpl.C (insertInset):
11271         * paragraph.C (Paragraph):
11272         (cutIntoMinibuffer): set parOwner of insets when
11273         inserting/removing them
11274
11275         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11276
11277 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11278
11279         * commandtags.h:
11280         * LyXAction.C:
11281         * lyx_main.C:
11282         * lyxfunc.C:
11283         * mathed/formulabase.C:
11284         * mathed/math_cursor.[Ch]:
11285         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11286
11287
11288 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11289
11290         * lyxlength.[Ch] (operator!=): new function
11291
11292 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * text.C (workWidth): use Inset::parOwner to find out where the
11295         inset has been inserted. This is a huge performance gain for large
11296         documents with lots of insets. If Inset::parOwner is not set, fall
11297         back on the brute force method
11298
11299         * paragraph_pimpl.C (insertInset):
11300         * paragraph.C (Paragraph):
11301         (cutIntoMinibuffer): set parOwner of insets when
11302         inserting/removing them
11303
11304         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11305
11306 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11307
11308         * tabular-old.C (getTokenValue):
11309         * tabular.C (getTokenValue):
11310         (write_attribute): new versions for LyXLength
11311         (everywhere): adjust the use of widths
11312
11313         * tabular.h: change the type of widths from string to LyXLength
11314
11315 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11316
11317         * paragraph.C: fixed missing line number count when exporting
11318         Environments to LaTeX file
11319
11320         * buffer.C: added informational message for checking line numbers.
11321
11322 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11325         paragraph, do the 'double space' part, but not the 'empty
11326         paragraph' one.
11327
11328         * text.C (workWidth): small optimization
11329         (getLengthMarkerHeight): use minimal size for negative lengths.
11330
11331 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11332
11333         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11334
11335         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11336
11337 2001-12-11  André Pönitz <poenitz@gmx.net>
11338
11339         * FontLoader.C:
11340         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11341
11342 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * text2.C: keep selection on a setFont()
11345
11346 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * lyx_cb.C: another bv->text misuse, from insert label
11349
11350 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11351
11352         * kbsequence.h:
11353         * kbsequence.C: re-instate nmodifier mask
11354
11355 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11356
11357         * lyx_main.h: make lyxGUI private.
11358
11359 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11360
11361         * lyxfind.C: place the cursor correctly on failed search
11362
11363 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11364
11365         * text.C (getLengthMarkerHeight): for small heights, the arrows
11366         are not always on top/bottom of the text
11367         (drawLengthMarker): smaller arrows; take the left margin in
11368         account; draw also vfills.
11369         (paintFirstRow):
11370         (paintLastRow): remove special code for vfill and standard spaces,
11371         since everything is handled in drawLengthMarker now.
11372
11373 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * buffer.C (insertErtContents): try to handle font and language
11376         interaction a bit better.g
11377
11378         * ColorHandler.C (updateColor): change the hash to cover the whole
11379         LColor enum, ws cleanup
11380         (getGCLinepars): ditto
11381         (getGCLinepars): only lookup in the linecache once.
11382
11383 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * iterators.C (operator++): Make the iterator more robust
11386
11387         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11388         (John's patch)
11389         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11390
11391 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * lyxtext.h:
11394         * text.C: better added space drawing
11395
11396 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11397
11398         * LyXView.C:
11399         * BufferView2.C: fix layout combo update on inset unlock
11400
11401 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * Makefile.am: don't compile unused files
11404
11405 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * lyxfunc.C:
11408         * commandtags.h:
11409         * LyXAction.C: remove old LFUN_LAYOUTNO
11410
11411 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * paragraph_pimpl.h:
11414         * paragraph_pimpl.C: isTextAt() doesn't need font param
11415
11416 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * lyxlex.h:
11419         * lyxlex.C: little cleanup
11420
11421 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * BufferView_pimpl.C: fix insertAscii for insets
11424
11425 2001-12-05  Juergen Vigna  <jug@sad.it>
11426
11427         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11428         set the right font on the "multi" paragraph paste!
11429
11430 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * trans_decl.h:
11433         * trans_mgr.[Ch]:
11434         * trans.[Ch]:
11435         * lyxgluelength.C:
11436         * lyxlength.C: remove out-commented code.
11437
11438         * BufferView_pimpl:
11439         * CutAndPaste.C:
11440         * DepTable.C:
11441         * buffer.C:
11442         * chset.C:
11443         * lastfiles.C:
11444         * lyxlex.C:
11445         * lyxlex_pimpl.C:
11446         * lyxserver.C:
11447         * screen.C:
11448         * tabular-old.C:
11449         * tabular.C:
11450         * text.C:
11451         * trans_mgr.C:
11452         * vc-backend.C: change "while(" to "while ("
11453
11454         * lyxlength.[Ch]: add zero function to check if length is zero or
11455         not
11456         * lyxgluelength.C: use it
11457
11458 2001-12-05  Allan Rae  <rae@lyx.org>
11459
11460         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11461         Works for 2.95.3, from what I understand of Garst's reports this should
11462         work for other g++ versions.  We're screwed if the abs(int) definition
11463         changed between bugfix releases of gcc.
11464
11465 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * text.C: fix chapter label offset !
11468
11469 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * lyxtext.h:
11472         * text.C: fix hfill at end of line, clean up
11473
11474 2001-12-04  Juergen Vigna  <jug@sad.it>
11475
11476         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11477         that we force an update of the inset and it's owners if neccessary.
11478
11479 2001-12-03  Juergen Vigna  <jug@sad.it>
11480
11481         * text.C (rowLast): simplified code
11482
11483 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * lyxfunc.C: fix show options on timeout
11486
11487 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11488
11489         * screen.C (topCursorVisible): scroll half a page when the cursor
11490         reached top of bottom of screen
11491
11492 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * minibuffer.C: deactivate on loss of focus
11495
11496 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * vspace.[Ch] (operator!=): add operator.
11499
11500 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * BufferView_pimpl.C: refuse to open an inset when
11503         there's a selection.
11504
11505 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11506
11507         * BufferView_pimpl.C: allow to click on RHS of full row insets
11508
11509 2001-11-30  Juergen Vigna  <jug@sad.it>
11510
11511         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11512         insets for undo reasons.
11513
11514 2001-11-28  André Pönitz <poenitz@gmx.net>
11515
11516         * vspace.[Ch]: cosmetical changes
11517
11518 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * LyXAction.h:
11521         * LyXAction.C:
11522         * lyxfunc.h:
11523         * lyxfunc.C:
11524         * kbmap.h:
11525         * kbmap.C:
11526         * lyxrc.C:
11527         * kbsequence.h:
11528         * kbsequence.C: part re-write of old kb code
11529
11530         * Painter.C:
11531         * WorkArea.C: remove Lgb_bug_find_hack
11532
11533 2001-11-30  José Matos <jamatos@fep.up.pt>
11534
11535         * buffer.C (makeDocBookFile): add a comment to point a hack.
11536         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11537         Fixed a double write of labels.
11538
11539 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11540
11541         * LaTeX.C:
11542         * LaTeX.h Fixed bug in LaTeX class where it would not
11543         re-run latex if no depfiles were changed, but the .dvi was removed.
11544
11545 2001-11-28  André Pönitz <poenitz@gmx.net>
11546
11547         * all the files from the change on 2001/11/26:
11548         use lyx::layout_type instead of LyXTextClass::size_type
11549         use lyx::textclass_type instead of LyXTextClassList::size_type
11550
11551 2001-11-29  Juergen Vigna  <jug@sad.it>
11552
11553         * text.C: added support for paragraph::isFreeSpacing()
11554
11555         * buffer.C: same as above
11556
11557         * paragraph.h: inserted isFreeSpacing() function to enable
11558         FreeSpacing inside InsetERT.
11559
11560         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11561         of the paragraph's in the cut/copy buffer to 0!
11562
11563         * text2.C (removeRow): remove the assert as it can!
11564
11565         * lyxtext.h: added helper function firstRow returning firstrow and
11566         made firstrow private again.
11567
11568         * BufferView2.C (lockInset): don't relock if we're already locked!
11569
11570         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11571         the only paragraph.
11572         (removeRow): added Assert::(firstrow)
11573
11574         * debug.C: forgot to add INSETTEXT here.
11575
11576 2001-11-28  Juergen Vigna  <jug@sad.it>
11577
11578         * sp_spell.C (initialize): changed error text to more general
11579         spellchecker command use (not only ispell!)
11580
11581         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11582
11583         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11584
11585 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11586
11587         * vspace.C: initialise lyxgluelength on failure
11588
11589 2001-11-28  Allan Rae  <rae@lyx.org>
11590
11591         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11592         declaration & definition that looks like a function declaration.
11593
11594 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11595
11596         * BufferView2.C (copy):
11597         (copyEnvironment): do not clear the selection when doing a copy.
11598
11599         * text.C (paintFirstRow): compilation fix
11600
11601 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11602
11603         * tabular.C (Latex): correct line count when writing latex.
11604
11605 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * paragraph_pimpl.h:
11608         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11609           bug a bit
11610
11611 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11612
11613         * text.C:
11614         * LColor.h:
11615         * LColor.C: change vfillline->added_space
11616
11617         * text.C: add markers and text for added space
11618
11619         * vspace.C: fix comment
11620
11621 2001-11-28  André Pönitz <poenitz@gmx.net>
11622
11623         * paragraph.C: whitespace changes
11624         * all the other files from the change on 2001/11/26:
11625         change *::pos_type into lyx::pos_type
11626
11627 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11628
11629         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11630         language of the document when inserting error insets.
11631
11632 2001-11-26  André Pönitz <poenitz@gmx.net>
11633
11634         * BufferView_pimpl.[Ch]:
11635         *       CutAndPaste.C:
11636         * buffer.[Ch]:
11637         * lyxcursor.[Ch]:
11638         * lyxfind.C:
11639         * lyxfunc.C:
11640         * lyxrow.[Ch]:
11641         * paragraph.[Ch]:
11642         * paragraph_pimpl.[Ch]:
11643         * sp_spell.C:
11644         * text.C:
11645         * text2.C: reduce header dependencies, introduce type for positions
11646
11647 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * <various>: change to use Alert.h
11650
11651 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11652
11653         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11654         when encountering an unknown token.
11655         (readLyXformat2): Show an error message if there were unknown tokens.
11656
11657 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * BufferView2.C:
11660         * BufferView_pimpl.C:
11661         * buffer.C:
11662         * paragraph.h:
11663         * text.C:
11664         * text2.C: use par->isInset()
11665
11666 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11667
11668         * paragraph_pimpl.h:
11669         * paragraph_pimpl.C: cleanup
11670
11671 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11672
11673         * text2.C (removeRow):
11674         * text.C (setHeightOfRow): remove useless (and costly) call to
11675         getRow.
11676
11677 2001-11-20  Allan Rae  <rae@lyx.org>
11678
11679         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11680         Now need Inset*::checkInsertChar() to return true for appropriate
11681         cases so that the characters in the minibuffer will actually be
11682         inserted.
11683
11684 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11685
11686         * text.C: change the order of the includes.
11687         (workWidth): initialize it at once.
11688         (workWidth): make maxw unsigned
11689         (setHeightOfRow): remove unused variable (inset)
11690         (selectSelectedWord): remove unused variable (inset)
11691         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11692
11693 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11694
11695         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11696         server is not running.
11697         (openConnection):
11698         (closeConnection): add debug info when server is disabled.
11699
11700         * ColorHandler.C (getGCForeground): send debug message to GUI
11701         channel.
11702
11703         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11704
11705         * kbmap.C (bind): modify because return conventions of
11706         kb_sequence::parse have changed.
11707
11708         * kbsequence.C (parse): only ignore spaces and not any stupid
11709         control character. This avoids tests like s[i] <= ' ', which are
11710         guaranteed to fail with 8bit characters and signed chars.
11711         Change return code to string::npos when there have been no error
11712         (0 was a bad idea when error is at first character)
11713
11714 2001-11-14  José Matos  <jamatos@fep.up.pt>
11715
11716         * buffer.h:
11717         * buffer.C (simpleDocBookOnePar): removed unused argument.
11718
11719 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11720
11721         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11722         insets which are part of a word. Paragraph::isLetter takes care of
11723         that now. Use Paragraph::isInset to identify insets.
11724         (selectSelectedWord): do not test for hyphenation break.
11725
11726         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11727         that protected spaces are considered as spaces.
11728
11729         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11730         Inset::isLetter.
11731
11732 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * lyxserver.h:
11735         * lyxserver.C: fix it. and small cleanup.
11736
11737 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * BufferView_pimpl.C: use inline helpers
11740
11741         * LaTeXFeatures.h:
11742         * LaTeXFeatures.C: fix typos
11743
11744         * Spacing.h:
11745         * Spacing.C: move spacing_string into class
11746
11747         * ToolbarDefaults.C: move stuff into namespace anon
11748
11749         * layout.h: update enum
11750
11751         * lyxfunc.C: use better debug
11752
11753         * minibuffer.h: fix typo
11754
11755         * debug.h:
11756         * debug.C:
11757         * WorkArea.C: add and use Debug::WORKAREA
11758
11759         * lyxtext.h:
11760         * text.C:
11761         * text2.C: code re-organisation, inline helpers
11762
11763 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11764
11765         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11766         std::vector.empty().
11767
11768 2001-11-09  Allan Rae  <rae@lyx.org>
11769
11770         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11771         '\n's after tables.  Tabular and ERT inset work now makes this no
11772         longer necessary.
11773
11774 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * minibuffer.h:
11777         * minibuffer.C: fix crash, improve drop-down completion
11778
11779 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * lyxserver.h:
11782         * lyxserver.C: invalidate fd's when doing endPipe()
11783
11784 2001-11-08  José Matos  <jamatos@fep.up.pt>
11785
11786         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11787         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11788
11789         * paragraph.h:
11790         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11791
11792 2001-11-07  José Matos  <jamatos@fep.up.pt>
11793
11794         * buffer.h:
11795         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11796         const qualifier.
11797
11798         * buffer.C (sgmlOpenTag):
11799         * buffer.C (sgmlCloseTag): removed debug info.
11800
11801         * buffer.h (sgmlOpenTag):
11802         * buffer.h (sgmlCloseTag): made public.
11803
11804 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11805
11806         * buffer.C (saveParamsAsDefaults):
11807         * lyx_cb.C (MenuLayoutSave): remove
11808
11809         * LyXAction.C (init):
11810         * commandtags.h:
11811         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11812
11813 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11814
11815         * buffer.C (setPaperStuff): removed from here...
11816
11817         * bufferparams.C (setPaperStuff): ... and moved there.
11818
11819 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * minibuffer.h:
11822         * minibuffer.C:
11823         * XFormsView.C: add support for drop-down completion
11824
11825 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11826
11827         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11828         commands.
11829
11830 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11831
11832         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11833         disabled.
11834
11835 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * lyx_main.C: change ref to known bugs
11838
11839 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11840
11841         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11842         to work around older babel problems.
11843
11844 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11845
11846         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11847
11848 2001-10-24  Juergen Vigna  <jug@sad.it>
11849
11850         * tabular-old.C (ReadOld): below variable changes reflected.
11851
11852         * tabular.[Ch]: added ltType struct for longtable header/footer
11853         defines and changed all instances where they are used. Added
11854         future support for double top/bottom rows.
11855
11856 2001-10-24  José Matos  <jamatos@fep.up.pt>
11857
11858         * buffer.h (docbookHandleCaption):
11859         * buffer.C (docbookHandleCaption): removed unused function.
11860         (makeDocBookFile): moved docbook supported version to v4.1.
11861
11862 2001-10-24  José Matos  <jamatos@fep.up.pt>
11863
11864         * tabular.h:
11865         * tabular.C (docbookRow): new function to export docbook code of a row.
11866         (DocBook): now honors the longtable flags.
11867
11868 2001-10-23  José Matos  <jamatos@fep.up.pt>
11869
11870         * LaTeXFeatures.h:
11871         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11872         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11873
11874         * buffer.C (makeLinuxDocFile):
11875         (makeDocBookFile): reworked the preamble, more clean, and with
11876         support for lyx defined entities. Changed the document declaration
11877         to be more XML friendly.
11878
11879         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11880         if we need to output XML that should be done with a filter.
11881
11882 2001-10-22  Juergen Vigna  <jug@sad.it>
11883
11884         * sp_pspell.h (class PSpell): add alive function needed in the
11885         controller to see if the spellchecker could be started.
11886
11887 2001-10-22  Juergen Vigna  <jug@sad.it>
11888
11889         * buffer.C (insertStringAsLines): modify the font for inserting
11890         chars in certain conditions by calling checkInsertChar(font).
11891
11892 2001-10-19  Juergen Vigna  <jug@sad.it>
11893
11894         * text.C (workWidth): use getRow instead of wrong algorithm.
11895         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11896
11897 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * lyxserver.h:
11900         * lyxserver.C:
11901         * lyx_main.h:
11902         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11903
11904 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * text.C (workWidth): do not search for the exact row when
11907         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11908         optimization for big documents.
11909
11910 2001-10-18  Juergen Vigna  <jug@sad.it>
11911
11912         * text.C (workWidth): new function with added Inset * parameter.
11913
11914 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11915
11916         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11917
11918         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11919         change return type of getColumnNearX.
11920
11921
11922         * text.C (changeRegionCase): use uppercase/lowercase instead of
11923         toupper/tolower.
11924         (leftMargin):
11925         (rightMargin): simplify code by factoring out the uses of
11926         textclasslist.
11927         (labelFill):
11928         (numberOfHfills):
11929         (setHeightOfRow):
11930         (appendParagraph): use Paragraph::size_type
11931
11932 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11933
11934         * vspace.C (asLatexString): add a missing break
11935
11936 2001-10-15  Herbert Voss  <voss@perce.de>
11937
11938         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11939
11940 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11941
11942         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11943         is not available.
11944
11945 2001-10-10  André Pönitz <poenitz@gmx.net>
11946
11947         * lyxfunc.C: removed greek_kb_flag.
11948
11949 2001-10-10  Herbert Voss  <voss@perce.de>
11950
11951         * lyx_main.C: delete global string help_lyxdir.
11952
11953 2001-10-09  Herbert Voss  <voss@perce.de>
11954
11955         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11956
11957         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11958
11959         * lyx_main.C: added global string help_lyxdir.
11960
11961         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11962
11963 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11964
11965         * lyxrc.C (set_font_norm_type): support iso8859-4
11966
11967 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11968
11969         * LaTeX.C (deplog): add another regex for MikTeX
11970
11971 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11972
11973         * lyxrc.C (set_font_norm_type): support iso8859-3
11974
11975 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11976
11977         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11978
11979         * LaTeXFeatures.C: remove special case of french and index
11980
11981         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11982         before \begin{document}). This solves several incompatibilities.
11983
11984 2001-10-03  Garst Reese  <reese@isn.net>
11985
11986         * lyx_cb.C: change CheckTex error msg.
11987
11988 2001-10-03  José Matos  <jamatos@fep.up.pt>
11989
11990         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11991
11992 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11993
11994         * .cvsignore: update
11995
11996         * lyx_main.C (commandLineVersionInfo): use new style version info.
11997
11998         * buffer.C (writeFile):
11999         (makeLaTeXFile):
12000         (makeLinuxDocFile):
12001         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12002
12003         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12004
12005         * version.h: update to use stuff in version.C
12006
12007         * version.C.in: new file. Contains version information determined
12008         at compile time. This is a merging of version.h and
12009         version_info.h.in.
12010
12011 2001-10-03  Juergen Vigna  <jug@sad.it>
12012
12013         * BufferView_pimpl.C (update): don't change "dirty" status in
12014         updateInset call.
12015
12016 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12017
12018         * WorkArea.C (c-tor): re-position version string slightly.
12019
12020 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12021
12022         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12023         revert to previous code.
12024
12025         WorkArea.[Ch]: (show, destroySplash): methods removed.
12026
12027         WorkArea.C: rework code so that it's an amalgam of the codes before and
12028         after the splash screen was moved to WorkArea.
12029
12030 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12031
12032         * lyxrc.C (read):
12033         * vspace.C (inPixels):
12034         (lyx_advance):
12035         * kbmap.C (bind):
12036         * buffer.C (insertStringAsLines):
12037         (asciiParagraph): fix types to be large enough
12038
12039         * lyxlex_pimpl.h: change member status from short to int
12040
12041         * layout.h: fix type of endlabeltype
12042
12043         * kbmap.C (bind):
12044         * kbsequence.C (parse): change return type to string::size_type
12045
12046         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12047         variable
12048
12049         * Bullet.C (bulletSize):
12050         (bulletEntry): do not use short ints as parameters
12051
12052         * BufferView2.C (insertLyXFile): change a char to an int.
12053
12054         * WorkArea.C (WorkArea): remove unneeded floats in computation
12055
12056 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12057
12058         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12059
12060         * paragraph.C (asString): Do not ignore newline/hfill chars when
12061         copying to the clipboard.
12062
12063 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12066         after a multi-line inset.
12067
12068 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12069
12070         * paragraph.C (validate): Set NeedLyXFootnoteCode
12071
12072 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12075         and decrease-error to decrease.
12076
12077 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12078
12079         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12080         it more readable (should be equivalent)
12081
12082 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12083
12084         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12085
12086 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12087
12088         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12089         of a cursor (row, etc.) after a character has been deleted
12090         (deleteEmptyParagraphMechanism): call the method above on _all_
12091         cursors held by the LyXText when a double space has been
12092         detected/deleted.
12093
12094 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12095
12096         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12097         pixmap.
12098         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12099
12100         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12101         background. Use greyOut() and the new show() methods to toggle between
12102         the foreground and background. Add code to remove the splash after
12103         its initial showing.
12104
12105         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12106         (create_forms): no longer call Dialogs::showSplash.
12107
12108 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12109
12110         * .cvsignore: add version_info.h
12111
12112 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12113
12114         * version_info.h.in: new file
12115
12116         * Makefile.am: add version_info.h.in
12117
12118         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12119         version_info.h instead of VERSION_INFO
12120
12121 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12124         The ERT inset now returns string().
12125
12126 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * lyxtext.h, text.C (selectNextWord): renamed as
12129         selectNextWordToSpellcheck.
12130
12131         * text.C (selectNextWordToSpellcheck): Modified to not select
12132         words inside an ERT inset.
12133
12134 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12135
12136         * lyx_cb.C (MenuLayoutSave): change a bit the question
12137
12138         * sp_base.h: include <sys/types.h>
12139
12140 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12141
12142         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12143
12144 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12145
12146         * several files: fix typos in user-visible strings
12147
12148 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12149
12150         * text2.C (pasteSelection): do not set the selection, since it
12151         will be cleared later. Actually, the intent was to fix the way the
12152         selection was set, but I figured rmoving the code was just as good.
12153
12154 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12155
12156         * FontLoader.C (available): Check if font is available without
12157         loading the font.
12158
12159 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12160
12161         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12162
12163 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12164
12165         * lyxrc.[Ch]: added display_graphics variable and associated code.
12166
12167 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12168
12169         * bufferparams.C (hasClassDefaults): new method. Returns true if
12170         the buffer parameters correspond to known class defaults
12171
12172 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12173
12174         * XFormsView.C (show): set minimum size to the main window.
12175
12176 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * text2.C (copySelection):
12179         (cutSelection):
12180         * lyxfind.C (LyXReplace):
12181         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12182         LyXText::selectionAsString.
12183
12184         * paragraph.C (asString): add "label" argument to the second form
12185
12186         * text2.C (selectionAsString): add "label" argument and pass it to
12187         Paragraph::asString.
12188
12189 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12190
12191         * lyx_main.C (commandLineHelp): remove version information
12192
12193 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12194
12195         * lyx_main.C: add -version commandline option
12196
12197 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * paragraph.h: make the optional constructor arg required instead.
12200         some modifications to other files because of this.
12201
12202         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12203
12204         * lyxserver.C (C_LyXComm_callback): make it static
12205
12206         * lyx_main.C (error_handler): make it static
12207
12208         * lyx_gui.C (LyX_XErrHandler): make it static
12209
12210         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12211
12212         * WorkArea.C: make the extern "C" methods static.
12213
12214         * Makefile.am (lyx_LDADD): simplify
12215
12216 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12219         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12220
12221         * LyXAction.C (init):
12222         * lyxfunc.C (dispatch): associated code removal.
12223
12224 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12225
12226         * lyxfont.h (isSymbolFont): shut off warning
12227
12228         * text.C (setHeightOfRow):
12229         (getVisibleRow): fix crash with empty paragraphs which have a
12230         bottom line
12231
12232 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12233
12234         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12235         code.
12236
12237 2001-09-04  José Matos  <jamatos@fep.up.pt>
12238         * buffer.C
12239         * buffer.h
12240         * tabular.C (docbook): rename docBook method to docbook.
12241
12242 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12243
12244         * Makefile.am: add dependencies to main.o.
12245
12246 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12247
12248         * FontLoader.C (available): Return false if !lyxrc.use_gui
12249
12250 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12251
12252         * FontInfo.C (query):
12253         * converter.C (view):
12254         * importer.C (Import):
12255         * exporter.C (Export): Can not -> cannot.
12256
12257 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * BufferView_pimpl.C: allow to create index inset even if
12260           string is empty
12261
12262 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12263
12264         * buffer.C (getLists): replace boost::tie code with an explicit pair
12265         as boost::tie can break some compilers.
12266
12267         * iterators.h: Added a std:: declaration to the return type of
12268         ParIterator::size.
12269
12270 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12273           case.
12274
12275 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12276
12277         * iterators.[Ch]: New files. Provide paragraph iterators.
12278
12279         * buffer.C (changeLanguage): Use paragraph iterators.
12280         (isMultiLingual): ditto
12281
12282         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12283
12284 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12285
12286         * FontLoader.C: Support for cmr font.
12287
12288 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12289
12290         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12291         (available): New method.
12292
12293         * FontInfo.C (getFontname): Use scalable fonts even when
12294         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12295         found.
12296
12297 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * converter.C (Formats::view): reverted! Incorrect fix.
12300
12301 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * converter.C (Formats::view): only output the -paper option
12304         if the dvi viewer is xdvi, thereby fixing bug #233429.
12305
12306 2001-08-23  Herbert Voss  <voss@perce>
12307
12308         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12309
12310 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12311
12312         * Spacing.h (Spacing): Set space to Default on in the default
12313         constructor.
12314
12315 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * vc-backend.h (RCS::versionString): add RCS to version
12318         (CVS::versionString): add CVS to version
12319
12320         * vc-backend.C (scanMaster): do not add CVS to version.
12321         (scanMaster): do not add RCS to version
12322
12323         * lyxvc.C (versionString): new method
12324
12325         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12326
12327 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * Spacing.C (set): initialize fval
12330
12331 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12334         " or \.
12335
12336 2001-08-16  Juergen Vigna  <jug@sad.it>
12337
12338         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12339
12340 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12341
12342         * BufferView_pimpl.C:
12343         * figureForm.C:
12344         * lyxtext.h:
12345         * text2.C: setParagraph takes linespacing now
12346
12347 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12348
12349         * LyxAction.C: add internal LFUN_CITATION_INSERT
12350
12351         * LyXView.C: actually apply fix
12352
12353         * bufferlist.C: fix open non-existent file
12354
12355         * lyxfind.C: fix indentation
12356
12357         * lyxfunc.C: remove unneeded assert, fix typo
12358
12359 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12360
12361         * MenuBackend.C: use "Floatname List"
12362
12363 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12364
12365         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12366         when converting LaTeX layout to insetERT.
12367         Generate a non-collapsed float when reading old float
12368
12369 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12370
12371         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12372         ERT insets.
12373
12374 2001-08-13  Juergen Vigna  <jug@sad.it>
12375
12376         * text.C (fill): return 0 instead of 20 as this seems to be the more
12377         correct value.
12378
12379 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12380
12381         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12382         lyxrc.font_norm.
12383
12384 2001-08-13  Juergen Vigna  <jug@sad.it>
12385
12386         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12387         casesensitive off.
12388         (SearchBackward): comment out the unlocking of the inset_owner this
12389         should not be needed!
12390
12391 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12392
12393         * Many files: Remove inherit_language, and add latex_language
12394
12395         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12396         collapsible insets.
12397
12398 2001-08-10  Juergen Vigna  <jug@sad.it>
12399
12400         * text.C (prepareToPrint): fixed hfill-width in draw!
12401
12402         * BufferView2.C (selectLastWord): save the selection cursor as this
12403         now is cleared in the function LyXText::clearSelection!
12404
12405 2001-08-08  Juergen Vigna  <jug@sad.it>
12406
12407         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12408         BACKSPACE type functions.
12409
12410         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12411         is only cutted from the document but not put in the cut-buffer, where
12412         still the old stuff should be.
12413
12414         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12415
12416         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12417
12418         * tabular.C (SetWidthOfCell): fixed special case where the width
12419         was not updated!
12420         (LeftLine): handle '|' in align_special.
12421         (RightLine): ditto
12422         (LeftAlreadyDrawed): ditto
12423         (SetWidthOfCell): ditto
12424
12425 2001-08-07  Juergen Vigna  <jug@sad.it>
12426
12427         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12428
12429 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12430
12431         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12432         * lyxlex.[hC]: ditto
12433
12434 2001-08-06  Juergen Vigna  <jug@sad.it>
12435
12436         * text.C (getVisibleRow): fix up row clearing a bit.
12437
12438 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * minibuffer.C: make sure the X server sees the changes in the input.
12441
12442 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12443
12444         * paragraph.C (getFont): split into...
12445         (getLabelFont): this
12446         (getLayoutFont): and this
12447         * paragraph_pimpl.C (realizeFont): calling this
12448
12449         * text2.C (getFont): split into...
12450         (getLayoutFont): this
12451         (getLabelFont): and this
12452         (realizeFont): all three calling this
12453
12454         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12455         files where used.
12456
12457 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12460
12461 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12462
12463         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12464         layouts from the Quote inset insertion.
12465
12466 2001-08-03  Juergen Vigna  <jug@sad.it>
12467
12468         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12469
12470         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12471         only if status not is already CHANGED_IN_DRAW (second level).
12472
12473         * text.C (draw): don't set the need_break_row when inside an
12474         InsetText LyXText.
12475
12476 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * buffer.C (parseSingleLyXformat2Token): handle more latex
12479         conversion cases.
12480
12481         * bufferview_funcs.[hC]: change function names to
12482         begin with small char, adjust other files.
12483
12484 2001-08-02  André Pönitz <poenitz@gmx.net>
12485
12486         * lyxfunc.C:
12487         BufferView_pimpl.C: remove broken special code for math-greek
12488
12489 2001-08-02  Juergen Vigna  <jug@sad.it>
12490
12491         * BufferView_pimpl.C (update): redone this function so that we
12492         update the text again if there was a CHANGE_IN_DRAW.
12493
12494         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12495         (drawFromTo): added a new internal bool which is used by draw() and
12496         redraw() function.
12497         (general): some cursor drawing problems fixed.
12498
12499 2001-08-01  Juergen Vigna  <jug@sad.it>
12500
12501         * lyxfind.C (LyXFind): fixed
12502         (SearchForward): ditto
12503         (SearchBackward): ditto
12504
12505         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12506         spurius drawing of the cursor in the main area.
12507
12508         * text2.C (status): small fix which could lead to a segfault!
12509         (clearSelection): remove unneeded BufferView param.
12510
12511 2001-08-01  André Pönitz <poenitz@gmx.net>
12512
12513         * lyxfunc.C: small change due to changed mathed interface
12514
12515 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12516
12517         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12518
12519 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * lyxfunc.c: fail gracefully if file doesn't exist
12522
12523         * LyXSendto.C:
12524         * buffer.C:
12525         * lyxfunc.C:
12526         * BufferView_pimpl.C: IsDirWriteable() proto changed
12527
12528         * LyXView.C: fix updateWindowTitle() to store the last title
12529
12530 2001-07-31  Juergen Vigna  <jug@sad.it>
12531
12532         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12533         the font (wrong since using of Paragraph::highestFontInRange).
12534
12535         * paragraph.C (highestFontInRange): added a default_size parameter.
12536
12537         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12538         (setHeightOfRow): reformat
12539
12540 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12541
12542         * converter.[hC] + affected files: move to (inital-char)lowercase
12543         function names.
12544
12545         * ParagraphParameters.C (ParagraphParameters): remove commented code
12546
12547         * PainterBase.[Ch]: remove commented code
12548
12549         * LaTeXFeatures.h: add "bool floats" for float.sty
12550
12551         * LaTeXFeatures.C (LaTeXFeatures): init floats
12552         (require): handle float
12553         (getPackages): do it with floats
12554
12555 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12556
12557         * BufferView_pimpl.C (Dispatch): improve handling of
12558         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12559
12560         * commandtags.h: #include lyxfont.h here temporarily to avoid
12561         keybinding bug.
12562
12563         * bufferlist.h: include LString.h here.
12564
12565 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * text2.C (getStringToIndex): new method.
12568
12569 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12570
12571         * *: Reduced header file dependencies all over.
12572
12573 2001-07-30  Baruch Even  <baruch@lyx.org>
12574
12575         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12576
12577 2001-07-29  Baruch Even  <baruch@lyx.org>
12578
12579         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12580
12581 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * ParameterStruct.h (endif): add a default constructor to make
12584         sure that all variables is initialized.
12585
12586         * ParagraphParameters.C (ParagraphParameters): adjust
12587
12588 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12589
12590         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12591         index; also, check that there is something to index, and that it
12592         does not span over several paragraphs.
12593         (doubleClick): use WHOLE_WORD_STRICT for double click.
12594
12595         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12596
12597         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12598         scheme.
12599
12600 2001-07-26  Baruch Even  <baruch@lyx.org>
12601
12602         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12603         an InsetFig figure, backwards compatible reading of old figure code.
12604
12605 2001-07-27  Juergen Vigna  <jug@sad.it>
12606
12607         * text2.C: font.realize function adaption.
12608
12609         * text.C (draw): add a warnings lyxerr text if needed.
12610
12611         * layout.C: font.realize function adaption.
12612
12613         * language.C: add inherit_language and implement it's handlings
12614
12615         * bufferview_funcs.C (StyleReset): remove language parameter from
12616         font creation (should be language_inherit now).
12617
12618         * bufferparams.C (writeFile): handle ignore_language.
12619
12620         * paragraph.C (getFontSettings): the language has to be resolved
12621         otherwise we have problems in LyXFont!
12622
12623         * lyxfont.C (lyxWriteChanges): added document_language parameter
12624         (update): removed unneeded language parameter
12625
12626         * paragraph.C (validate): fixed wrong output of color-package when
12627         using interface colors for certain fonts in certain environments,
12628         which should not seen as that on the final output.
12629
12630 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * BufferView_pimpl.C:
12633         * Thesaurus.h:
12634         * Thesaurus.C:
12635         * Makefile.am:
12636         * commandtags.h:
12637         * LyXAction.C: add thesaurus support
12638
12639         * lyxfind.h:
12640         * lyxfind.C: add "once" parameter, for thesaurus, to not
12641           move to the next match
12642
12643 2001-07-26  Juergen Vigna  <jug@sad.it>
12644
12645         * lyxfont.C (realize): honor ignore_language too!
12646         (resolved): ditto.
12647
12648         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12649
12650         * text.C (draw): one place more for ignore_language to not draw
12651         itself!
12652
12653 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12654
12655         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12656
12657 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12658
12659         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12660         the minipage conversion problem.
12661
12662 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12665         insert an inset.
12666
12667 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * BufferView.h: don't forward declare WorkArea
12670
12671         * BufferView.C: don't include WorkArea.h
12672
12673 2001-07-25  André Pönitz <poenitz@gmx.net>
12674
12675         * commandtags.h:
12676         * LyXAction.C:
12677         * lyxfunc.C:  new LFUN 'math-space'
12678
12679         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12680
12681 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * text2.C (toggleInset): call open/close
12684
12685 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * lyxfunc.C (dispatch): add debug for the disabled case
12688
12689         * font.C (buttonText): make similar to rectText
12690
12691         * buffer.C (readInset): comment out parsing of insetlist and
12692         insttheorem
12693
12694         * PainterBase.C (rectText): small correction
12695
12696         * BufferView_pimpl.C: comment out insettheorem and insetlist
12697         * LyXAction.C: ditto
12698         * commandtags.h: ditto
12699
12700 2001-07-24  Juergen Vigna  <jug@sad.it>
12701
12702         * text.C (draw): honor the ignore_language.
12703
12704         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12705
12706 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12709         char inset.
12710
12711 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12712
12713         * lyxtext.h: remove unused (and unimplemented) methods
12714
12715 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12716
12717         * text.C (getVisibleRow): honor background color
12718
12719         * PainterBase.h:
12720         * Painter.h: remove default color argument for fillRectangle
12721
12722         * text.C (backgroundColor): new method
12723
12724 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12725
12726         * text.C (getVisibleRow): adjust
12727
12728         * font.[Ch] (rectText): new method, metrics
12729         (buttonText): new method, metrics
12730
12731         * PainterBase.[hC]: make rectText and buttonText always draw and take
12732         fewer paramteres.
12733
12734 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12735
12736         * ToolbarDefaults.C (read):
12737         * MenuBackend.C (read): allow escaping in all strings
12738
12739         * BufferView_pimpl.C (insertAndEditInset): new method.
12740         (Dispatch): use insertAndEditInset whenever appropriate.
12741
12742         * BufferView_pimpl.C (insertNote): removed
12743
12744         * BufferView_pimpl.C (smartQuote): new method, moved from
12745         BufferView; if an insetquote cannot be inserted, insert a '"'
12746         character instead.
12747
12748         * BufferView2.C: remove insertCorrectQuote();
12749
12750         * lyxfunc.C (getStatus): Add support for all remaingin
12751         inset-insert lfuns.
12752
12753         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12754
12755         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12756         command (necessary to pass " as parameter of self-insert.
12757
12758         * text.C (selectWordWhenUnderCursor):
12759         (selectWord): add word_location parameter
12760         (selectWordWhenUnderCursor): same + remove special code for word
12761         boundary.
12762         (selectNextWord): use kind() to guess type of insetspecialchar,
12763         not latex().
12764
12765         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12766         (insertErtContents): create ert insets as collapsed.
12767         (readInset): better compatibility code for Info inset.
12768
12769 2001-07-20  Juergen Vigna  <jug@sad.it>
12770
12771         * lyxfunc.C (dispatch): use always LyXFind now!
12772
12773         * text2.C (init): add a reinit flag so that the LyXText can be
12774         reinited instead of deleted and reallocated (used in InsetText).
12775
12776         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12777
12778         * text.C: ditto
12779
12780         * text2.C: ditto
12781
12782 2001-07-18  Juergen Vigna  <jug@sad.it>
12783
12784         * text.C (selectNextWord): handle insets inside inset by calling
12785         always the bv->text functions so that we can go up the_locking_inset!
12786
12787         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12788         in strange locations when inside an inset!
12789
12790         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12791         handling to include insets.
12792
12793         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12794
12795 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * LyXAction.C (init):
12798         * commandtags.h:
12799         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12800         LIGATURE_BREAK, since the name is so stupid.
12801
12802 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12803
12804         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12805         InsetInfos.
12806
12807         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12808
12809         * sp_form.[Ch]: remove.
12810
12811         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12812
12813         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12814         InsetInfo.
12815
12816         * src/buffer.C (readInset): ditto.
12817
12818 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12819
12820         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12821         menuSeparator(), endOfSentenceDot(), ldots() and
12822         hyphenationPoint(), which are therefore removed.
12823         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12824
12825         * LyXAction.C (init):
12826         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12827
12828         * paragraph.C (getWord): removed.
12829
12830         * BufferView_pimpl.C (Dispatch): use last word or selection for
12831         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12832
12833         * lyx_main.C (queryUserLyXDir): do not ask before creating
12834         user_dir, except if it has been named explicitely.
12835
12836 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12837
12838         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12839         a document of zero size.
12840
12841 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12842
12843         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12844         approriately in the c-tor and in require().
12845         (getPackages): output the appropriate LaTeX for natbib support.
12846
12847         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12848         variables "use_natbib" and "use_numerical_citations" when reading the
12849         LyX file.
12850         (readInset): read the various natbib cite commands.
12851         (validate): white-space change.
12852
12853         * bufferparams.[Ch]: new variables "bool use_natbib" and
12854         "bool use_numerical_citations".
12855         (writeFile): output them in the LyX file.
12856
12857 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12858
12859         * lyxfunc.C (getStatus): add support for all the inset insertion
12860         commands.
12861
12862         * text2.C (insertInset):
12863         * paragraph.C (insetAllowed):
12864         * BufferView_pimpl.C (insertInset): update to take in account the
12865         renaming of insertInsetAllowed
12866
12867         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12868
12869         * text2.C (getInset): new method. returns inset at cursor position.
12870
12871         * BufferView_pimpl.C (Dispatch): changes because of this.
12872
12873         * LyXAction.C (init): rename open-stuff to inset-toggle.
12874
12875         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12876
12877         * text2.C (toggleInset): renamed from openStuff; use
12878         Inset::open().
12879
12880 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12881
12882         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12883
12884         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12885
12886 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12887
12888         * buffer.C (readLyXformat2): Add filename to the error dialog
12889
12890 2001-07-18  Juergen Vigna  <jug@sad.it>
12891
12892         * tabular.C (GetCellNumber): put an assert here instead of the check!
12893
12894 2001-07-17  Juergen Vigna  <jug@sad.it>
12895
12896         * BufferView_pimpl.C (toggleSelection): adapted too.
12897
12898         * text.C (selectNextWord): adapted for use with insets.
12899         (selectSelectedWord): ditto
12900
12901 2001-07-17  Juergen Vigna  <jug@sad.it>
12902
12903         * sp_spell.C (PSpell): fix initialitation order.
12904
12905 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * paragraph.C: spacing
12908
12909 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12910
12911         * sp_spell.C: repair language selection for pspell
12912
12913 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * lyxfunc.h: change more methods to begin with lower char.
12916
12917 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12918
12919         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12920         for unknown layouts.
12921
12922 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12923
12924         * buffer.C (readLyXformat2): Generate an error dialog if there are
12925         unknown layouts.
12926
12927 2001-07-16  Juergen Vigna  <jug@sad.it>
12928
12929         * sp_spell.C: always compile ISpell part.
12930
12931         * lyxrc.C: added use_pspell entry and it's handling.
12932
12933 2001-07-13  Juergen Vigna  <jug@sad.it>
12934
12935         * sp_spell.C: removed double includes.
12936
12937 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12938
12939         Consistent use of Lsstream.h:
12940         * Lsstream.h: added using std::stringstream for consistencies sake.
12941
12942         * buffer.C: removed using std::stringstream
12943
12944         * lyxfont.C (stateText):
12945         * paragraph.C (asString):
12946         * text.C (selectNextWord, selectSelectedWord):
12947         * text2.C (setCounter):
12948         * vspace.C (asString, asLatexString):
12949         std::ostringstream -> ostringstream.
12950
12951 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12952
12953         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12954         * commandtags.h: add LFUN_HELP_ABOUTLYX
12955         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12956
12957 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12958
12959         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12960         cursorToggle()
12961         * lyx_gui_misc.C: remove spellchecker
12962         * lyxfunc.C: showSpellchecker
12963         * sp_base.h: added
12964         * sp_ispell.h: added
12965         * sp_pspell.h: added
12966         * sp_spell.C: added
12967         * sp_form.[Ch]: removed
12968         * spellchecker.[Ch]: removed
12969
12970 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12971
12972         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12973         is set.
12974         (simpleTeXSpecialChars): Simply print the input character without
12975         any special translation if pass_thru is set.
12976
12977         * layout.h: Added bool pass_thru to layout class for being able to
12978         implement pass through of a paragraph for Literate Programming.
12979
12980         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12981         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12982         * layout.C (Read): add "passthru" to list of layout tags and add
12983         code to set the pass_thru boolean when it is read.
12984
12985 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * trans_decl.h: remove allowed from KmodInfo
12988
12989         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12990         remove allowed code
12991         (Load): adjust
12992
12993         * paragraph_pimpl.C (erase): use boost::prior
12994
12995         * Painter.C (text): use data() instead of c_str() when length is
12996         also provided.
12997         * WorkArea.C (putClipboard): ditto
12998         * font.h (width): ditto
12999
13000         * BufferView2.C: use it-> instead of (*it). for iterators
13001         * texrow.C: ditto
13002         * paragraph_pimpl.C: ditto
13003         * paragraph.C: ditto
13004         * minibuffer.C: ditto
13005         * language.C: ditto
13006         * kbmap.C: ditto
13007         * encoding.C: ditto
13008         * counters.C: ditto
13009         * converter.C: ditto
13010         * chset.C: ditto
13011         * Variables.C: ditto
13012         * TextCache.C: ditto
13013         * MenuBackend.C: ditto
13014         * LyXAction.C: ditto
13015         * LColor.C: ditto
13016         * FloatList.C: ditto
13017         * DepTable.C: ditto
13018         * ColorHandler.C (LyXColorHandler): ditto
13019
13020 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13021
13022         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13023
13024         * text2.C (openStuff): reintroduce this method (which had been
13025         nuked in NEW_INSETS frenzy).
13026
13027         * lyxfunc.C (Dispatch): when an action has not been handled, use
13028         its name in the error message, not its number.
13029
13030         * paragraph.C (inInset): change method name to begin with lowercase.
13031
13032         * undo_funcs.C:
13033         * text2.C: updates because of this.
13034
13035 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13036
13037         * ToolbarDefaults.C (add): add spaces in error message
13038
13039 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13042         (readLyXformat2): rename return_par to first_par, use lyxlex's
13043         pushToken and remove the manual push handling.
13044         (parseSingleLyXformat2Token): add another ert comp. variable:
13045         in_tabular, rename return_par to first_par. handle newlines better
13046
13047 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13048
13049         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13050
13051 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13052
13053         * text2.C (getParFromID): removed
13054
13055         * buffer.C (getParFromID): new method moved form lyxtext.
13056         * BufferView2.C (insertErrors): adjust
13057         (setCursorFromRow): adjust
13058         * BufferView_pimpl.C (restorePosition): adjust
13059         * lyxfunc.C (Dispatch): adjust
13060         * undo_funcs.C (textUndo): adjust
13061         (textRedo): adjust
13062         (textHandleUndo): adjust
13063         (textHandleUndo): adjust
13064
13065 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * buffer.C: up' the LYX_FORMAT
13068
13069         * lyxfont.h: turn NO_LATEX on as default
13070
13071         * buffer.C (insertErtContents): new methods of tex style compability.
13072         (parseSingleLyXformat2Token): use it several places.
13073         * tabular.C (OldFormatRead): and here
13074
13075 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * text2.C: remove some commented code.
13078         reindent file.
13079
13080         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13081         * trans.C: changes because of the above.
13082
13083 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13084
13085         * text2.C (setCounter): Fix counters bug with bibliography layout.
13086
13087 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13088
13089         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13090         own member functions
13091         (simpleTeXSpecialChars): ditto
13092
13093 2001-07-06  Juergen Vigna  <jug@sad.it>
13094
13095         * a lot of files: changed the access to LyXText::status and the
13096         call of undo-functions.
13097
13098         * undo.[Ch]: added a inset_id to the undo informations.
13099
13100         * undo_funcs.[Ch]: added and moved here all undo functions.
13101
13102         * lyxtext.h: give the status enum a weight, made status_ a private
13103         variable and made accessor functions for it, removed the whole bunch
13104         of undo-functions as they are now in their own file, make some
13105         functions publically available. Added function ownerParagraph with
13106         int parameter.
13107
13108         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13109         made InInset() a const function, added getParFromID() function.
13110
13111         * buffer.[Ch]: added const version for inset_iterator functions,
13112         added getInsetFromID() function.
13113
13114         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13115         changed undo functions for new version.
13116
13117 2001-07-05  Juergen Vigna  <jug@sad.it>
13118
13119         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13120         unknow mechanism does not call the proper constructor but only this
13121         one also if I request the other!?
13122
13123 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13124
13125         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13126
13127         * text2.C (LyXText): use initialization lists.
13128
13129         * lyxtext.h (Selection): initialize set_ and mark_
13130         (init): remove method
13131
13132 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13135
13136 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * screen.[Ch]: change method names to begin with lowercase
13139
13140         * BufferView_pimpl.C (updateScrollbar): simplify further and
13141         hopefully make it a bit faster.
13142
13143 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13146         calling directly xforms functions.
13147
13148         * Painter.C (Painter):
13149         * lyx_cb.C (MenuWrite):
13150         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13151         fl_display.
13152
13153         * lyx_gui.C: remove bogus guiruntime extern declaration.
13154
13155 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13156
13157         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13158         in NEW_INSETS
13159         (redoDrawingOfParagraph): ditto
13160         (redoParagraphs): ditto
13161         (cutSelection): don't create a object for CutAndPaste use the
13162         static method directly
13163         (pasteSelection): ditto
13164
13165         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13166         LyXview (+ rename)
13167
13168 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * modifications to some other files because of this.
13171
13172         * Makefile.am (lyx_SOURCES): add XFormsView
13173
13174         * XFormsView.[Ch]: new files
13175
13176         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13177         the main window. Move the gui dependent stuff to XFormsView
13178
13179 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13180
13181         * tabular.C (GetCellInset): update cur_cell also in the row/col
13182         version of this function.
13183
13184         * lyxfunc.C: no need to include figure_form.h here.
13185
13186         * FontLoader.h:
13187         * lyxfunc.h:
13188         * lyxscreen.h:
13189         * text2.C:
13190         * lyxvc.C: no need to include forms.h here.
13191
13192 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13195
13196         * lyxfunc.C (Dispatch):
13197         * Spacing.C (set):
13198         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13199         constructor argument.
13200
13201 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13202
13203         * paragraph.C (Paragraph): dont't clear, and just set layout.
13204         (makeSameLayout): use params's copy contructor.
13205
13206         * ParagraphParameters.[Ch] (makeSame): delete method
13207
13208 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * Variables.[Ch]: fix indentation, rename set to isSet
13211
13212 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * lyxfunc.C (Dispatch): fix typo
13215
13216 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13217
13218         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13219         upper_bound.
13220
13221         * bufferlist.C: include assert.h for emergencyWrite().
13222
13223 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13226           give up at last (bug #425202) !
13227
13228 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * lyx_gui_misc.C:
13231         * sp_form.h:
13232         * sp_form.C:
13233         * spellchecker.h:
13234         * spellchecker.C: strip spellchecker options and bring up
13235           preferences tab instead
13236
13237 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13238
13239         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13240         the istringstream constructor
13241
13242 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * paragraph.C (getLayout): fix return value
13245
13246         * paragraph.h: do not declare getLayout as inline.
13247
13248         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13249
13250 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13251
13252         * lyxcursor.h (operator<): new func
13253         (operator>): new func
13254         (operator>=): new func
13255         (operator<=): new func
13256
13257         * text.C (changeCase): use selection.start and selection.end
13258         (changeRegionCase): require from to be <= to. Require par to be a
13259         valid paragraph.
13260
13261         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13262
13263 2001-06-27  Juergen Vigna  <jug@sad.it>
13264
13265         * text.C (cursorLeftOneWord): changed to return the cursor and added
13266         overlay with BufferView * parameter which calls this one.
13267         (getWord): added
13268         (selectWord): use new getWord function.
13269         (changeCase): renamed from changeWordCase as and extended to work
13270         also on selections.
13271
13272         * lyxtext.h: added enum word_location
13273
13274         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13275         changeCase as this operates now also on selections.
13276
13277 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13278
13279         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13280
13281         * many files: send debug output to Debug::INFO instead of
13282         Debug::ANY.
13283
13284         * converter.C (View):
13285         (Convert):
13286         (Move): send debug output to Debug::FILES instead of console.
13287
13288 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13289
13290         * lyxfunc.C (getStatus): use func_status
13291
13292         * func_status.h: new header, describing the results of
13293         LyXFunc::getStatus;
13294
13295         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13296         LFUN_MATH_HALIGN.
13297
13298 2001-06-25  The LyX Project  <jug@sad.it>
13299
13300         * buffer.C (sgmlOpenTag):
13301         (sgmlCloseTag):
13302         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13303
13304 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * text2.C: remove some dead code
13307
13308         * tabular.C (GetCellInset): store the last cell checked (gotten)
13309
13310         * tabular.h: add the helper for the speedup
13311
13312         * lyxtext.h: remove some dead code
13313
13314 2001-06-26  The LyX Project  <Asger>
13315
13316         * paragraph.C: Change export to LaTeX of alignment to
13317         \begin{center} and family for better roundtrip work with reLyX.
13318
13319         * Tune the math drawing a bit.
13320
13321 2001-06-25  The LyX Project  <Asger>
13322
13323         * LColor.C (LColor): New color for math background. New color
13324         for buttons.
13325
13326 2001-06-25  The LyX Project  <jug@sad.it>
13327
13328         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13329
13330         * lyxfunc.C (Open):
13331         * bufferlist.C (newFile): do not restrict to files ending with
13332         .lyx
13333
13334         * BufferView_pimpl.C (MenuInsertLyXFile):
13335
13336 2001-06-24  The LyX Project  <jug@sad.it>
13337
13338         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13339         of compare_no_case
13340
13341 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13342
13343         * lyxtext.h: rename most methods to begin with a small char.
13344         Lots of changes because of this.
13345
13346         * paragraph.C (Paragraph): do not call fitToSize
13347         (erase): call Pimpl::erase
13348         (insertChar): call Pimpl::insertChar
13349         (insertInset): call Pipl::insertInset
13350         (breakParagraph): do not call fitToSize
13351         (breakParagraphConservative): do not call fitToSize
13352         (fitToSize): remove method
13353
13354         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13355
13356 2001-06-24  The LyX Project  <Asger>
13357
13358         * Fix Qt compilation^2
13359
13360 2001-06-24  The LyX Project  <jug@sad.it>
13361
13362         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13363         depthHook(getDepth()-1).
13364
13365         * paragraph.h:
13366         * ParagraphParameters.h:
13367         * ParameterStruct.h: change type of depth to unsigned int ==
13368         depth_type. Many adaptations to other files before of that.
13369
13370 2001-06-24  The LyX Project  <Asger>
13371
13372         * Fix Qt compilation.
13373
13374 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * paragraph.h: renamed several methods to begin with small letter.
13377         several changes to many parts of the code because of this.
13378
13379 2001-06-23  The LyX Project  <jug@sad.it>
13380
13381         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13382         rewritten to discard all double spaces when KeepEmpty is off
13383         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13384         to only handle newlines but not fiddle with spaces and friends.
13385
13386         * lyxfunc.C (MenuNew): when doing 'new from template', use
13387         template_path as default directory
13388
13389 2001-06-23  The LyX Project  <Asger>
13390
13391         * Clean-up of header file includes all over
13392         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13393
13394 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * paragraph.h: renamed from lyxparagraph.h
13397
13398 2001-06-23  Asger  <lyx@violet.home.sad.it>
13399
13400         * Buffer.h: Removed Buffer::resize
13401         * BufferList.h: Removed BufferList::resize
13402         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13403         the document lazily when we change the width, or the font settings.
13404
13405 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13406
13407         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13408
13409 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13410
13411         * buffer.h: remove out of date comment
13412
13413 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13414
13415         * lyxscreen.h:
13416         * screen.C: fix "theoretical" GC leak
13417
13418 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * LaTeX.C (scanAuxFile):
13421         (deplog): remove trailing \r when reading stream (useful under
13422         win32)
13423
13424 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13427         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13428         and BufferView::theLockingInset(Inset*), so should use them and not
13429         access bv_->text->the_locking_inset directly.
13430
13431         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13432
13433 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * Makefile.am:
13436         * tex-defs.h: remove old unused file
13437
13438 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * BufferView_pimpl.C: fix typo, remove minibuffer message
13441           when buffer has loaded
13442
13443 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * lyxfunc.C (Dispatch): use stringstream
13446         (MenuNew): use stringstream
13447         (Open): use stringstream
13448
13449         * importer.C (Import): use stringstream
13450
13451         * bufferview_funcs.C (CurrentState): use stringstream
13452
13453         * LaTeX.C (run): use stringstream
13454
13455         * BufferView_pimpl.C (savePosition): use stringstream
13456         (restorePosition): use stringstream
13457         (MenuInsertLyXFile): use stringstream
13458
13459 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * BufferView.C:
13462         * Bullet.C:
13463         * ColorHandler.C:
13464         * FontInfo.C:
13465         * FontLoader.C:
13466         * LColor.C:
13467         * LaTeXFeatures.C:
13468         * Painter.C:
13469         * gettext.C:
13470         * lyx_gui_misc.C:
13471         * lyxserver.C:
13472         * vspace.C: removed // -*- C++ -*- as first line.
13473
13474         * lyxfind.h:
13475         * version.h: added // -*- C++ -*- as first line.
13476
13477 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13478
13479         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13480
13481         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13482         of string
13483
13484 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13487         of floats.
13488
13489 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13490
13491         * gettext.C: include LString.h even when --disable-nls is on.
13492
13493 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13494
13495         * converter.h (Get): changed argument type from int to
13496         FormatList::size_type to avoid unnecessary conversion.
13497
13498         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13499         before using it.
13500
13501 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13502
13503         * gettext.h: include LString.h even when --disable-nls is on.
13504
13505 2001-06-07  Juergen Vigna  <jug@sad.it>
13506
13507         * text.C (BreakAgain): subst spaces with tabs.
13508
13509         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13510         (resizeInsetsLyXText): set force on resizeLyXText.
13511
13512 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13513
13514         * gettext.h (gettext_init):
13515         (locale_init): use a real definition instead of a macro
13516
13517 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * Bufferview_pimpl.C:
13520         * LColor.h:
13521         * LColor.C: further lcolor tidies
13522
13523 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * BufferView_pimpl.C (updateScrollbar): simplify.
13526
13527         * BufferView2.C: don't include insets/insetinfo.h, change
13528         prototype for insertInset and call the Pimpl version. let
13529         updateInset call Pimpl version.
13530
13531         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13532         gotoInset to BufferView::Pimpl
13533
13534 2001-06-01  Juergen Vigna  <jug@sad.it>
13535
13536         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13537         inside a LockingInset (is the update needed at all?).
13538
13539 2001-05-31  Juergen Vigna  <jug@sad.it>
13540
13541         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13542         here not the old one otherwise how should we compare it afterwards
13543         if it's the same!
13544
13545 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13546
13547         * lyxfont.C:
13548         * tabular.C:
13549         * tabular-old.C:
13550         * FontInfo.C: bring C functions into global namespace when
13551         necessary
13552
13553 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13554
13555         * LString.h: make sure config.h has been loaded before LString.h.
13556
13557         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13558         (one for each char read by EatLine!).
13559
13560         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13561         variables.
13562
13563 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13566         to the same as the par we break from
13567
13568 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13571
13572         * MenuBackend.C (expand): also create menu entries for wide
13573         versions of the floats.
13574
13575         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13576
13577         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13578
13579         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13580         frontends/Makefile.am
13581
13582         * text2.C: adjust
13583         * text.C: adjust
13584
13585
13586         * tabular.C (getTokenValue): add std::
13587
13588         * tabular-old.C (getTokenValue): add std::
13589         (getTokenValue): ditto
13590         (getTokenValue): ditto
13591
13592         * screen.C (ToggleSelection): adjust
13593
13594         * lyxtext.h: put selection cursors inside a Selection struct.
13595
13596         * lyxfunc.C (moveCursorUpdate): adjust
13597
13598         * lyxfont.C (latexWriteStartChanges): add std::
13599
13600         * lyxfind.C: adjust
13601
13602         * font.h: delete with(char const *, LyXFont const &)
13603
13604         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13605
13606         * FontInfo.C (getFontname): add std::
13607
13608         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13609         (workAreaButtonPress): adjust
13610         (tripleClick): adjust
13611         (update): adjust
13612         (moveCursorUpdate): adjust
13613         (Dispatch): adjust
13614
13615         * BufferView2.C (gotoInset): adjust
13616
13617 2001-05-30  Juergen Vigna  <jug@sad.it>
13618
13619         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13620         to check pspell I add this as default as I now have new pspell
13621         libraries and they seem to use this.
13622
13623 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * text2.C (CutSelection): make the cursor valid before the call to
13626         ClearSelection.
13627
13628 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13631         relied on 0 terminated strings and other horrors. Bug found due to
13632         the new assert in lyxstring!
13633
13634         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13635         KP_ keys.
13636
13637 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13640         to latinkeys.bind.
13641
13642         * lyxfunc.C (processKeySym): change method of getting to the
13643         self-insert char.
13644
13645         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13646         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13647         * BufferView_pimpl.[Ch]: here as private methods.
13648
13649 2001-05-28  Juergen Vigna  <jug@sad.it>
13650
13651         * text.C (SetHeightOfRow): added the update() call again as it is
13652         needed to initialize inset dimensions!
13653
13654 2001-05-16  Juergen Vigna  <jug@sad.it>
13655
13656         * text2.C (SetCharFont): Add new function with BufferView * and
13657         bool toggleall parameters for setting insets internal fonts.
13658         (SetFont): Freeze the undo as we may change fonts in Insets and
13659         all this change should be inside only one Undo!
13660
13661         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13662         setting font's in insets as for them we have the SetFont function!
13663
13664 2001-05-15  Juergen Vigna  <jug@sad.it>
13665
13666         * text2.C (ClearSelection): to be sure we REALLY don't have any
13667         selection anymore!
13668
13669         * tabular.C (TeXCellPreamble): fixed the left border problem for
13670         multicolumn cells.
13671
13672 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13673
13674         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13675         dependancy file
13676
13677 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13680         LFUN_BREAKPARAGRAPH.
13681
13682         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13683         help test to "internal only", similar for LFUN_INSERT_URL
13684
13685         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13686         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13687         auto_region_delete and deadkeys.
13688
13689 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * LColor.h:
13692         * LColor.C: remove some dead entries, tidy a little
13693
13694 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13695
13696         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13697         commented code.
13698         (Dispatch): implement LFUN_ESCAPE
13699
13700         * commandtags.h: add LFUN_ESCAPE
13701
13702         * LyXAction.C (init): add entry for LFUN_ESCAPE
13703
13704         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13705         Remove commented code.
13706         (insertNote): moved here
13707         (open_new_inset): moved here
13708
13709         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13710         BufferView_pimpl
13711
13712 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * kbmap.C (findbinding): clean it up and make it work correctly.
13715
13716         * lyx_main.C (init): do not pass argc and argv as parameters
13717
13718 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13719
13720         * buffer.C: fix path for OS/2 & Win32
13721
13722         * lyx_gui.C:
13723         * lyx_main:
13724         * lyx_main.C: Added os:: class.
13725
13726         * os2_defines.h: update
13727
13728 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13731         better by trying again with reduced state.
13732
13733 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13734
13735         * lyxrc.C (read): print error about invalid key sequence only when
13736         debugging (because not all latinX keysyms are known to some X
13737         servers)
13738
13739         * kbsequence.C (getiso): add a few std:: qualifiers
13740         (getiso): comment out extra return statement.
13741
13742 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13745         handling.
13746         (Dispatch): enhance the accent inset a bit. (not perfect)
13747
13748 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13751
13752 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13753
13754         * bufferlist.C (emergencyWrite): fix assert() call
13755
13756 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13757
13758         * text.C (InsertChar): Added trivial patch to only send the "you
13759         can not do multiple spaces this way" message once during a
13760         session.
13761
13762 2001-05-08  Baruch Even  <baruch@lyx.org>
13763
13764         * Makefile.am: Changed order of libraries to get LyX to link properly
13765         with the gnome frontend.
13766
13767 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * LaTeXFeatures.h: add a std:: qualifier
13770
13771 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13772
13773         * paragraph.C (String): use stringstream
13774
13775 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13776
13777         * paragraph.C (writeFile): remove footflag arg
13778
13779         * buffer.C (makeLaTeXFile): use stringstream
13780         (latexParagraphs): remove footnot gurba
13781
13782         * LaTeXFeatures.C (getPackages): use stringstream
13783         (getMacros): likewise
13784         (getTClassPreamble): likewise
13785         (getFloatDefinitions): new method
13786
13787         * paragraph.C (writeFile): reindent
13788         (Erase): reindent
13789
13790         * WorkArea.h: revert the xpos + etc changes.
13791
13792         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13793
13794         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13795
13796         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13797         (pasteSelection): likewise
13798         * text2.C (CreateUndo): likewise
13799
13800 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * minibuffer.C (peek_event): temporarily reduce the functionality
13803         of the minibuffer (to allow args on lfuns)
13804
13805         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13806         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13807
13808         * buffer.C (readInset): add compability reading of old float
13809         lists, add reading of new style float list.
13810         (readInset): avoid reevaluation of inscmd.getCmdName()
13811         (getLists): reindent
13812
13813         * MenuBackend.C (MenuItem): implement parsing of
13814         md_floatlistinsert and md_floatinsert.
13815         (expand::LastFiles): move initalizaton of iterators out of loop,
13816         avoid reevaluation.
13817         (expand::Documents): introduce typdedef vector<string> Strings,
13818         and use it.
13819         (expand::ExportFormats): introduce typedef vector<Format const *>
13820         Formats, and use it.
13821         (expand): implement FloatListInsert and FloatInsert.
13822
13823         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13824         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13825         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13826
13827         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13828         handling.
13829         (Dispatch::LFUN_FLOAT_LIST): implement
13830
13831 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13832
13833         * LaTeX.C (run): Fix problem with --export code.
13834
13835 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13836
13837         * BufferView.[Ch] (workarea): removed.
13838         (getClipboard) new method; wrapper for workarea()->getClipboard()
13839
13840         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13841         bug.
13842
13843         * WorkArea.h (width, height, xpos, ypos): These methods all
13844         returned the dimensions of the work_area sub-area of WorkArea,
13845         resulting in a position error if the WorkArea were resized. Now
13846         return the dimensions of the entire WorkArea.
13847
13848         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13849
13850 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13851
13852         * LaTeX.C (deplog): correct the syntax of regex reg1
13853
13854 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * undo.C: remove !NEW_INSETS cruft
13857
13858 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13859
13860         * text2.C: remove !NEW_INSETS cruft
13861
13862         * text.C: remove !NEW_INSETS cruft
13863
13864         * tabular.C: remove !NEW_INSETS cruft
13865
13866         * spellchecker.C: remove !NEW_INSETS cruft
13867
13868         * lyxtext.h: remove !NEW_INSETS cruft
13869
13870         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13871
13872         * lyxfunc.C: remove !NEW_INSETS cruft
13873
13874         * lyxfind.C: remove !NEW_INSETS cruft
13875
13876         * lyx_cb.C: remove !NEW_INSETS cruft
13877
13878         * figureForm.C: remove  !NEW_INSETS cruft
13879
13880         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13881
13882         * buffer.[Ch]: remove !NEW_INSETS cruft
13883
13884         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13885
13886         * CutAndPaste.C: remove !NEW_INSETS cruft
13887
13888         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13889
13890         * BufferView2.C: remove !NEW_INSETS cruft
13891
13892         * BufferView.h: remove !NEW_INSETS cruft
13893
13894 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13895
13896         * Lsstream.h: include LString.h before the sstream headers to
13897         fix problem with gcc 2.95.3 and lyxstring
13898
13899 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13900
13901         * lyx_main.C: add using directives when needed for C functions
13902         declared in std:: namespace.
13903
13904 2001-04-27  Juergen Vigna  <jug@sad.it>
13905
13906         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13907         (SetHeightOfRow): comment out the update call should not be needed!
13908
13909 2001-04-13  Juergen Vigna  <jug@sad.it>
13910
13911         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13912         (LyXTabular): tried to minimize operator= operations (and realized
13913         hopfully Lars wish).
13914
13915 2001-04-27  Juergen Vigna  <jug@sad.it>
13916
13917         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13918
13919 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13922
13923         * buffer.C (readInset): hack to make listof algorithm work
13924
13925         * BufferView_pimpl.C: hack to make listof algorithm work
13926
13927 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * LyXAction.C: removed all !NEW_INSETS cruft
13930         (init): moved lfun_item in method
13931
13932         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13933
13934 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13935
13936         * BufferView2.C (theLockingInset): white space.
13937
13938 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * minibuffer.C: include <iostream>
13941
13942         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13943
13944         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13945
13946         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13947
13948         * text.[Ch] (TransposeChars): new method
13949
13950 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13951
13952         * call message directly through LyXView instead of through LyXFunc
13953         * BufferView2.C: adjust
13954         * BufferView_pimpl.C: adjust
13955         * FontLoader.C: adjust
13956         * buffer.C: adjust
13957         * bufferview_funcs.C: adjust
13958         * converter.C: adjust
13959         * figureForm.C: adjust
13960         * importer.C: adjust
13961         * lyx_cb.C: adjust
13962         * lyx_gui_misc.C: adjust
13963         * lyxfunc.C: adjust
13964         * lyxvc.C: adjust
13965         * text2.C: adjust
13966         + more files in subdirs
13967
13968         * lyxparagraph.h (size): move up int file
13969         (GetLayout): ditto
13970
13971         * adjust all uses of Assert to lyx::Assert.
13972
13973         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13974         lyxfunctional in namespace lyx
13975         * layout.C (hasLayout): ditto
13976         (GetLayout): ditto
13977         (GetLayout): ditto
13978         (delete_layout): ditto
13979         (NumberOfClass): ditto
13980         * converter.C (GetFormat): ditto
13981         (GetNumber): ditto
13982         (Add): ditto
13983         (Delete): ditto
13984         (SetViewer): ditto
13985         * bufferlist.C (getFileNames): ditto
13986         (emergencyWriteAll): ditto
13987         (exists): ditto
13988         (getBuffer): ditto
13989         * MenuBackend.C (hasSubmenu): ditto
13990         (hasMenu): ditto
13991         (getMenu): ditto
13992         * BufferView_pimpl.C (getInsetByCode): ditto
13993
13994 2001-04-18  Juergen Vigna  <jug@sad.it>
13995
13996         * vspace.C (asLatexString): fixed the 100% problem.
13997
13998 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13999
14000         * lyxfunc.C (Dispatch):
14001         * minibuffer.C:
14002         * minibuffer.h: add a few std:: qualifiers
14003
14004 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * minibuffer.[Ch]: reimplement so that commands is initiated and
14007         run from lyxfunc, simplified som handling, and made the completion
14008         and history code for complete. wip.
14009
14010         * lyxfunc.C (processKeySym): call message
14011         (miniDispatch): new temporary method
14012         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14013         (LFUN_MESSAGE): implement
14014         (LFUN_MESSAGE_PUSH): implement
14015         (LFUN_MESSAGE_POP): implement
14016         (initMiniBuffer): the initial/defualt minibuffer message.
14017
14018         * lyxfont.[Ch]: inline some more getters
14019
14020         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14021
14022         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14023
14024         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14025         (AutoSave): use LFUN_MESSAGE
14026         (Reconfigure): ditto
14027
14028         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14029
14030         * figureForm.C: use LFUN_MESSAGE
14031
14032         * converter.C (runLaTeX): use LFUN_MESSAGE
14033
14034         * bufferview_funcs.C: use LFUN_MESSAGE
14035         (Melt): ditto
14036         (changeDepth): ditto
14037
14038         * bufferparams.h: use boost::
14039
14040         * bufferlist.h: inherit privately from noncopyable
14041
14042         * bufferlist.C (loadLyXFile): remove some commented code.
14043
14044         * buffer.C (runChktex): use LFUN_MESSAGE
14045
14046         * ShareContainer.h: inherit privately from noncopyable
14047
14048         * ParagraphParameters.[hC] (depth): inline it.
14049
14050         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14051         methods.
14052         (message): new method
14053         (messagePush): ditto
14054         (messagePop): ditto
14055         (show): init minibuffer
14056         (showState): direct call
14057
14058         * LaTeX.[Ch]: inherit privately from noncopyable
14059         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14060         instead of WriteStatus.
14061
14062         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14063
14064         * BufferView_pimpl.C (buffer): don't init minibuffer
14065         (workAreaButtonPress): use LFUN_MESSAGE
14066         (workAreaButtonRelease): ditto
14067         (savePosition): ditto
14068         (restorePosition): ditto
14069         (MenuInsertLyXFile): ditto
14070         (workAreaExpose): don't init minibuffer
14071         (update): remove commented code, simplify
14072
14073         * BufferView2.C (openStuff): use LFUN_MESSAGE
14074         (toggleFloat): ditto
14075         (menuUndo): ditto
14076         (menuRedo): ditto
14077         (copyEnvironment): ditto
14078         (pasteEnvironment): ditto
14079         (copy): ditto
14080         (cut): ditto
14081         (paste): ditto
14082         (gotoInset): ditto
14083         (updateInset): remove some commented code
14084
14085         * lastfiles.h: inherit privately from noncopyable
14086         * layout.h: ditto
14087         * lyx_gui.h: ditto
14088         * lyx_main.h: ditto
14089         * lyxlex.h: ditto
14090         * lyxlex_pimpl.h: ditto
14091
14092         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14093         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14094         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14095
14096         * LyXAction.h: inherit privately from noncopyable, add methods
14097         func_begin, func_end, returning iterators to the func map.
14098
14099         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14100         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14101         (func_begin): new method
14102         (func_end): new method
14103
14104         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14105         and not)
14106         (copySelection): ditto
14107         (pasteSelection): ditto
14108
14109         * BufferView.C: whitespace change
14110         * BufferView.h: inherit privately from noncopyable
14111
14112 2001-04-16  Allan Rae  <rae@lyx.org>
14113
14114         * tabular-old.C (l_getline):
14115         * spellchecker.C (sc_check_word):
14116         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14117         an unrecognised preprocessor directive.  So ensure they're wrapped.
14118
14119 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14120
14121         * src/exporter.C (Export): Give an error message when path to file
14122         contains spaces.
14123
14124 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14125
14126         * LaTeX.C (deplog): Always check that foundfile exists.
14127
14128 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14129
14130         * lyx_main.h:
14131         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14132
14133 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14134
14135         * tabular.[Ch] (getLabelList): implement new method
14136
14137         * minibuffer.h: comment ouf setTiimer
14138
14139         * minibuffer.C (ExecutingCB): constify res
14140         (peek_event): constify s
14141         (Set): constify ntext
14142         (Init): constify nicename
14143
14144         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14145
14146         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14147         (savePosition): use two params to Minibuffer::Set
14148         (restorePosition): ditto
14149
14150 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14151
14152         * lyx_main.C: include language.h
14153
14154         * Makefile.am (lyx_main.o): add language.h
14155
14156 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14157
14158         * exporter.C:
14159         * paragraph.C:
14160         * screen.C:
14161         * tabular.C:
14162         * CutAndPaste.C: include gettext.h
14163
14164         * lyxfont.h: remove old hack with ON and OFF.
14165
14166         * lyxparagraph.h:
14167         * lyxfont.h: do not include language.h...
14168
14169         * BufferView2.C:
14170         * LaTeXFeatures.C:
14171         * Painter.C:
14172         * bufferview_funcs.C:
14173         * font.C:
14174         * lyxfont.C:
14175         * text.C:
14176         * text2.C:
14177         * trans_mgr.C:
14178         * paragraph.C: ... but do it here instead
14179
14180 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14183
14184         * tabular.C: small reformat
14185
14186         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14187         NEW_INSETS version
14188         (GetChar): ditto
14189         (BreakParagraph): ditto
14190         (SetOnlyLayout): ditto
14191         (SetLayout): ditto
14192
14193         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14194         with one arg less.
14195
14196         * lastfiles.C: removed most using decl, add std:: where needed
14197
14198         * buffer.C: ws changes
14199
14200         * MenuBackend.C (class compare_format): put into anon namespace
14201         (expand): constify label, names, action, action2
14202         (expand):
14203
14204         * text.C (SingleWidth): constify font
14205         (IsBoundary): constify rtl2
14206         (GetVisibleRow): constify ww
14207
14208         * LaTeX.C (deplog): constify logfile
14209
14210         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14211         start_x, end_x
14212         (workAreaExpose): constify widthChange, heightChange
14213
14214         * lyxrow.C (par): moved
14215         (height): moved
14216         (next): moved
14217         * lyxrow.h: as inlines here
14218
14219         * lyxfont.h (shape): moved from lyxfont.C
14220         (emph): moved from lyxfont.C
14221
14222         * lyxfont.C (LyXFont): use initialization list for all
14223         constructors
14224         (shape): move to lyxfont.h as inline
14225         (emph): move to lyxfont.h as inline
14226
14227
14228 2001-04-04  Juergen Vigna  <jug@sad.it>
14229
14230         * vspace.C: had to include stdio.h for use of sscanf
14231
14232 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14233
14234         * BufferView.h:
14235         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14236         independent of xforms.
14237
14238 2001-04-02  Juergen Vigna  <jug@sad.it>
14239
14240         * spellchecker.C: fixed namespace placing!
14241
14242 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14243
14244         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14245         the LyXParagraph * is 0.
14246
14247 2001-03-29  Juergen Vigna  <jug@sad.it>
14248
14249         * vspace.C: added support for %, c%, p%, l%.
14250         (stringFromUnit): added helper function.
14251         (asLatexString): changed to give right results for the %-values.
14252
14253         * buffer.C: convert the widthp in a width%.
14254
14255 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14256
14257         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14258         figureForm.[Ch].
14259
14260         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14261         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14262
14263         * lyx_cb.[Ch]: see above.
14264
14265         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14266         form1.[Ch].
14267
14268         * form1.[Ch]:
14269         * lyx.[Ch]: replaced by figure_form.[Ch].
14270
14271         * lyx_gui.C:
14272         * lyx_gui_misc.C:
14273         * lyxfunc.C: changed headers associated with above changes.
14274
14275 2001-03-27  Juergen Vigna  <jug@sad.it>
14276
14277         * BufferView_pimpl.C: set the temporary cursor right!
14278
14279 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14280
14281         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14282
14283 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14284
14285         * LString.h: removed "using std::getline"!
14286
14287         * BufferView_pimpl.C (Dispatch): changes due to changes in
14288         InsetInclude::Params.
14289
14290         * buffer.C (tag_name): removed redundant break statements as they were
14291         producing lots of warnings with my compiler.
14292
14293 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14294
14295         * LString.h: add "using std::getline" when using the real <string>.
14296
14297 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14298
14299         * buffer.C: removed bitset usage.
14300         PAR_TAG moved to an anonymous name space.
14301         (tag_name): new funtion, also in the anonymous namespace.
14302         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14303         (makeDocBookFile): clean code. Completed transition from string arrays
14304         to string vectors.
14305         (SimpleDocBookOnePar): code clean.
14306
14307 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14308
14309         * tabular.C: add some comments.
14310
14311 2001-03-22  Juergen Vigna  <jug@sad.it>
14312
14313         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14314         compatibility read a bit and fixed bug with minipage in different
14315         depth.
14316
14317 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14318
14319         * buffer.C (pop_tag): removed.
14320         (push_tag): removed.
14321         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14322         array replaced with vector. Added support for CDATA sections.
14323         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14324         at any nest level.
14325         (makeDocBookFile): XML conformant declaration of CDATA section,
14326         fixed bug related to <emphasis> in the first paragraph char.
14327         (sgmlOpenTag): exclude empty tags.
14328         (sgmlCloseTag): ditto.
14329
14330         * buffer.h (pop_tag): removed.
14331         (push_tag): removed.
14332
14333 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * language.h (Languages): added size_type and size().
14336
14337 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14338
14339         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14340         response on compability reading of minipages. One probliem is that
14341         the old usage of minipages was «flertydig»
14342
14343         * several files here and in subdirs: don't use static at file
14344         scope use anon namespaces instead.
14345
14346 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14347
14348         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14349         LaTeX output. This is necessary for Literate document
14350         processing.
14351
14352 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14353
14354         * buffer.C: insert hfill when needed.
14355
14356         * tabular.C (l_getline): use string::erase, small whitespace change.
14357
14358         * BufferView_pimpl.C: try the anon namespace.
14359         * WorkArea.C: ditto
14360
14361 2001-03-16  Juergen Vigna  <jug@sad.it>
14362
14363         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14364         otherwise it won't open options-dialogs.
14365
14366         * buffer.C: honor pextraWidth(p) on converting minipages.
14367
14368         * tabular.C (l_getline): changed the functions to strip trailing \r.
14369
14370 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * BufferView_pimpl.C:
14373         * minibuffer..C: added "using SigC::slot" declaration.
14374
14375 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14376
14377         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14378
14379         * text2.C: ditto
14380
14381         * text.C: ditto
14382
14383         * paragraph.C: ditto
14384
14385         * lyxtext.h: NO_PEXTRA
14386
14387         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14388
14389         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14390         * ParameterStruct.h: ditto
14391         * ParagraphParameters.h: ditto
14392         * lyxparagraph.h: ditto
14393
14394 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14395
14396         * buffer.C: add compability for minipage alignment.
14397         (latexParagraphs): remove unwanted pextra check.
14398
14399         * several files: remove CXX_WORKING_NAMESPACES
14400
14401         * buffer.C (pop_tag): tie is in namespace boost
14402
14403         * BufferView.h: noncopyable is in namespace boost
14404         * lyxlex.h: ditto
14405         * lyx_main.h: ditto
14406         * lyx_gui.h: ditto
14407         * layout.h: ditto
14408         * lastfiles.h: ditto
14409         * bufferlist.h: ditto
14410         * ShareContainer.h: ditto
14411         * LyXView.h: ditto
14412         * LyXAction.h: ditto
14413         * LaTeX.h: ditto
14414
14415 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14416
14417         * Merging changes from BRANCH_MVC back into HEAD.
14418
14419         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14420
14421 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * BufferView_pimpl.C: change from intl.C
14424
14425         * combox.h:
14426         * combox.C:
14427         * Makefile.am: move combox.*
14428
14429         * form1.h:
14430         * form1.C:
14431         * lyx_gui.C:
14432         * intl.h:
14433         * intl.C: remove dialog (covered by prefs)
14434
14435 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14436
14437         * lyxfunc.C (Dispatch): removed redundant break statement.
14438
14439 2001-03-14  Juergen Vigna  <jug@sad.it>
14440
14441         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14442
14443 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14444
14445         * buffer.C: add hack to fix compability reading of minipages.
14446
14447 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14448
14449         * buffer.C (getLists): Cleanup.
14450
14451 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14452
14453         * lyxfont.C (update): don't honor toggleall on font size.
14454
14455 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14456
14457         * bmtable.c:
14458         * bmtable.h:
14459         * Makefile.am: moved to frontends/xforms/
14460
14461         * lyx_gui_misc.C:
14462         * lyxfunc.C:
14463         * BufferView_pimpl.C: changes for moved mathpanel
14464
14465 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * gettext.h: fix gettext_init() in --disable-nls
14468
14469 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14472
14473 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14474
14475         * lyx.C:
14476         * lyx.h: strip external form
14477
14478 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14479
14480         * BufferView_pimpl.C: add comment, destroySplash()
14481
14482 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * BufferView_pimpl.C:
14485         * LyXAction.C:
14486         * buffer.C:
14487         * commandtags.h:
14488         * lyxfunc.C: use re-worked insetinclude
14489
14490 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14491
14492         * buffer.C: add using std::stringstream.
14493
14494         * lyx_cb.C: readd using std::ios.
14495
14496         * buffer.C: add using std::map.
14497
14498         * BufferView_pimpl.C: add using std::vector.
14499
14500         * ShareContainer.h: add std:: to swap.
14501
14502         * buffer.h: add some typedefs
14503         * buffer.C (getLists): use them
14504         (getLists): renamed from getTocList.
14505         add a counter for the different float types and use it in the
14506         generated string.
14507         (getLists): use the same counter for the NEW_INSETS and the "non"
14508         NEW_INSETS
14509
14510         * lyx_cb.h: remove unused items, includes, using etc.
14511
14512         * ShareContainer.h: remove some commented code, add more comments
14513         and "documentation".
14514
14515 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14516
14517         * buffer.C (getTocList): make the list also when NEW_INSETS is
14518         defined.
14519
14520         * buffer.h: remove TocType
14521
14522         * buffer.C (getTocList): change to return a map<string,
14523         vector<TocItem> >, implement for dynamic number of list.
14524
14525         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14526         * text2.C (PasteSelection): adjust
14527         * CutAndPaste.C (pasteSelection): adjust
14528
14529         * FloatList.C (FloatList): update from the new_insets branch.
14530         * Floating.[Ch]: ditto
14531         * LaTeXFeatures.C: ditto
14532         * buffer.C: ditto
14533         * lyxlex_pimpl.C: ditto
14534
14535         * paragraph.C (Last): remove when NEW_INSETS is defined.
14536
14537         * other file: changes because of the above.
14538
14539 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14540
14541         * lyxparagraph.h: rename next to next_, previous to previous_,
14542         make them private for NEW_INSETS. Rename Next() to next(),
14543         Previous() to previous().
14544
14545         * other files: changes because of the above.
14546
14547 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14548
14549         * BufferView.h:
14550         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14551         problem.
14552
14553 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14554
14555         * main.C (main): pass lyx_localedir to gettext_init().
14556
14557         * gettext.h: remove locale_init and gettext_init macros
14558
14559         * gettext.C (locale_init): new function
14560         (gettext_init): new function
14561
14562         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14563         setlocale().
14564
14565 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14566
14567         * Moved credits to frontends:
14568         * credits.[Ch]: removed
14569         * credits_form.[Ch]: removed
14570         * lyx_gui_misc.C: remove credits stuff
14571         * Makefile.am:
14572
14573 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14574
14575         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14576
14577         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14578         unneeded destructor.
14579
14580         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14581         a standalone pointer again.
14582
14583         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14584
14585 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * Makefile.am:
14588         * filedlg.h:
14589         * filedlg.C:
14590         * LyXAction.C:
14591         * ToolbarDefaults.C:
14592         * bufferlist.C:
14593         * commandtags.h:
14594         * form1.C:
14595         * form1.h:
14596         * lyx_cb.C:
14597         * lyx_cb.h:
14598         * lyxfunc.h:
14599         * lyxfunc.C:
14600         * BufferView_pimpl.C: use new file dialog in GUII
14601
14602         * lyx_cb.h:
14603         * lyx_cb.C: remove LayoutsCB to Toolbar
14604
14605 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14606
14607         * ShareContainer.h (get): add std:: qualifier
14608
14609 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14610
14611         * ShareContainer.h: define a proper ShareContainer::value_type
14612         type (and use typename to please compaq cxx)
14613
14614 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14615
14616         * lyxparagraph.h: move serveral local vars to
14617         ParameterStruct/ParagraphParameters., use ShareContainer in
14618         FontTable., make vars in FontTable private and add getter and
14619         setter.
14620
14621         * paragraph.C: changes because of the above.
14622
14623         * lyxfont.h: remove copy constructor and copy assignment. (the
14624         default ones is ok), move number inside FontBits. move inlines to
14625         lyxfont.C
14626
14627         * lyxfont.C: add number to initializaton of statics, move several
14628         inlines here. constify several local vars. some whitespace
14629         cleanup. Dont hide outerscope variables.
14630
14631         * Spacing.h: add two new constructors to match the set methods.
14632
14633         * ShareContainer.h: new file, will perhaps be moved to support
14634
14635         * ParameterStruct.h: new file
14636
14637         * ParagraphParameters.h: new file
14638
14639         * ParagraphParameters.C: new file
14640
14641         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14642         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14643
14644         * BufferView_pimpl.C: ParagraphParameter changes.
14645         * buffer.C: Likewise.
14646         * bufferview_funcs.C: Likewise.
14647         * text.C: Likewise.
14648         * text2.C: Likewise.
14649
14650 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * lyxfind.C (LyXReplace): do not redefine default argument in
14653         implementation.
14654         (IsStringInText): ditto
14655         (SearchForward): ditto
14656         (SearchBackward): ditto
14657
14658 2001-03-06  Juergen Vigna  <jug@sad.it>
14659
14660         * lyxfind.C (IsStringInText): put parentes around expressions.
14661
14662 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14663
14664         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14665
14666 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14669
14670         * stl_string_fwd.h: add comment
14671
14672         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14673
14674         * tabular.h:
14675         * tabular.C: remove unused DocBook methods
14676
14677         * intl.C:
14678         * language.C:
14679         * paragraph.C:
14680         * buffer.C:
14681         killed DO_USE_DEFAULT_LANGUAGE
14682
14683 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14684
14685         * lyx_gui.C: do not include language.h.
14686
14687         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14688         arguments in function implementation.
14689
14690 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14691
14692         * BufferView_pimpl.C: add <ctime>
14693
14694 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14695
14696         * BufferView_pimpl.C: add using std::find_if
14697
14698 2001-02-27  José Matos  <jamatos@fep.up.pt>
14699
14700         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14701         by OnlyPath.
14702
14703 2001-02-11  José Matos  <jamatos@fep.up.pt>
14704
14705         * buffer.C (makeDocBookFile): command styles now have a parameter as
14706         "title" by default.
14707
14708 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14709
14710         * layout_forms.[Ch]: removed
14711         * lyx_cb.[Ch]: out character
14712         * lyx_gui.C: out character
14713         * lyx_gui_misc.C: out character
14714         * bufferview_funcs.C: : out character,
14715         added toggleall as parameter in ToggleAndShow
14716
14717 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14720
14721         * text2.C (SetCurrentFont): Disable number property at boundary.
14722
14723 2001-02-26  Juergen Vigna  <jug@sad.it>
14724
14725         * lyxfunc.C (getStatus): added a string argument override function so
14726         that this is correctly called from LyXFunc::Dispatch if it contains a
14727         do_not_use_argument which is used!
14728         (Dispatch): added check for "custom" export and call appropriate func.
14729
14730 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14731
14732         * lyxrc.C: Add language_command_local, language_use_babel and
14733         language_global_options.
14734
14735         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14736
14737         * buffer.C (makeLaTeXFile): Use language_use_babel and
14738         language_global_options.
14739
14740 2001-02-23  Juergen Vigna  <jug@sad.it>
14741
14742         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14743         which works with LyXText and putted it inside BufferView. Here now we
14744         only call for that part the BufferView::Dispatch() function.
14745
14746         * BufferView.C (Dispatch): added.
14747
14748         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14749         functions which needs to use a LyXText over from LyXFunc.
14750         (MenuInsertLyXFile): added
14751         (getInsetByCode): added
14752         (moveCursorUpdate): added
14753         (static TEXT): added
14754
14755 2001-02-22  Juergen Vigna  <jug@sad.it>
14756
14757         * BufferView_pimpl.C (update): call a status update to see if LyXText
14758         needs it.
14759
14760 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14761
14762         * vc-backend.C (revert): implement for CVS
14763         (getLog): implement for CVS
14764
14765 2001-02-20  Juergen Vigna  <jug@sad.it>
14766
14767         * text2.C (ClearSelection): added BufferView param for inset_owner call
14768
14769         * lyxfunc.C (TEXT): added this function and use it instead of
14770         directly owner->view()-text of getLyXText().
14771
14772 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14773
14774         * src/layout_forms.C: out preamble
14775         * src/layout_forms.h: out preamble
14776         * src/lyx_cb.C: out preamble
14777         * src/lyx_cb.h: out preamble
14778         * src/lyx_gui.C: out preamble
14779         * src/lyx_gui_misc.C: out preamble
14780         * src/lyxfunc.C: connect with guii preamble
14781
14782 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14783
14784         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14785
14786 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14787
14788         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14789         whether to run bibtex.
14790
14791 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14792
14793         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14794
14795 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14796
14797         * Makefile.am (lyx_SOURCES): removed bibforms.h
14798
14799         * vspace.h: doxygen
14800
14801         * text.C (GetVisibleRow): make several local vars const
14802
14803         * tabular.C: small cleanup.
14804
14805         * lyxserver.C (callback): use compare instead of strncmp
14806
14807         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14808         inlines to after class or to paragraph.C
14809
14810         * lyxfont.h: remove friend operator!=
14811
14812         * converter.h: move friend bool operator< to non friend and after
14813         class def.
14814
14815         * combox.h: small cleanup
14816
14817         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14818         to inlines after class def.
14819
14820         * buffer.C (pop_tag): use string operations instead of strcmp
14821
14822         * bmtable.c: doxygen, small cleanup
14823
14824         * LaTeX.h: remove friend operator==
14825
14826 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14827
14828         * screen.C:
14829         * lyxrc.[Ch]:
14830         * lyxfunc.C:
14831         * lyxfont.[Ch]:
14832         * lyx_cb.C:
14833         * intl.[Ch]:
14834         * commandtags.h:
14835         * buffer.C:
14836         * WorkArea.[Ch]:
14837         * LyXAction.C:
14838         * BufferView_pimpl.C:
14839         * BufferView.[Ch]: remove cruft
14840
14841 2001-02-14  Juergen Vigna  <jug@sad.it>
14842
14843         * lyxfunc.C: removed #if 0 unused code
14844
14845         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14846
14847         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14848
14849         * text2.C (SetSelection): added a BufferView * parameter
14850
14851 2001-02-13  Juergen Vigna  <jug@sad.it>
14852
14853         * lyxfunc.C (Dispatch): fixed protected blank problem.
14854         * BufferView2.C (protectedBlank): added LyxText * parameter.
14855
14856         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14857         (AppendColumn): same as above for column_info.
14858
14859         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14860         (moveCursorUpdate): use a LyXText param for support of InsetText.
14861
14862         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14863         (tripleClick): ditto
14864
14865         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14866
14867         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14868
14869         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14870
14871         * text2.C (SetSelection): set correct update status if inset_owner
14872         (ToggleFree): ditto
14873
14874 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14875
14876         * tabular.C: remove some commented code.
14877
14878 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14879
14880         * BufferView_pimpl.C: call hideSplash()
14881
14882         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14883
14884         * include_form.h:
14885         * bibforms.h: remove
14886
14887         * lyxfunc.C:
14888         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14889           add LFUN_CHILD_CREATE
14890
14891         * counters.h: fix tiny typo
14892
14893         * lyx_cb.C:
14894         * lyx.h:
14895         * lyx_gui.C:
14896         * lyx.C: move splash to frontends/xforms/
14897
14898         * lyx_gui_misc.C: move Include and Bibform to frontends
14899
14900         * lyxvc.h: clarify comment
14901
14902         * vspace.C: tiny housekeeping
14903
14904 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14905
14906         * text.C (PrepareToPrint): RTL Fix.
14907
14908         * paragraph.C (GetUChar): New method.
14909         (String):  Use GetUChar.
14910
14911         * buffer.C (asciiParagraph): Use GetUChar.
14912
14913 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14914
14915         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14916
14917 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14918
14919         * buffer.h:
14920         * buffer.C: rename to getLogName(), handle
14921           build log / latex log nicely
14922
14923 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14924
14925         * MenuBackend.C:
14926         * MenuBackend.h: remove support for reference menuitem type.
14927
14928 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * BufferView_pimpl.C: housekeeping
14931         * BufferView_pimpl.h:
14932         * LyXView.h:
14933         * Makefile.am:
14934         * Timeout.C:
14935         * Timeout.h:
14936         * minibuffer.h: move Timeout GUI-I
14937
14938 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14939
14940         * lyxrc.C (read): Update converters data-structures.
14941
14942 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14943
14944         * LaTeX.h (operator!=): add operator != for Aux_Info
14945
14946 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14947
14948         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14949
14950         * LaTeXLog.C: deleted, useful code moved to Buffer
14951
14952         * buffer.h:
14953         * buffer.C: new function getLatexLogName()
14954
14955         * lyx_gui_misc.C:
14956         * lyx_gui.C:
14957         * lyxvc.C:
14958         * lyxvc.h:
14959         * lyxfunc.C: use frontends for LaTeX and VC logs
14960
14961 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14962
14963         * LaTeX.h: yet another std:: that Allan forgot.
14964
14965         * Variables.C (set): renamed from isset(), because this clashes
14966         with some HP-UX macros (grr).
14967
14968 2001-02-06  Allan Rae  <rae@lyx.org>
14969
14970         * LaTeX.h: Another bug fix.  Missing std:: this time.
14971
14972 2001-02-04  Allan Rae  <rae@lyx.org>
14973
14974         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14975         floats problem. I've left it commented out because it's not quite
14976         correct.  It should also test that the current object is a table or
14977         figure inset.  But I haven't gotten around to figuring out how to do
14978         that.  I *think* it'll be something like: "table" == inset.type()
14979
14980         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14981         bool.
14982
14983 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14984
14985         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14986         all the citation/databases/styles in the auxilary file.
14987         (run): Rerun latex if there was a babel language error.
14988
14989 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14990
14991         * text.C (Backspace): Preserve the font when changing newline char
14992         with a space.
14993         (BreakParagraph): If the cursor is before a space, delete the space.
14994
14995         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14996
14997 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14998
14999         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15000         new argument (code).
15001         (ChangeCitationsIfUnique): New method.
15002
15003         * paragraph.C (GetPositionOfInset): Handle bibkey.
15004
15005 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15006
15007         * BufferView_pimpl.h: change type of Position::par_pos to
15008         LyXParagraph::size_type.
15009
15010 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * BufferView_pimpl.C (savePosition, restorePosition): Write
15013         messages to minibuffer.
15014
15015 2001-01-28  José Matos  <jamatos@fep.up.pt>
15016
15017         * buffer.C (makeDocBookFile): adds support for document language.
15018         A silly restriction on the name of LatexCommand types where removed.
15019         Added support for CDATA sections, allows to chars unescaped, used
15020         among others in code, to avoid escape < and >.
15021
15022 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15023
15024         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15025         saved positions instrad of a stack. Furthermore, a position is
15026         stored using paragraph id/paragraph position.
15027
15028         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15029         Remove LFUN_REF_BACK.
15030
15031 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15032
15033         * converter.C (dvipdfm_options): New method.
15034
15035 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15036
15037         * vspace.C (isValidLength): Fix for empty input string.
15038
15039 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * LyXAction.C (init): change description of LFUN_FIGURE to
15042         "Insert Graphics"
15043
15044 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15045
15046         * LaTeX.C: add using directive
15047
15048 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15049
15050         * MenuBackend.C (expand): Fix the sorting of the formats.
15051
15052 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * lyx_main.C: tiny error message fix
15055
15056 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15059         calling fl_initialize(). This fixes the problem with ',' as
15060         decimal separator in text files.
15061
15062 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15063
15064         * trans.C (process): Fix the keymap bug.
15065
15066 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * LaTeX.C (scanAuxFiles): New method. Provides support for
15069         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15070         (scanLogFile) Scan for "run BibTeX" messages.
15071
15072         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15073         OT1 font encoding. Also, load the aecompl package if the ae
15074         package is loaded.
15075
15076         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15077
15078 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * texrow.C (increasePos): turn two error messages into debug
15081         messages.
15082
15083 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15084
15085         * LaTeX.C (scanAux): Handle the \@input macro.
15086         (runBibTeX): Use scanAux().
15087
15088         * language.C (latex_options_): New field.
15089
15090         * LaTeXFeatures.C (getMacros): Add language macros.
15091
15092         * buffer.C (makeLaTeXFile): Small fix.
15093
15094 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15095
15096         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15097
15098         * text2.C: add a using directive.
15099
15100 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * BufferView2.C:
15103         * lyx_gui_misc.h:
15104         * lyxfr1.C:
15105         * lyxfunc.C: kill LyXBell.
15106
15107 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15108
15109         * text.C (IsBoundary): Remove the error message
15110
15111         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15112
15113         * lyxrc.C (setDefaults): Correct initialization value for
15114         font_norm_type.
15115
15116 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15117
15118         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15119         gotoError().
15120
15121         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15122         and GotoNextNote().
15123
15124         * src/LyXAction.C: Added reference-next.
15125
15126         * text.C (InsertChar): Use contains instead of strchr.
15127
15128         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15129
15130 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15133         alignment commands (when needed).
15134
15135         * text.C (InsertChar): Add ':' to number separator chars.