]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5e27f6f39f28154c0804d0680449115e67e876fd
[lyx.git] / src / ChangeLog
1 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * buffer.C: increment file format to 231.
4
5 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * dociterator.C: implement forwardPar
8         * iterators.[Ch]: remove, replaced by
9         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
10         * BufferView.C:
11         * BufferView_pimpl.C:
12         * CutAndPaste.C:
13         * buffer.C:
14         * bufferview_funcs.C:
15         * cursor.C:
16         * lyxfind.C
17         * lyxfunc.C
18         * paragraph_funcs.C
19         * toc.C:  
20         * Makefile.am: adjust
21
22 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
23
24         * CutAndPaste.C (pasteSelection): fix 2 crashes
25         (eraseSelection): fix a crash
26         * paragraph_funcs.C: remove a warning
27
28 2004-03-28  Angus Leeming  <leeming@lyx.org>
29
30         * lfuns.h:
31         * LyXAction.C (init): new LFUN_PRINT.
32
33         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
34
35 2004-03-27  Angus Leeming  <leeming@lyx.org>
36
37         * lfuns.h:
38         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
39
40         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
41
42 2004-03-27  Angus Leeming  <leeming@lyx.org>
43
44         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
45         insetlist always contains non-null pointers to insets.
46
47 2004-03-26  Angus Leeming  <leeming@lyx.org>
48
49         * src/BufferView_pimpl.C:
50         * src/CutAndPaste.C:
51         * src/buffer.C:
52         * src/iterators.C:
53         * src/output_plaintext.C:
54         * src/outputparams.h:
55         * src/paragraph_funcs.C:
56         * src/rowpainter.C:
57         * src/text.C:
58         * src/text2.C:
59         * src/frontends/controllers/ControlErrorList.C:
60         * src/frontends/gtk/FileDialogPrivate.C:
61         * src/frontends/gtk/GPainter.C:
62         * src/frontends/gtk/GToolbar.C:
63         * src/frontends/qt2/QRef.C:
64         * src/mathed/math_scriptinset.C: squash compiler warnings.
65
66 2004-03-26  Angus Leeming  <leeming@lyx.org>
67
68         * ispell.C (LaunchIspell::start):
69         * lyx_cb.C (AutoSaveBuffer::start):
70         invoke run(DontWait) rather than runNonBlocking().
71
72 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
73
74         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
75
76 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * kbsequence.C (print): adjust
79
80         * kbmap.C (printKeySym): rename and change signature
81         (printKey): use LyXKeySym::print()
82
83 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
84
85         * undo.C: add using std::advance to compile for stlport
86
87 2004-03-24  Angus Leeming  <leeming@lyx.org>
88
89         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
90         it leads to a crash when no buffer is present.
91
92 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93             Martin Vermeer  <martin.vermeer@hut.fi>
94
95         * lyxfunc.C (dispatch): 
96         * bufferparams.C (readToken): use the new LColor::setColor 
97
98         * LColor.[Ch] (setColor): new version that takes two strings as
99         argument and creates a new color entry if necessary
100
101 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
102
103         * buffer.C (makeLaTeXFile): if the main latex file that is
104         processed is usually a subdocument of some master, then pretend
105         for a while that it is actually the master
106
107 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
108
109         * buffer.C (getLabelList):
110         (getBibkeyList): use getMasterBuffer()
111         (getMasterBuffer): new method. Returns the main document in the
112         case where one is using included documents.
113
114 2004-03-25  André Pönitz  <poenitz@gmx.net>
115
116         * Makefile.am:
117         * iterators.[Ch]:
118         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
119
120         * ParagraphList_fwd.h: change ParagraphList to a std::vector
121
122         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
123         text*.C over here. Rename namespace CutAndPaste to lyx::cap
124
125         * ParameterStruct.h: merge with ParagraphParameters
126
127         * lyxtext.h: remove LyXText::parOffset() and getPar()
128
129         * text3.C: Remove all 'manual' update calls. We do now one per user
130         interaction which is completely sufficient.
131
132         * Bidi.C:
133         * BufferView.[Ch]:
134         * BufferView_pimpl.C:
135         * FontIterator.[Ch]:
136         * MenuBackend.C:
137         * ParagraphParameters.[Ch]:
138         * buffer.C:
139         * buffer.h:
140         * bufferlist.C:
141         * cursor.[Ch]:
142         * cursor_slice.[Ch]:
143         * dociterator.[Ch]:
144         * errorlist.[Ch]:
145         * factory.C:
146         * lfuns.h:
147         * lyxfind.C:
148         * lyxfunc.C:
149         * output_docbook.[Ch]:
150         * output_latex.[Ch]:
151         * output_linuxdoc.[Ch]:
152         * output_plaintext.[Ch]:
153         * paragraph.[Ch]:
154         * paragraph_funcs.[Ch]:
155         * paragraph_pimpl.[Ch]:
156         * rowpainter.C:
157         * tabular.[Ch]:
158         * text.C:
159         * text2.C:
160         * toc.C:
161         * undo.[Ch]: adjust
162
163         * frontends/controllers/ControlDocument.C:
164         * frontends/controllers/ControlErrorList.C:
165         * frontends/controllers/ControlSpellchecker.C:
166         * insets/inset.C:
167         * insets/inset.h:
168         * insets/insetbase.h:
169         * insets/insetbibitem.C:
170         * insets/insetbox.C:
171         * insets/insetbranch.C:
172         * insets/insetcaption.C:
173         * insets/insetcharstyle.C:
174         * insets/insetcharstyle.h:
175         * insets/insetcollapsable.C:
176         * insets/insetcollapsable.h:
177         * insets/insetert.C:
178         * insets/insetfloat.C:
179         * insets/insetfoot.C:
180         * insets/insetmarginal.C:
181         * insets/insetnote.C:
182         * insets/insetoptarg.C:
183         * insets/insettabular.C:
184         * insets/insettext.C:
185         * insets/insettext.h:
186         * insets/insetwrap.C:
187         * mathed/math_mboxinset.C:
188         * mathed/math_nestinset.C:
189         * mathed/math_scriptinset.C:
190         * mathed/math_scriptinset.h:
191         * support/types.h:
192
193 2004-03-24  Angus Leeming  <leeming@lyx.org>
194
195         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
196         deal with any child processes that have finished but are waiting to
197         communicate this fact to the rest of LyX.
198
199 2004-03-24  Angus Leeming  <leeming@lyx.org>
200
201         64-bit compile fixes.
202
203         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
204         (c-tor): pass lyx::pos_types rather than ints.
205
206         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
207         lyx::pos_type.
208
209         * text.C (Delete): compile fix.
210         (getPar): ensure that function declaration is the same as that in
211         the header file.
212
213 2004-03-23  Angus Leeming  <leeming@lyx.org>
214
215         * ispell.C (LaunchIspell):
216         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
217         a boost::shred_ptr rather than a std::auto_ptr.
218
219 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * lyxfunc.C (getStatus): handle read-only buffers correctly;
222         handle LFUN_FILE_INSERT_*
223
224         * lyxrc.C (setDefaults, getDescription, output, read):
225         * lyxrc.h: remove ps_command
226
227 2004-03-22  Angus Leeming  <leeming@lyx.org>
228
229         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
230         Ensure that error_handler is processed once only and that all data
231         is saved before attempting to output any warning messages.
232
233         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
234
235 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * tabular.C (TeXRow): crash fix (from Kayvan and André)
238
239 2004-03-19  André Pönitz  <poenitz@gmx.net>
240
241         * cursor.[Ch] (reset): take main text inset as argument
242
243         * BufferView: adjust
244         * BufferView_pimpl.C: adjust
245
246         * paragraph.[Ch]: fix completely broken operator=()
247
248 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * LColor.C (getFromLyXName): make sure that the color name is used
251         as lowercase.
252
253 2004-03-17  Angus Leeming  <leeming@lyx.org>
254
255         * lfuns.h:
256         * LyXAction.C (init): remove LFUN_FORKS_KILL.
257
258         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
259         dialog and to kill a forked process.
260
261 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
262
263         * text2.C (setCursorFromCoordinates): fix font problem
264
265 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
266
267         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
268         bogus "rebuild cursor" code
269
270 2004-03-11  André Pönitz  <poenitz@gmx.net>
271
272         * buffer.[Ch]: use InsetText instead of LyXText as container for
273         the main lyx text.
274
275         * dociterator.[Ch]: drop the BufferView * member which is not needed
276         anymore after the change to buffer.C
277
278         * paragraph_funcs.C:
279         * text.C:
280         * text2.C:
281         * BufferView.[Ch]:
282         * BufferView_pimpl.[Ch]:
283         * cursor.[Ch]:
284         * cursor_slice.[Ch]: adjust
285
286         * text3.C: fix bug in mathDispatch
287
288 2004-03-08  André Pönitz  <poenitz@gmx.net>
289
290         * undo.[Ch]: use 'StableDocumentIterator' as base for
291         the Undo struct.
292
293 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
294
295         * LaTeXFeatures.C:
296         * bufferparams.[Ch]: add jurabib support and param.
297
298         * LaTeX.C: add FIXME/comment.
299
300 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
301
302         * buffer.C: increment file format to 230.
303
304 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * cursor.C (dispatch): avoid infinite loops
307
308 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * rowpainter.C (paintSelection): fix x coordinates
311
312 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
313
314         * text.C (rowBreakPoint): fix breaking before displayed insets
315
316 2004-03-01  André Pönitz  <poenitz@gmx.net>
317
318         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
319
320         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
321
322         * Makefile.am:
323         * BufferView.C:
324         * BufferView_pimpl.C:
325         * buffer.C:
326         * lyxfind.C:
327         * lyxfunc.C:
328         * text.C:
329         * text2.C:
330         * text3.C: adjust
331
332 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
333
334         * lyxtext.h:
335         * text.C:
336         * text2.C:
337         * rowpainter.C:
338         * BufferView_pimpl.C: rename textwidth -> maxwidth,
339         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
340
341 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
342
343         * Bidi.[Ch] (computeTables): const correctness
344         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
345         fill_hfill, fill_label_hfill and x from Row
346         * lyxtext.h: prepareToPrint returns a RowMetrics
347         * rowPainter.C: adjust
348         * text.C (prepareToPrint): use width, not textWidth. adjust
349         (redoParagraphInternal, cursorX): adjust
350         * text2.C (getColumnNearX): adjust
351         (init): put a default value to the top LyXText::width
352
353 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
354
355         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
356
357 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
358
359         * lyxtext.h: add FontIterator class
360
361         * text.C (FontIterator, operator*, operator->, operator++): add
362         (rowBreakPoint, setRowWidth): adjust (fixing a
363         rebreaking bug)
364
365 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * BufferView_pimpl.C (workAreaDispatch): allow also
368         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
369
370 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
371
372         * text.C (rowBreakPoint): fix a bug showing with very large insets
373
374 2004-02-25  André Pönitz  <poenitz@gmx.net>
375
376         * text3.C:
377         * cursor.[Ch]: move some mathed specific code to mathed
378
379 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
380
381         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
382         use_tempdir in preferences
383         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
384         tempfile creation
385         * lyx_main.C: ensure that tempdir is valid
386         * lyxlex.h: correct typo
387         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
388         * paragraph.[Ch] (isMultiLingual): make const
389         * cursor.[Ch] (openable): make const
390
391 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
394
395 2004-02-20  André Pönitz  <poenitz@gmx.net>
396
397         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
398
399         * cursor.[Ch]: prepare for localized getStatus()
400
401         * lyxtext.h:
402         * tabular.C:
403         * text.C:
404         * text2.C:
405         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
406
407 2004-02-20  André Pönitz  <poenitz@gmx.net>
408
409         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
410
411 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
412
413         * text2.C (setCursorFromCoordinates): switch to absolute coords
414         (cursorUp): adjust
415         (cursorDown): adjust
416         * text3.C (dispatch): adjust
417
418 2004-02-16  André Pönitz  <poenitz@gmx.net>
419
420         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
421           insets/ChangeLog)
422
423         * cursor_slice.[Ch]: remove unneeded acessor function
424
425         * lyxtext.h: rename rtl() to isRTL()
426
427         * rowpainter.C:
428         * tabular.C:
429         * text.C:
430         * text2.C:
431         * text3.C: adjust
432
433 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * rowpainter.C (paintSelection): coord fix
436
437 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
438
439         * Spacing.C: compile fix
440
441 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
442
443         * cursor.C (dispatch): restore current_ before returning
444
445 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * text2.C (cursorUp, cursorDown): fix coords
448         (moveUp): fix crash
449
450 2004-02-12  André Pönitz  <poenitz@gmx.net>
451
452         * lyxtext.h:
453         * text.C:
454         * text2.C:
455         * text3.C: add LCursor & parameter to most cursor movement functions
456           remove usage of LyXText::cursorRow() and cursorPar()
457
458         * cursor.[Ch]: add textRow() needed members
459
460         * BufferView.C:
461         * BufferView_pimpl.C:
462         * paragraph.[Ch]:
463         * BufferView.C:
464         * BufferView_pimpl.C: adjust
465
466 2004-02-11  André Pönitz  <poenitz@gmx.net>
467
468         * lyxfunc.C:
469         * BufferView.[Ch]:
470         * BufferView_pimpl.C: shift undo/redo handling
471
472         * cursor.[Ch]: fix mathed crash
473
474         * lyxfind.C:
475         * lyxtext.h: move selectionAsText to LCursor
476
477         * output_latex.C:
478         * paragraph.C:
479         * text.C:
480         * text2.C:
481         * text3.C: adjust
482
483         * rowpainter.C: fix excessive drawing
484
485 2004-02-06  André Pönitz  <poenitz@gmx.net>
486
487         * BufferView.[Ch]:
488         * BufferView_pimpl.[Ch]:
489         * text3.C: move some text specific LFUN handling
490
491 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
492
493         * text3.C (checkInsetHit): adjust coords
494         * text2.C (getColumnNearX): adjust coords
495         (edit): adjust coords
496         * text.C (getRowNearY): add two asserts
497
498 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
499
500         * converter.C:
501         * format.C: add using std::distance to compile on gcc 2.95/stlport
502
503 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
504
505         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
506
507 2004-02-04  André Pönitz  <poenitz@gmx.net>
508
509         * BufferView.[Ch] (insertInset):
510         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
511
512         * text2.C:
513         * text3.C: adjust
514
515 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
516
517         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
518         on the default clause of the switch
519         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
520         wasn't catched by LCursor::dispatch
521
522 2004-02-03  André Pönitz  <poenitz@gmx.net>
523
524         * BufferView.C:
525         * cursor.[Ch]: some additional asserts
526
527         * undo.[Ch]: remove LyXText dependency in interface
528
529         * lyxfunc.C: adjust
530
531         * lyxtext.h (firstPar, lastPar): remove dead functions
532
533         * text.C:
534         * text2.C:
535         * text3.C:
536         * paragraph.[Ch]: adjust
537
538 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
539
540         * lyxfind.C (find): fix argument order in call to ::find
541
542 2004-02-02  André Pönitz  <poenitz@gmx.net>
543
544         * cursor.[Ch]: remove direct access to anchor
545
546         * text.C: remove findText() hack
547
548 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
549
550         * iterators.[Ch] (lockPath): remove in favour of...
551         * BufferView.[Ch] (setCursor): this addition
552         * BufferView.C (putSelectionAt): adjust
553         * undo.C (performUndoOrRedo): adjust
554         * lyxfunc.C (dispatch): adjust
555
556 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
557
558         * iterators.C (lockPath): add a missing slice
559         * undo.C (performUndoOrRedo): remove redundant positioning code
560
561 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
562
563         * vc-backend.C (scanMaster): ";" -> ';'
564
565 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
566
567         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
568         std::binary_function
569
570         * lyxtextclass.C (compare_name): rename to...
571         (LayoutNamesEqual): ...this
572
573         * lyxlex_pimpl.C (compare_tags): inherit from
574         std::binary_function, put back into anon namespace
575
576         * lyxfind.C (MatchString): inherig from std::binary_function
577         (findChange): use empty() istead of !size()
578
579         * format.C (FormatNamesEqual): new functor
580         (getFormat): use it
581         (getNumber): use it
582         (add): use it
583         (erase): use it
584         (setViewer): use it
585
586         * converter.C (compare_Converter): rename to...
587         (ConverterEqual): ...this, and fixup a bit.
588         (getConverter): use it, and make function const
589         (getNumber): use it, and make function const
590         (add): use it
591         (erase): use it:
592
593         * bufferlist.C: add using boost::bind
594
595         * MenuBackend.C (MenuNamesEqual): new functor
596         (hasMenu): use it, and make function const
597         (hasSubmenu): use nested bind to get rid of compare_memfun.
598
599 2004-01-30  André Pönitz  <poenitz@gmx.net>
600
601         * BufferView_pimpl.C:
602         * cursor.C:
603         * cursor.h:
604         * cursor_slice.[Ch]:
605         * lyxfunc.C:
606         * lyxtext.h:
607         * paragraph_funcs.C:
608         * paragraph_funcs.h:
609         * rowpainter.C:
610         * text.C:
611         * text2.C:
612         * text3.C: move some of the edit(x,y) handling to the insets
613         some coordinate changes.
614
615 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
616
617         * text.C: add using statements for std::advance and std::distance
618
619         * paragraph.C: add using statement for std::distance
620
621         * lyxfind.C: add using statement for std::advance
622
623         * cursor.C (region): remove std:: from swap
624         (openable): use nucleus in stead of operator->
625
626         * BufferView.C: add using statements for std::distance and std::swap
627
628 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
629
630         * iterators.C: Remove the pimple, move the needed structures to
631         the header file. Create accessor for the positions stack.
632         (asPosIterator): remove function
633
634         * PosIterator.C (PosIterator): move constructors to top of file
635         (PosIterator): reimplement the constructor taking a ParIterator in
636         terms of setFrom.
637         (setFrom): new function
638         (operator!=): inline it
639
640 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
641
642         * lyxfind.C (replaceAll): use std::advance
643
644         * iterators.h: inherit from std::iterator.
645
646         * PosIterator.C (advance, distance): remove
647         * PosIterator.h: interit from std::iterator.
648
649 2004-01-26  André Pönitz  <poenitz@gmx.net>
650
651         * BufferView.[Ch]:
652         * BufferView_pimpl.[Ch]:
653         * InsetList.[Ch]:
654         * PosIterator.[Ch]:
655         * buffer.h:
656         * bufferview_funcs.C:
657         * cursor.[Ch]:
658         * cursor_slice.h:
659         * factory.[Ch]:
660         * iterators.[Ch]:
661         * lyxfind.C:
662         * lyxfunc.C:
663         * lyxtext.h:
664         * output_docbook.C:
665         * output_latex.C:
666         * output_linuxdoc.C:
667         * output_plaintext.C:
668         * paragraph.[Ch]:
669         * paragraph_funcs.[Ch]:
670         * paragraph_pimpl.[Ch]:
671         * rowpainter.C:
672         * tabular.C:
673         * tabular.h:
674         * text.C:
675         * text2.C:
676         * text3.C: more IU:  dumps most of the rest of the mathcursor
677     implementation into cursor.[Ch]; "globalize" a bit of it.
678
679 2004-01-25  Angus Leeming  <leeming@lyx.org>
680
681         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
682
683 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
684
685         * LaTeXFeatures.h: add nice_ and nice() const
686         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
687
688 2004-01-20  André Pönitz  <poenitz@gmx.net>
689
690         * BufferView.[Ch]:
691         * BufferView_pimpl.C:
692         * PosIterator.C:
693         * bufferview_funcs.C:
694         * cursor.[Ch]:
695         * cursor_slice.[Ch]:
696         * factory.C:
697         * iterators.C:
698         * lyx_cb.C:
699         * lyxfind.C:
700         * lyxfunc.C:
701         * lyxtext.h:
702         * rowpainter.C:
703         * text.C:
704         * text2.C:
705         * text3.C:
706         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
707           LCursor and mathcursor parts to LCursor and InsetBase.
708
709 2004-01-15  André Pönitz  <poenitz@gmx.net>
710
711         * cursor_slice.[Ch]: add a few covienience functions
712
713         * funcrequest.[Ch]: remove BufferView * member
714
715         * BufferView_pimpl.C:
716         * cursor.C:
717         * factory.[Ch]:
718         * lyxfind.[Ch]:
719         * lyxfunc.C:
720         * lyxtext.h:
721         * text3.C:
722         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
723
724 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
725
726         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
727         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
728
729 2004-01-13  André Pönitz  <poenitz@gmx.net>
730
731         * textcursor.[Ch]:
732         * lyxtext.h: hide cursor and selection anchor behind accessor function
733
734         * BufferView.C:
735         * BufferView_pimpl.[Ch]:
736         * PosIterator.C:
737         * bufferview_funcs.C:
738         * cursor.h:
739         * lyxfind.C:
740         * lyxfunc.C:
741         * text.C:
742         * text2.C:
743         * text3.C:
744         * undo.C: adjust
745
746         * cursor.h:
747         * cursor_slice.[Ch]: some integer type changes for inset unification
748
749         * lyxcursor.[hC]: remove, it's CursorSlice now.
750
751         * Makefile.am:
752         * BufferView_pimpl.[Ch]:
753         * bufferview_funcs.C:
754         * cursor_slice.C:
755         * lyxtext.h:
756         * text.C:
757         * text2.C:
758         * text3.C:
759         * textcursor.[Ch]: adjust
760
761 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
762
763         * text2.C (undoSpan): add and use
764         * text.C (breakParagraph): use undoSpan (fix bug 578)
765         * lyxtext.h: adjust
766
767 2004-01-08  Angus Leeming  <leeming@lyx.org>
768
769         * BufferView_pimpl.C (MenuInsertLyXFile):
770         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
771         * lyxfunc.C (menuNew, open, doImport):
772         FileFilterList change to the FileDialog open and save functions.
773
774 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
775
776         * ShareContainer.h: make isEqual and isUnique adaptable
777
778         * CutAndPaste.C: make resetOwnerAndChanges adaptable
779
780 2004-01-07  Angus Leeming  <leeming@lyx.org>
781
782         * LyXAction.C:
783         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
784
785         * BufferView_pimpl.C (dispatch): act on these LFUNs.
786
787         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
788         functions replacing find, replace and replaceAll.
789
790         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
791         LFUN_WORDFIND(FORWARD|BACKWARD).
792
793 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
794
795         * text.C (breakParagraph): remove an outdated #warning
796
797 2004-01-07  André Pönitz  <poenitz@gmx.net>
798
799         * lyxfind.C: somewhat clearer logic
800
801         * text.C: prevent crash in cursorX on unitialized row cache
802
803 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
804
805         * lyxcursor.[Ch] (operator>): add
806         * textcursor.C (selStart, selEnd): use std::min and std::max
807
808 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
809
810         * Chktex.C: include boost/format.hpp
811
812 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
813
814         * InsetList.C: replace functor MathcIt with adaptable functor
815         InsetTablePosLess
816         (insetIterator): modify accordingly
817
818         * BranchList.h: move the BranchNamesEqual functor here from...
819         * BranchList.C: ... to here
820
821         * BranchList.C: new BranchListEqual fuctor, use it. Remove
822         SameName and match.
823         (add): replace a finding loop with std::find_if.
824
825 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * output_docbook.C: moving LatexParam functionality into
828         .layout files
829
830 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
831
832         * buffer.C: increment format to 229.
833
834 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
835
836         * LaTeXFeatures.C:
837         * lyx_sty.[Ch]: remove minipageindent_def
838
839         * LyXAction.C:
840         * factory.C:
841         * lfuns.h:
842         * lyxfunc.C:
843         * text3.C: remove LFUN_INSET_MINIPAGE
844
845 2003-12-28  Angus Leeming  <leeming@lyx.org>
846
847         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
848
849 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * text2.C (setParagraph): fix off-by-one crash
852
853 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
854
855         * output_docbook.C: header stuff for AGU
856
857 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
858
859         * text2.C (redoCursor): remove
860         * text.C:
861         * text3.C:
862         * BufferView_pimpl.C: remove calls to redoCursor and
863         setCursor(cursor.par(), cursor.pos()) all around
864
865 2003-12-15  Angus Leeming  <leeming@lyx.org>
866
867         * buffer.C: up the format to 228.
868
869 2003-12-15  André Pönitz  <poenitz@gmx.net>
870
871         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
872         slices
873
874         * Makefile.am:
875
876         * BufferView_pimpl.C:
877         * cursor.[Ch]:
878         * lyxcursor.[Ch]:
879         * rowpainter.[Ch]:
880         * lyxtext.h:
881         * text.C:
882         * text2.C:
883         * text3.C: adjust
884
885 2003-12-15  Angus Leeming  <leeming@lyx.org>
886
887         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
888         than getFromGUIName to manipulate the color.
889
890 2003-12-14  Angus Leeming  <leeming@lyx.org>
891
892         * BranchList.[Ch]: minimize the API.
893         (Branch::getBranch, getColor): now return a 'const &'.
894         (Branch::setSelected) now returns a bool set to true if the
895         selection status changes.
896         (BranchList::clear, size, getColor, setColor, setSelected,
897         allBranches, allSelected, separator): removed.
898         (BranchList::find): new functions, returning the Branch with
899         the given name.
900         (BranchList::add, remove): return a bool indicating that
901         the operation was successful.
902
903         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
904         new InsetBranch::isBranchSlected member function.
905
906         * LColor.[Ch]: mimimize the API.
907         (fill): renamed as addColor and made private.
908         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
909         versions of these functions taking a string arg have been removed.
910
911         * bufferparams.C (readToken):
912         * lyxfunc.C (dispatch):
913         * lyxrc.C (read): changes due to the altered BranchList and
914         LColor APIs.
915
916         * factory.C (createInset, readInset): changes due to altered
917         InsetBranch c-tor.
918
919 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
920
921         * factory.C:
922         * lyxfunc.C: remove insetminipage. "minipage-insert"
923         now produces a frameless minipage box inset.
924
925 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
926
927         * textcursor.[Ch] (selStart,selEnd): add new methods
928         remove selection::start, end, use LyXCursor::operator<
929         * lyxcursor.[Ch] (operator<): add
930         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
931         * BufferView.[Ch] (unsetXSel): add
932         * text2.C (clearSelection): use unsetXSel,adjust
933         * text.C: adjust
934         * text3.C: adjust
935         * rowpainter.C: adjust
936         * bufferview_funcs.C (put_selection_at): adjust
937
938 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
939
940         * BufferView_pimpl.C: small coord. correction
941
942 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
943
944         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
945         dragging over the splash screen.
946
947 2003-12-11  Angus Leeming  <leeming@lyx.org>
948
949         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
950         as it is now handled in LyXText::dispatch.
951
952         * text3.C (doInsertInset): remove a level of nesting.
953
954 2003-12-11  Angus Leeming  <leeming@lyx.org>
955
956         * factory.C (createInset): changes due to the changed interface to
957         InsetCommandMailer::string2params.
958
959 2003-12-10  Angus Leeming  <leeming@lyx.org>
960
961         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
962         'dialog-show-new-inset <inset name>'
963
964 2003-12-10  Angus Leeming  <leeming@lyx.org>
965
966         * buffer.C: up the format to 227.
967
968         * factory.C: the box inset is now identified simply by 'Box'.
969
970 2003-12-10  Angus Leeming  <leeming@lyx.org>
971
972         * buffer.C: up the format to 226.
973
974         * factory.C: the note inset is now identified simply by 'Note'.
975
976 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
977
978         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
979         when a pit is enough. Standarize a couple of loops.
980
981 2003-12-05  Angus Leeming  <leeming@lyx.org>
982
983         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
984         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
985         data to the re-worked "log" dialog.
986
987 2003-12-03  André Pönitz  <poenitz@gmx.net>
988
989         * PosIterator.C:
990         * iterators.C:
991         * lyxtext.h:
992         * output_latex.C:
993         * paragraph_funcs.C:
994         * text.C:
995         * text2.C: use Inset::getText instead of Inset::getParagraph
996
997 2003-12-03  André Pönitz  <poenitz@gmx.net>
998
999         * buffer.[Ch]:
1000         * lyxtext.h:
1001         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1002         InsetText::read() as LyXText::read()
1003
1004 2003-12-02  Angus Leeming  <leeming@lyx.org>
1005
1006         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1007         type. Add a comment in the implementation that the function uses
1008         the stream's bad() function rather than fail() as the std::streams
1009         would do.
1010
1011 2003-12-02  André Pönitz  <poenitz@gmx.net>
1012
1013         * lyxlex.[Ch]: make interface more similar to std::stream
1014
1015         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1016
1017 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1018
1019         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1020
1021 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1022
1023         * vspace.[Ch]: remove VSpace::NONE
1024
1025 2003-12-01  André Pönitz  <poenitz@gmx.net>
1026
1027         * buffer.[Ch]:
1028         * lyxtext.h: move ParagraphList member to LyXText
1029         rename LyXText::ownerParagraphs to LyXText::paragraph
1030
1031         * CutAndPaste.C:
1032         * bufferview_funcs.C:
1033         * iterators.[Ch]:
1034         * lyx_cb.C:
1035         * paragraph.C:
1036         * rowpainter.C:
1037         * tabular.C:
1038         * text.C:
1039         * text2.C:
1040         * text3.C: adjust
1041
1042         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1043
1044         * undo.C: fix cursor positioning
1045
1046 2003-12-01  John Levon  <levon@movementarian.org>
1047
1048         * BufferView_pimpl.C: fix a crash on exit with
1049         a buffer open
1050
1051 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1052
1053         * BranchList.C: fix setSelected() method.
1054
1055 2003-11-28  André Pönitz  <poenitz@gmx.net>
1056
1057         * ParagraphParameters.[Ch]:
1058         * ParameterStruct.h: remove space above/below from Paragraph to
1059          InsetVSpace
1060
1061         * BufferView_pimpl.C:
1062         * factory.C:
1063         * lyxfunc.C:
1064         * lyxtext.h:
1065         * output_latex.C:
1066         * paragraph.C:
1067         * paragraph_funcs.C:
1068         * rowpainter.[Ch]:
1069         * text.C:
1070         * text2.C:
1071         * text3.C: adjust
1072
1073 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * factory.C: Syntax change for CharStyles
1076
1077 2003-11-28  André Pönitz  <poenitz@gmx.net>
1078
1079         * BufferView.[Ch]:
1080         * BufferView.[Ch]:
1081         * buffer.[Ch]:
1082         * buffer.[Ch]: move LyXText member
1083
1084 2003-11-28  André Pönitz  <poenitz@gmx.net>
1085
1086         * BufferView.[Ch]: make LyXText * text a private member
1087
1088         * BufferView_pimpl.C:
1089         * cursor.C:
1090         * iterators.C:
1091         * lyx_cb.C:
1092         * lyxfind.C:
1093         * lyxtext.h:
1094         * rowpainter.[Ch]:
1095         * text.C:
1096         * text2.C:
1097         * undo.C: adjust
1098
1099         * output_plaintext.C: cleanup
1100
1101 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1102
1103         * buffer.C:
1104         * lyxtextclass.[Ch]: parametrize SGML document header
1105
1106 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1107
1108         * converter.[Ch]:
1109         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1110         getFlavor().
1111
1112 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1113
1114         * text2.C (setFont): rework using PosIterator (no more recursive)
1115         (setCharFont): no more needed
1116         (setLayout): no more selection cursors fiddling (done by redoCursor)
1117         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1118         destroy remaining ones)
1119
1120 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1121
1122         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1123         * lyxtext.h: ditto
1124         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1125         selection cursors
1126         * lyxfunc.C: adjust
1127         * text3.C: adjust + re-allow multi par depth changes
1128         * textcursor.C: simplify a bit
1129
1130 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * src/buffer.C:
1133         * src/lyxlayout.C:
1134         * src/lyxlayout.h:
1135         * src/lyxtext.h:
1136         * src/output_docbook.C:
1137         * src/output_latex.C:
1138         * src/paragraph.C:
1139         * src/paragraph.h:
1140         * src/sgml.C:
1141         * src/sgml.h:
1142         * src/text2.C: Introducing a number of tags parametrizing various
1143         XML formats that we may want to support
1144
1145 2003-11-25  André Pönitz  <poenitz@gmx.net>
1146
1147         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1148
1149         * lyxtext.h (leftMargin/rightMargin): simplify interface
1150
1151         * rowpainter.C:
1152         * text.C:
1153         * text2.C:
1154         * text3.C: adjust
1155
1156 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1157
1158         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1159         master file to any child files. Fixes bug 546.
1160
1161 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1164
1165 2003-11-24  André Pönitz  <poenitz@gmx.net>
1166
1167         * rowpainter.C: simplification
1168
1169         * text2.C (updateCounters): remove call to redoParagraph on
1170         changed labels as this is far too expensive.
1171
1172 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1173
1174         * converter.C (convert): fix a crash: this function gets
1175         called with buffer == 0 from importer code.
1176
1177 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1178
1179         * text3.C (cursorPrevious): make sure that we do not compare
1180         iterators form different containers.
1181         (cursorNext): ditto
1182
1183         * rowpainter.C (paintSelection): make sure that we do not compare
1184         iterators from different containers.
1185
1186         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1187         iterators from different ParagraphList containers.
1188         [NEXT] ditto
1189
1190         * text2.C (LyXText): change order of initialization slightly
1191         (operator=): new function. copy all variables except cache_par_
1192         (moveUp): make sure that we do not compare iterators from
1193         different ParagraphList constainers.
1194         (moveDown): ditto
1195
1196         * text.C (firstPar): new function
1197         (lastPar): new function
1198         (endPar): new function
1199
1200         * lyxtext.h: move things around and group public functions, public
1201         variables, private functions, private variables
1202
1203 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1204
1205         * factory.C: change call to InsetERT constructor to avoid
1206         additional invocation of method status
1207         * text2.C (toggleInset): remove redundant update() call
1208         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1209         instead of a Bufferview pointer
1210
1211 2003-11-21  André Pönitz  <poenitz@gmx.net>
1212
1213         * rowpainter.C: simplification
1214
1215 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1216
1217         * text3.C (dispatch): make possible to extend a word/row selection
1218         with the mouse
1219
1220 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1221
1222         * lyxtext.h: x0_,y0_ -> xo_,yo_
1223         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1224         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1225         * rowpainter.C (paintRows): paint full paragraphs
1226
1227 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1228
1229         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1230         screen coordinates)
1231
1232 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1233
1234         * lyxtext.h: add x0_, y0_
1235         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1236         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1237
1238 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1239
1240         * text2.C (setCursorIntern): move the x_target update here *
1241         * text3.C: change some bv() to true/false in calls to
1242         cursorUp/Down/Right/Left
1243         * cursor.C: use helper function.
1244
1245 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1248         * paragraph_funcs.[Ch]: correct comment
1249         * rowpainter.C: do not paint selections away from bv->cursor()
1250         Fix a long standing selection painting bug.
1251         * text3.C: generalize mouse-selection code to LyXTexts other that
1252         top one
1253         * textcursor.C: do not use y coords if we can use par offsets
1254
1255 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1256
1257         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1258         cursor position after e.g. inset insert)
1259
1260 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1261
1262         * lyxfind.C (replace): adjust to locking removal + some
1263         code simplification
1264
1265 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1266
1267         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1268         of the path
1269
1270 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1271
1272         * lyxlayout.[Ch]:
1273         * output_docbook.C: XML sanitation: new layout
1274         parameters InnerTag and CommandDepth
1275
1276 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1277
1278         * BufferView_pimpl.C:
1279         * factory.C:
1280         * text3.C: Fix the insertion and modification of button-style
1281         insets
1282
1283 2003-11-13  André Pönitz  <poenitz@gmx.net>
1284
1285         * InsetList.[Ch]: remove deleteLyXText
1286
1287         * paragraph.[Ch]: cache beginOfBody position
1288
1289         * Bidi.C:
1290         * text.C:
1291         * text2.C:
1292         * text3.C: remove superfluous update() calls
1293
1294         * vspace.C: cleanup
1295
1296 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1297
1298         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1299         * BufferView.C (fitLockedInsetCursor): remove
1300         * cursor.[Ch] (getDim): add
1301         * text.C (getRowNearY): add faster version
1302         * text3.C: remove some update calls
1303
1304 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1305
1306         * LaTeXFeatures.C:
1307         * LyXAction.C:
1308         * MenuBackend.C:
1309         * MenuBackend.h:
1310         * dispatchresult.h:
1311         * factory.C:
1312         * lfuns.h:
1313         * lyxfunc.C:
1314         * lyxtextclass.C:
1315         * lyxtextclass.h:
1316         * text3.C: The Character Style /XML short element patch.
1317
1318 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1319
1320         * text3.C:
1321         * factory.C: Small step to solving 'unable to insert some insets'
1322         problem
1323
1324 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1325
1326         * cursor.[Ch] (updatePos): new function for updating the y
1327         position of the tip inset
1328         * bufferview_funcs.C (put_selection_at):
1329         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1330
1331 2003-11-11  André Pönitz  <poenitz@gmx.net>
1332
1333         * text.C: remove big comment on invalid Paragraph pointers as it is
1334         not valid anymore
1335
1336 2003-11-11  André Pönitz  <poenitz@gmx.net>
1337
1338         * text_funcs.[Ch]: merge with ...
1339
1340         * text.C: ... this
1341
1342         * lyxtext.h:
1343         * text2.C:
1344         * text3.C: adjust
1345
1346         * Makefile.am: remove text_funcs.[Ch]
1347
1348 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1349
1350         * cursor.C (getPos): return absolute cached y coord
1351
1352         * BufferView_pimpl.C (fitCursor): new simplistic code
1353         (workAreaDispatch): add a fitCursor call
1354
1355 2003-11-10  André Pönitz  <poenitz@gmx.net>
1356
1357         * BufferView.[Ch]:
1358         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1359
1360 2003-11-10  André Pönitz  <poenitz@gmx.net>
1361
1362         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1363         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1364         indicate that the cursor needs to leave an inset
1365
1366         * lyxtext.h: remove inset locking
1367
1368         * cursor.[Ch]: re-implement functionality provided by inset locking
1369
1370         * BufferView.[Ch]:
1371         * BufferView_pimpl.[Ch]:
1372         * LyXAction.C:
1373         * bufferview_funcs.[Ch]:
1374         * factory.C:
1375         * funcrequest.[Ch]:
1376         * iterators.C:
1377         * lyx_cb.C:
1378         * lyxfind.C:
1379         * lyxfunc.C:
1380         * text.C:
1381         * text2.C:
1382         * text3.C:
1383         * undo.C: adjust
1384
1385 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1386
1387         * PosIterator.[Ch]: replace the stack with a vector, add inset
1388         accesor
1389         * iterators.[C]: adjust
1390
1391 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1392
1393         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1394         replaced
1395         * paragraph_funcs.C (readParToken): put the correct id in the
1396         error item, not the id of the top paragraph
1397
1398 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1399
1400         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1401         * bufferview_funcs.C (put_selection_at): use the above
1402
1403 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1404
1405         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1406
1407 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1408
1409         * output_linuxdoc.h:
1410         * output_plaintext.h:
1411         * output.h:
1412         * output_docbook.h: add #include statements
1413
1414 2003-11-05  José Matos  <jamatos@lyx.org>
1415
1416         * output_docbook.[Ch]:
1417         * output_latex.[Ch]:
1418         * output_linuxdoc.[Ch]:
1419         * output_plaintext.[Ch]: New files for output formats.
1420         * output.[Ch]: New file for helper functions.
1421
1422         * buffer.[Ch]:
1423         * paragraph_funcs.[Ch]: output functions moved to new files.
1424
1425         * outputparams.h: rename of latexrunparams.h
1426
1427         * LaTeX.[Ch]:
1428         * buffer.[Ch]:
1429         * bufferlist.[Ch]:
1430         * converter.[Ch]:
1431         * exporter.C:
1432         * paragraph.[Ch]:
1433         * paragraph_funcs.[Ch]:
1434         * paragraph_pimpl.[Ch]:
1435         * tabular.[Ch]: rename ascii to plaintext
1436         and LatexRunParams to OutputParams.
1437
1438 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1439
1440         * iterators.[Ch] (text): require bv argument
1441         * undo.C (recordUndo):
1442         * lyxfunc.C (dispatch):
1443         * bufferview_funcs.C (put_selection_at): adjust
1444
1445 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1446
1447         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1448
1449 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1450
1451         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1452         nestings
1453
1454 2003-11-04  André Pönitz  <poenitz@gmx.net>
1455
1456         * cursor.[Ch]: restructure
1457
1458         * BufferView.[Ch]:
1459         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1460
1461         * iterators.[Ch] (asCursor): remove
1462
1463         * lfuns.h: remove LFUN_INSET_EDIT
1464
1465         * lyxfunc.C:
1466         * tabular.C:
1467         * text.C:
1468         * text2.C:
1469         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1470
1471 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1472
1473         * lyxfind.[Ch]: complete overhaul
1474         * BufferView_pimpl.C:
1475         * lyxfunc.C: adjust
1476         * paragraph.[Ch] (insert): add
1477
1478 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1479
1480         * BufferView.[Ch]:
1481         * lyxtext.h:
1482         * text.C: remove dead spellcheck code
1483
1484 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1485
1486         * dispatchresult.h: add a val setter
1487
1488         * cursor.C (dispatch): use a tempvar for data_[i]
1489
1490 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1491
1492         * PosIterator.[Ch]: compile fix
1493
1494 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1495
1496         * text.C (cursorPar): deactivate the cursor cache
1497
1498 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1499
1500         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1501
1502 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1503
1504         * text3.C (dispatch): adjust for new DisptchResult semantics.
1505
1506         * lyxfunc.C (dispatch): handle update when return from
1507         Cursor::dispatch, adjust for new DispatchResult semantics.
1508
1509         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1510         DispatchResult(true) mean to not update. Add class functions for
1511         setting dispatched and update, as well as reading.
1512
1513         * cursor.C (dispatch): don't handle update here
1514
1515 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1516
1517         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1518         * trans_mgr.C: adjust
1519
1520         * paragraph_funcs.C (readParToken): exception safety
1521
1522         * lyxvc.h: store the vcs pointer in a scoped_ptr
1523         * lyxvc.C: adjust
1524
1525         * lyxsocket.C (serverCallback): exception safety
1526
1527         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1528
1529         * ispell.C (clone): make it return a auto_ptr
1530
1531         * factory.C (createInset): exception safety
1532         (readInset): exception safety
1533
1534         * bufferlist.C (newBuffer): exception safety
1535
1536         * Thesaurus.C (Thesaurus): use initialization for aik_
1537
1538         * MenuBackend.C (expandToc): exception safety.
1539
1540 2003-11-03  André Pönitz  <poenitz@gmx.net>
1541
1542         * buffer.C:
1543         * buffer.h:
1544         * bufferview_funcs.C: remove getInsetFromId()
1545
1546         * lyxcursor.[Ch]:
1547         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1548
1549         * lyxfunc.C:
1550         * text2.C:
1551         * text3.C: adjust
1552
1553 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1554
1555         * PosIterator.C (distance, advance): new
1556         * bufferview_funcs.[Ch] (put_selection_at): new
1557         * iterators.[Ch] (lockPath): new
1558
1559 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1560
1561         * iterators.[Ch] (asPosIterator): added
1562         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1563         * PosIterator.[Ch]: added
1564
1565 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1566
1567         * text3.C:
1568         * lyxfunc.C:
1569         * cursor.C (dispatch):
1570         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1571
1572         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1573         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1574         contructor, add a class function dispatched. Remove operator>=
1575
1576 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1577
1578         * debug.C: only use the default constructor for debugstream
1579         (lyxerr) here.
1580
1581         * main.C (main): include debug.h and setup the lyxerr streambuf
1582         here.
1583
1584 2003-10-31  José Matos  <jamatos@lyx.org>
1585
1586         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1587
1588         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1589         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1590         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1591         * paragraph_pimpl.C (simpleTeXSpecialC):
1592         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1593         add LatexRunParams argument.
1594
1595         * exporter.C (Export): change call accordingly.
1596
1597         * latexrunparams.h: add new member to take care of the other backends.
1598 2003-10-30  José Matos  <jamatos@lyx.org>
1599
1600         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1601         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1602         factorise code for paragraph output.
1603         * buffer.[Ch]:
1604         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1605         move functions.
1606
1607 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * text3.C (dispatch):
1610         * lyxfunc.C (dispatch):
1611         * cursor.C (dispatch):
1612         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1613
1614         * dispatchresult.h: make the dispatch_result_t ctor explicit
1615
1616 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1617
1618         * sgml.[Ch]:
1619         * buffer.C: small refactoring of docbook stuff
1620
1621 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1622
1623         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1624         meaning.
1625
1626 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1627
1628         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1629         operator dispatch_result_t, and operators for == != and >=
1630
1631         * cursor.C (dispatch): adjust for operator dispatch_result_t
1632         removal. comment out call to update
1633
1634         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1635
1636 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * text3.C:
1639         * text2.C:
1640         * text.C:
1641         * lyxtext.h:
1642         * lyxfunc.C:
1643         * cursor.C:
1644         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1645         (dispatch):
1646
1647         * dispatchresult.h: new file, DispatchResult broken out of
1648         insets/insetbase.h
1649
1650         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1651
1652 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1653
1654         * text.C (rowBreakPoint): put a hack inside #if 0
1655
1656 2003-10-28  André Pönitz  <poenitz@gmx.net>
1657
1658         * lyxtext.h:
1659         * metricsinfo.C:
1660         * paragraph_funcs.C:
1661         * rowpainter.C:
1662         * text.C:
1663         * text2.C: general cleanup (lots of small stuff)
1664
1665 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1666
1667         * text2.C (cursorEnd): simple fix to the "end key goes to one
1668         before the end on last row" bug
1669
1670 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1671
1672         * text.C (backspace): fix the "zombie characters"
1673
1674 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1675
1676         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1677
1678 2003-10-27  André Pönitz  <poenitz@gmx.net>
1679
1680         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1681
1682         * factory.C: handle new InsetPagebreak, InsetLine
1683
1684         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1685         and move handling into new InsetPagebreak, InsetLine
1686
1687         * BufferView_pimpl.C:
1688         * LyXAction.C:
1689         * ParagraphParameters.C:
1690         * ParameterStruct.h:
1691         * lyxfunc.C:
1692         * lyxtext.h:
1693         * paragraph.C:
1694         * paragraph.h:
1695         * paragraph_funcs.C:
1696         * paragraph_pimpl.C:
1697         * rowpainter.C:
1698         * text.C:
1699         * text2.C:
1700         * text3.C: adjust
1701
1702 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1703
1704         * text.C:
1705         * lyxrow_funcs.[Ch]:
1706         * Bidi.C:
1707         * paragraph.C:
1708         * lyxtext.h:
1709         * rowpainter.C:
1710         * text2.C:
1711         * text3.C: remove lastPos uses in favour of Row::endpos
1712
1713 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1714
1715         * undo.C (performUndoOrRedo): fix two crashes by setting a
1716         cursor by hand and reordering some calls. Use bv->lockInset instead
1717         of inset->edit because the latter loses cursor information
1718
1719 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1720
1721         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1722         by Martin
1723         (rowBreakPoint): fix width. change point to point + 1.
1724         Add a missing check.
1725
1726 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1727
1728         * MenuBackend.C:
1729         * lyxfunc.C: fix (at least partly) the problems
1730         with the Nav menu and headers inside branch insets
1731         reported by Kayvan
1732
1733 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1734
1735         * paragraph.C (getChar): add strong asserts
1736
1737         * lyxrow_funcs.C (lastPos): remove hideous hack
1738
1739         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1740         (fill): adjust to that (avoid an infinite loop)
1741
1742 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1743
1744         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1745
1746 2003-10-23  André Pönitz  <poenitz@gmx.net>
1747
1748         * RowList_fwd.h: change list<> to vector<> to gain speed
1749         after suggestion from Alfredo
1750
1751 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1752
1753         * lyxtext.h: move the bidi stuff from here...
1754         * text.C: and here
1755         * text2.C: and here
1756         * Bidi.[Ch]: ... to here
1757
1758 2003-10-23  André Pönitz  <poenitz@gmx.net>
1759
1760         * lyxtext.h:
1761         * text.C (isLastRow, isFirstRow): new functions
1762
1763         * paragraph.h: new width cache member
1764
1765         * rowpainter.C: replace RowList::iterator with Row & where possible
1766
1767         * lyxfunc.C: replace several view()->text with a single call
1768
1769         * toc.C: fix 'unused' warning
1770
1771 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1772
1773         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1774         when woring with stream::pos_type
1775         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1776
1777 2003-10-22  André Pönitz  <poenitz@gmx.net>
1778
1779         * lyxtext.h:
1780         * text.C: use Row & instead of RowList::iterator
1781
1782         * lyxrow.h: rename end() to endpos()
1783
1784         * rowpainter.C:
1785         * text.C:
1786         * text2.C: adjust
1787
1788 2003-10-22  Angus Leeming  <leeming@lyx.org>
1789
1790         * buffer.[Ch] (fully_loaded): new member function, returning true
1791         only when the file has been loaded fully.
1792         Used to prevent the premature generation of previews and by the
1793         citation inset to prevent computation of the natbib-style label.
1794
1795         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1796         templates are all set up.
1797
1798         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1799
1800 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1801
1802         * text.C: fixed an "oops" in the "is a bit silly"
1803         bug fix
1804
1805 2003-10-21  André Pönitz  <poenitz@gmx.net>
1806
1807         * FuncStatus.[Ch]: small stuff, whitespace
1808
1809         * lyxfont.[Ch]: operator<<() for debug reasons
1810
1811         * lyxfunc.C:
1812         * lyxrow_funcs.C:
1813         * lyxtext.h: whitespace, spelling
1814
1815         * paragraph.C: naming of variables
1816
1817         * text.C:
1818         * text2.C: small stuff
1819
1820
1821 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1822
1823         * text.C: (1) finish off the inset display() work;
1824         (2) fix the "is a bit silly" bug (accessing char
1825         past end of par).
1826
1827 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1828
1829         * text.C: re-introduce display() for insets, fixing the
1830         various bugs (stretch of line above, math inset
1831         positioning, ...)
1832
1833 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1834
1835         * text.C (rightMargin): remove spurious semicolon
1836
1837         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1838         1415)
1839
1840 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1841
1842         * text3.C: fix one crash due to wrong cursor def
1843
1844 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * vc-backend.C (scanMaster): make the regex static
1847
1848         * LaTeX.C (scanAuxFile): make the regexs static
1849
1850         * text3.C (doInsertInset, dispatch, dispatch):
1851         * text2.C (cursorUp, cursorDown):
1852         * text.C (selectNextWordToSpellcheck):
1853         * BufferView_pimpl.C (dispatch):
1854         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1855
1856 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1857
1858         * lyxsocket.C: include <cerrno>
1859
1860 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1861
1862         * lyxfunc.C (dispatch): remove textcache stuff
1863
1864         * bufferlist.C (release): remove textcache stuff
1865         (closeAll): ditto
1866
1867         * TextCache.C: delete file
1868         * TextCache.h: delete file
1869
1870         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1871
1872         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1873         delete of the bv_->text.
1874         (resizeCurrentBuffer): remove texcache stuff
1875         (workAreaResize): ditto
1876
1877 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1880         action.
1881
1882 2003-10-16  André Pönitz  <poenitz@gmx.net>
1883
1884         * lyxrow.[Ch]:
1885         * paragraph.h:
1886         * rowpainter.C:
1887         * text.C:
1888         * text2.C:
1889         * text3.C: speed up by storing y positions per paragraph plus per-row
1890         offset instead of having a 'full' y position in the row.
1891
1892 2003-10-15  André Pönitz  <poenitz@gmx.net>
1893
1894         * iterators.[Ch]:
1895         * iterators.[Ch]:
1896         * undo.[Ch]: make undo aware of inner insets
1897
1898 2003-10-14  Angus Leeming  <leeming@lyx.org>
1899
1900         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1901         static member functions LyX::ref() and LyX::cref.
1902         (lastfiles): new accessor functions for the new lastfiles_ member var.
1903         (addLyXView, views_): add a new LyXView to the list of views_.
1904         (updateInset): loop over all LyXViews to call their own updateInset
1905         member function, returning a pointer to the Buffer owning the inset.
1906
1907         * BufferView_pimpl.C (loadLyXFile):
1908         * MenuBackend.C (expandLastfiles):
1909         * bufferlist.C (MenuWrite, QuitLyX):
1910         lastfiles is no longer a global variable.
1911         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1912
1913         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1914         static function. Access through LyX::cref().emergencyCleanup().
1915
1916 2003-10-14  André Pönitz  <poenitz@gmx.net>
1917
1918         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1919
1920         * undo.[Ch]: restoring part of 'undo in insets'
1921
1922         * Makefile.am:
1923         * undo_funcs.[Ch]: merge with undo.[Ch]
1924
1925         * tabular.C: small cleansing stuff
1926
1927 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1928
1929         * paragraph_funcs.C (readParToken): report unknown insets as error
1930         boxes. Use the outer paragraph as location (also for unknown
1931         tokens).
1932
1933         * factory.C (readInset): do not abort on reading an unknown inset.
1934         Eat it and return 0.
1935
1936 2003-10-13  Angus Leeming  <leeming@lyx.org>
1937
1938         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1939
1940         * lyxrc.C: displayTranslator is now a function,
1941         declared in GraphicsTypes.h.
1942
1943 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1944
1945         * format.C: new placeholder $$a to pass the socket address.
1946
1947         * bufferlist.[Ch]: new function getBufferFromTmp.
1948
1949         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1950           files in the temporary dir.
1951
1952 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1953
1954         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1955
1956         * Makefile.am: add lyxsocket.[Ch].
1957
1958         * lyx_main.C (error_handler): handle SIGPIPE.
1959
1960 2003-10-13  André Pönitz  <poenitz@gmx.net>
1961
1962         * BufferView_pimpl.C:
1963         * lyxtext.h:
1964         * text.C:
1965         * text2.C:
1966         * text3.C:
1967         * undo_funcs.[Ch]: use paroffset_type instead of
1968           ParagraphList::iterators to prevent multiple conversion
1969           (and get a more robust interface)
1970
1971 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1972
1973         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1974         * lyxtext.h: ditto
1975         * text3.C (dispatch): ditto
1976
1977 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1978
1979         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1980         move the onlyfile, use onlyfile instead of foundfile in a couple
1981         of places.
1982
1983         * DepTable.C (update): flush the error stream a bit more
1984
1985 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1986
1987         * lyxserver.C (callback): adjust
1988
1989         * lyxfunc.C (getStatus): add a missing brace in commented code
1990         (ensureBufferClean): reindent
1991         (dispatch): delete version taking a string
1992
1993 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * LaTeX.C (deplog): move found file handlig from here...
1996         (handleFoundFile): .. to new function here.
1997         (deplog): make sure to discover several files mentioned on the
1998         same log line.
1999
2000 2003-10-10  André Pönitz  <poenitz@gmx.net>
2001
2002         * lyxfunc.C:
2003         * lyxtext.h:
2004         * tabular.C:
2005         * text.C:
2006         * text2.C:
2007         * text3.C: fix some of the tabular crashes
2008
2009 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2010
2011         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2012
2013         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2014
2015 2003-10-09  André Pönitz  <poenitz@gmx.net>
2016
2017         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2018
2019         * BufferView.C:
2020         * BufferView_pimpl.C:
2021         * bufferview_funcs.C:
2022         * lyx_cb.C:
2023         * lyxcursor.C:
2024         * lyxfind.C:
2025         * lyxfunc.C:
2026         * lyxtext.h:
2027         * text.C:
2028         * text2.C:
2029         * text3.C:
2030         * text_funcs.[Ch]:
2031         * textcursor.[Ch]:
2032         * undo_funcs.C: adjust
2033
2034 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2035
2036         * text2.C (incrementItemDepth): new function, use a backtracking
2037         algorithm to discover the correct item depth.
2038         (resetEnumCounterIfNeeded): new function, use a backtracking
2039         algorithm to discover if counter reset is needed.
2040         (setCounter): use them. Simplify a bit. Add different labels for
2041         different item depths for itemize.
2042
2043         * paragraph.C (Paragraph): remove initialization of enumdepth
2044         (operator=): ditto
2045
2046         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2047         enumerate and itemize. Change the type of itemdepth to signed char.
2048
2049 2003-10-08  André Pönitz  <poenitz@gmx.net>
2050
2051         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2052           thing assignable.
2053         * text.C:
2054         * text2.C: adjust
2055
2056         * tabular.[Ch]: fix crash after 'row-insert'
2057
2058 2003-10-08  Angus Leeming  <leeming@lyx.org>
2059
2060         Fix doxygen warnings.
2061
2062         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2063         Remove CutAndPaste:: prefix from header file declaration.
2064
2065         * LColor.h (fill): remove LColor:: prefix from declaration.
2066
2067         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2068         use lyx::depth_type rather than Paragraph::depth_type so that
2069         header file and .C file match.
2070
2071         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2072
2073         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2074         * aspell.C: \file aspell_local.C -> \file aspell.C
2075         * gettext.C: \file gettext.C -> \file src/gettext.C
2076         * gettext.h: \file gettext.h -> \file src/gettext.h
2077         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2078         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2079         * text.C: \file text.C -> \file src/text.C
2080
2081         * toc.C: move comment so that doxygen is not confused.
2082
2083 2003-10-07  Angus Leeming  <leeming@lyx.org>
2084
2085         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2086
2087 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2088
2089         * aspell.C:
2090         * aspell_local.h: add forgotten std::string's.
2091
2092 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2093
2094         * LaTeXFeatures.C:
2095         * LyXAction.C:
2096         * factory.C:
2097         * lfuns.h:
2098         * lyxfunc.C:
2099         * text3.C: The Box patch. Fancybox support, minipage, parbox
2100
2101 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2102
2103         * CutAndPaste.h:
2104         * DepTable.h:
2105         * FloatList.h:
2106         * LaTeXFeatures.h:
2107         * ParagraphParameters.h:
2108         * TextCache.h:
2109         * Thesaurus.h:
2110         * bufferlist.h:
2111         * exporter.h:
2112         * importer.h:
2113         * lastfiles.h:
2114         * lyxfind.h:
2115         * lyxfont.h:
2116         * lyxlex.h:
2117         * lyxtextclasslist.h:
2118         * messages.h:
2119         * paragraph.h:
2120         * paragraph_pimpl.C:
2121         * textcursor.h: add <string> and other small fixes to make Lars'
2122         std::string patch compile with STLport.
2123
2124 2003-10-06  Angus Leeming  <leeming@lyx.org>
2125
2126         * LColor.h: Add missing #include <string>.
2127
2128 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2129
2130         * All most all file in all subdirs: Make <string> be the prefered
2131         way of getting to std::string, add using declarations.
2132
2133 2003-10-06  André Pönitz  <poenitz@gmx.net>
2134
2135         * metricsinfo.C: initialize LyXFont before changing attribute.
2136         (fixes the 'math in \emph is upright' bug)
2137
2138 2003-10-06  André Pönitz  <poenitz@gmx.net>
2139
2140         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2141
2142 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2143
2144         * graph.C:
2145         * paragraph_pimpl.C: Small fixes to build using STLport
2146
2147 2003-10-02  André Pönitz  <poenitz@gmx.net>
2148
2149         * lyxfunc.C:
2150         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2151
2152 2003-10-01  André Pönitz  <poenitz@gmx.net>
2153
2154         * factory.C: assert early
2155
2156 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2157
2158         * lyx_main.C: remove the global debug object
2159
2160         * debug.h: adjust for new debugstream
2161
2162         * debug.C: adjust for new debugstream and keep the global debug
2163         object here.
2164
2165 2003-09-22  Angus Leeming  <leeming@lyx.org>
2166
2167         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2168         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2169         an incomplete class LyXFont.
2170
2171 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2172
2173         * factory.C: bug fix in branches
2174
2175 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2176
2177         * lyxfunc.C (processKeySym): adjust
2178         (dispatch): adjust
2179         (dispatch): change arg name from ev to func, adjust
2180         (sendDispatchMessage): ditto
2181
2182         * lyx_main.C (defaultKeyBindings): adjust keybindings
2183         (deadKeyBindings): ditto
2184
2185         * kbsequence.C (addkey): return a FuncRequest
2186
2187         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2188
2189         * kbmap.C (bind): take a FuncRequest as arg, adjust
2190         (read): adjust
2191         (lookup): adjust
2192         (defkey): change to take a FuncRequest as arg, adjust
2193         (findbinding): take a FuncRequest as arg, adjust.
2194
2195         * funcrequest.h (operator=): added
2196
2197         * funcrequest.C (FuncRequest): default kb_action changed from
2198         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2199
2200         * buffer.C (dispatch): simplify
2201         (dispatch): adjust to take a FuncRequest as arg, adjust
2202
2203         * boost.C (assertion_failed): change assertion message slightly
2204
2205         * ToolbarBackend.C (read): simplify
2206
2207         * MenuBackend.C (binding): adjust call to findbinding, add a
2208         message if no binding is found.
2209         (read): simplify
2210         (expandToc): correct by adding a empty FuncRequest
2211
2212         * LyXAction.C: include <boost/assert.hpp>
2213         (isPseudoAction): delete function
2214         (LookupFunc): change name to...
2215         (lookupFunc): this. change return type to FuncRequest.
2216         (getActionName): take kb_action as arg, simplify
2217         (funcHasFlag): add an assert, simplify.
2218
2219 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2220
2221         * toc.C (action): return a FuncRequest, simplify
2222
2223         * lyxfunc.C (processKeySym): adjust
2224         (getStatus): delete version that takes an int.
2225         (getStatus): adjust
2226         (dispatch): delete version that takes action as int
2227         (dispatch): adjust
2228         (sendDispatchMessage): simplify and adjust
2229
2230         * funcrequest.C (getArg): take unsigned int as arg
2231
2232         * ToolbarBackend.C (read): adjust
2233         (add): delete version that takes func as a string.
2234         (getIton): take a FuncRequest as arg
2235
2236         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2237         action.
2238
2239         * MenuBackend.C (MenuItem): add a new construct that only takes a
2240         Kind, simplify the constructor use for submenus.
2241         (add): adjust
2242         (expandLastfiles): adjust
2243         (expandDocuments): adjust
2244         (expandFormats): adjust
2245         (expandFloatListInsert): adjust
2246         (expandFloatInsert): adjust
2247         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2248
2249         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2250         Remove class variables lyx_pseudo_map and lyx_arg_map
2251
2252         * LyXAction.C (searchActionArg): delete function
2253         (getPseudoAction): delete function
2254         (retrieveActionArg): delete function
2255         (LookupFunc): make it return kb_action, simplify.
2256         (getActionName): simplify
2257
2258         * factory.C (createInset): fix new bug
2259
2260 2003-09-19  Angus Leeming  <leeming@lyx.org>
2261
2262         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2263         masterFilename_ parameter in the include inset.
2264
2265         * factory.C (createInset): changes due to the changes to InsetInclude.
2266
2267 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2268
2269         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2270
2271 2003-09-18  Angus Leeming  <leeming@lyx.org>
2272
2273         * buffer.C:
2274         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2275         Inset::fillWithBibKeys.
2276         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2277
2278 2003-09-18  Angus Leeming  <leeming@lyx.org>
2279
2280         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2281         variables.
2282         (ctor): pass and store a 'Buffer const &'
2283         (buffer): new member function.
2284
2285         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2286         '*this' to the LaTeXFeatures ctor.
2287
2288 2003-09-18  Angus Leeming  <leeming@lyx.org>
2289
2290         * LColor.h:
2291         * lyxfont.C:
2292         * lyxfont.h:
2293         * lyxtext.h:
2294         * text.C: rename EnumLColor as LColor_color.
2295
2296 2003-09-18  Angus Leeming  <leeming@lyx.org>
2297
2298         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2299         remove #include "insets/insetbase.h" from cursor.h.
2300
2301 2003-09-18  Angus Leeming  <leeming@lyx.org>
2302
2303         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2304         InsetOld_code to remove #include "inset.h".
2305
2306         * iterators.C: add #include "insets/inset.h"
2307
2308 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2309
2310         * BufferView.C: remove more locking stuff that apparently doesn't
2311         do anything sensible.
2312
2313 2003-09-16  André Pönitz  <poenitz@gmx.net>
2314
2315         * paragraph.[Ch]:
2316         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2317           performance boost.
2318
2319 2003-09-16  Angus Leeming  <leeming@lyx.org>
2320
2321         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2322
2323         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2324         arg/return type.
2325
2326         * paragraph.h: remove #include "lyxfont.h". Forward declare
2327         LyXFont_size.
2328
2329 2003-09-16  Angus Leeming  <leeming@lyx.org>
2330
2331         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2332         of support/textutils.h.
2333         (isWord): move the contents of support/textutils.h's IsWordChar here.
2334
2335         * buffer.C:
2336         * lyxfind.C:
2337         * rowpainter.C:
2338         * text.C:
2339         * text2.C: add #include "paragraph.h".
2340
2341         * rowpainter.C:
2342         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2343
2344 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2345
2346         * main.C:
2347         * lyx_main.C:
2348         * lyx_cb.C:
2349         * buffer.C:
2350         * LaTeX.C: use namespace alias for lyx::support::os
2351
2352 2003-09-16  Angus Leeming  <leeming@lyx.org>
2353
2354         * bufferparams.C:
2355         * bufferview_funcs.C:
2356         * factory.C:
2357         * lyxfunc.C:
2358         * paragraph_pimpl.C:
2359         * rowpainter.C:
2360         * text.C: add #include "LColor.h".
2361
2362 2003-09-16  Angus Leeming  <leeming@lyx.org>
2363
2364         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2365         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2366         return LyXFont &.
2367         Store the FontBits::color variable as an int rather than as an
2368         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2369         file.
2370
2371         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2372         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2373         string calls together.
2374
2375         * lyxrc.C: add #include "LColor.h".
2376
2377 2003-09-15  Angus Leeming  <leeming@lyx.org>
2378
2379         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2380         a cow_ptr.
2381
2382 2003-09-15  Angus Leeming  <leeming@lyx.org>
2383
2384         * LColor.h: add an EnumLColor wrapper for LColor::color.
2385
2386         * lyxfont.[Ch] (color, setColor, realColor):
2387         * lyxtext.h, text.C (backgroundColor):
2388         pass EnumLColor args to/from the functions, rather than LColor::color
2389         ones.
2390
2391         * lyxfont.h:
2392         * lyxtext.h: forward declare EnumLColor.
2393
2394         * lyx_main.C: add #include "LColor.h".
2395
2396 2003-09-15  Angus Leeming  <leeming@lyx.org>
2397
2398         * .cvsignore: add lyx-gtk.
2399
2400 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * Chktex.C
2403         * LaTeX.C
2404         * LaTeXFeatures.C
2405         * ParagraphParameters.C
2406         * Spacing.C
2407         * buffer.C
2408         * bufferparams.C
2409         * bufferview_funcs.C
2410         * chset.C
2411         * counters.C
2412         * funcrequest.C
2413         * lyxfont.C
2414         * lyxgluelength.C
2415         * lyxlength.C
2416         * paragraph.C
2417         * paragraph_funcs.C
2418         * text3.C
2419         * vc-backend.C: remove usage of STRCONV
2420
2421 2003-09-15  Angus Leeming  <leeming@lyx.org>
2422
2423         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2424         explicitly define the color passed to the painter.
2425
2426 2003-09-15  Angus Leeming  <leeming@lyx.org>
2427
2428         * bufferparams.C (BufferParams): reorder member initializers to avoid
2429         compiler warning.
2430
2431 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2432
2433         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2434         * text.C (updateRowPositions): remove an unusual nop
2435
2436 2003-09-12  André Pönitz  <poenitz@gmx.net>
2437
2438         * BufferView_pimpl.C:
2439         * Bullet.C:
2440         * layout.h:
2441         * lyxfunc.C:
2442         * lyxlayout.[Ch]:
2443         * lyxtextclass.C:
2444         * rowpainter.C:
2445         * text.C:
2446         * text2.C:
2447         * Counters.[Ch]: finish the 'automatic counters' job
2448
2449 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2450
2451         * aspell.C: include <boost/assert.cpp> (compile fix)
2452
2453 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2454
2455         * boost.C (assertion_failed): use lyx::support::abort instead of
2456         assert.
2457
2458 2003-09-10  Angus Leeming  <leeming@lyx.org>
2459
2460         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2461         with their _fwd progeny.
2462
2463 2003-09-09  Angus Leeming  <leeming@lyx.org>
2464
2465         134 files throughtout the source tree: replace 'using namespace abc;'
2466         directives with the appropriate 'using abc::xyz;' declarations.
2467
2468 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2469
2470         * boost.C (emergencyCleanup): moved here from LAssert.c
2471         (assertion_failed): new function, called by BOOST_ASSERT
2472
2473         * several files: change Assert to BOOST_ASSERT
2474
2475 2003-09-09  Angus Leeming  <leeming@lyx.org>
2476
2477         * buffer.[Ch]: Add an Impl class and move Buffer's member
2478         variables into it. As a result move several header files out of
2479         buffer.h.
2480
2481         Add header files to lots of .C files all over the tree as a result.
2482
2483 2003-09-09  Angus Leeming  <leeming@lyx.org>
2484
2485         * buffer.[Ch]: make Buffer's member variables private. Add
2486         accessor functions.
2487
2488         Lots of changes all over the tree as a result.
2489
2490 2003-09-08  Angus Leeming  <leeming@lyx.org>
2491
2492         * graph.C: #include <config.h>.
2493
2494 2003-09-08  Angus Leeming  <leeming@lyx.org>
2495
2496         * BranchList.C:
2497         * BufferView.C:
2498         * BufferView_pimpl.C:
2499         * CutAndPaste.C:
2500         * DepTable.C:
2501         * LaTeX.C:
2502         * LaTeXFeatures.C:
2503         * LyXAction.C:
2504         * MenuBackend.C:
2505         * TextCache.C:
2506         * aspell.C:
2507         * buffer.C:
2508         * bufferlist.C:
2509         * changes.C:
2510         * chset.C:
2511         * converter.C:
2512         * counters.C:
2513         * debug.C:
2514         * graph.C:
2515         * ispell.C:
2516         * lyx_cb.C:
2517         * lyxfind.C:
2518         * lyxfunc.C:
2519         * lyxlex_pimpl.C:
2520         * lyxrc.C:
2521         * lyxrow.C:
2522         * paragraph.C:
2523         * rowpainter.C:
2524         * texrow.C:
2525         * text.C:
2526         * text2.C:
2527         * toc.C: remove redundant using directives.
2528
2529 2003-09-07  Angus Leeming  <leeming@lyx.org>
2530
2531         * LaTeXFeatures.h: remove #include "support/types.h".
2532         * ToolbarBackend.h: remove #include <algorithm>.
2533         * changes.h: remove #include <ctime>.
2534         * debug.h: remove #include <iosfwd>.
2535         * graph.h: remove #include "support/std_string.h".
2536         * lyx_main.h: remove #include <csignal>.
2537         * lyxlex_pimpl.h: remove #include <fstream>.
2538         * sgml.h: remove #include <algorithm>, <utility>.
2539         * toc.h: remove #include "support/std_ostream.h".
2540         Add #include <iosfwd>.
2541
2542 2003-09-07  Angus Leeming  <leeming@lyx.org>
2543
2544         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2545
2546         * converter.h: forward declare LatexRunParams.
2547         * encoding.h: remove #include "lyxrc.h".
2548         * lyxtext.h: remove #include "LColor.h".
2549         * lyxtextclass.h: remove #include "support/types.h".
2550         * trans.h: remove #include "tex-accent.h".
2551         * trans_mgr.h: remove #include "tex-accent.h".
2552         * insets/inset.h: remove #include "support/types.h", <vector>.
2553         * insets/insetcollapsable.h: remove #include "LColor.h".
2554         * insets/insetinclude.h: remove #include "dimension.h".
2555         * insets/insetlatexaccent.h: remove #include "dimension.h".
2556         * insets/insetoptarg.h:: remove #include "insettext.h".
2557         * insets/insettext.h: remove #include "dimension.h",
2558         <boost/shared_ptr.hpp>
2559
2560         * insets/renderers.h: add #include "dimension.h".
2561         * insets/updatableinset.h: add #include "support/types.h".
2562
2563         * many .C files: Associated changes.
2564
2565 2003-09-06  Angus Leeming  <leeming@lyx.org>
2566
2567         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2568         one, inside testInvariant.
2569
2570         * PrinterParams.C: new file.
2571         * PrinterParams.[Ch]: move the function bodies out of line.
2572
2573 2003-09-06  Angus Leeming  <leeming@lyx.org>
2574
2575         * ParagraphParameters.h: forward declare ParameterStruct rather than
2576         including its header file.
2577         (depth): moved out-of-line.
2578
2579 2003-09-06  Angus Leeming  <leeming@lyx.org>
2580
2581         * BufferView_pimpl.h:
2582         * kbmap.h:
2583         * kbsequence.h:
2584         * lyxfunc.h: forward declare LyXKeySym rather than
2585         #include "frontends/LyXKeySym.h".
2586
2587         * BufferView_pimpl.C:
2588         * kbmap.C:
2589         * kbsequence.C:
2590         * lyxfunc.C: associated changes.
2591
2592 2003-09-06  Angus Leeming  <leeming@lyx.org>
2593
2594         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2595         As a result, can remove the #include "insets/inset.h" from BufferView.h
2596
2597 2003-09-06  Angus Leeming  <leeming@lyx.org>
2598
2599         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2600         As a result, can remove the #include "insets/inset.h" from BufferView.h
2601
2602 2003-09-06  Angus Leeming  <leeming@lyx.org>
2603
2604         * buffer_funcs.C:
2605         * buffer.h:
2606         * bufferlist.C:
2607         * BufferView.C:
2608         * bufferview_funcs.C:
2609         * BufferView_pimpl.C:
2610         * CutAndPaste.C:
2611         * lyx_cb.C:
2612         * lyxfunc.C:
2613         * paragraph.h:
2614         * ParagraphParameters.C:
2615         * tabular.C:
2616         * text3.C:
2617         * toc.C:
2618         * undo_funcs.C:
2619         * frontends/controllers/ControlDocument.C:
2620         * insets/insetcaption.C: rearrange the #includes into some sort of
2621         coherent order.
2622
2623         * buffer.h: remove #includes ErrorList.h, undo.h
2624
2625 2003-09-06  Angus Leeming  <leeming@lyx.org>
2626
2627         * support/types.h: add a 'depth_type' typedef, used to store the
2628         nesting depth of a paragraph.
2629
2630         * paragraph.h:
2631         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2632         defining explicitly.
2633
2634         * buffer.h:
2635         * paragraph_funcs.h:
2636         * ParagraphParameters.h:
2637         * sgml.h: use lyx::depth_type rather than Paragraph or
2638         ParameterStruct's depth_type.
2639
2640         * buffer.h
2641         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2642
2643         * BufferView.C:
2644         * BufferView_pimpl.C:
2645         * CutAndPaste.C:
2646         * ParagraphParameters.C:
2647         * buffer_funcs.C:
2648         * bufferlist.C:
2649         * bufferview_funcs.C:
2650         * lyx_cb.C:
2651         * lyxfunc.C:
2652         * tabular.C:
2653         * text3.C:
2654         * toc.C:
2655         * undo_funcs.C:
2656         * frontends/LyXView.C:
2657         * frontends/controllers/ControlDocument.C:
2658         * frontends/controllers/ControlErrorList.C:
2659         * insets/insetbibitem.C:
2660         * insets/insetbranch.C:
2661         * insets/insetcaption.C:
2662         * insets/insetcollapsable.C:
2663         * insets/insetenv.C:
2664         * insets/insetert.C:
2665         * insets/insetfloat.C:
2666         * insets/insetfoot.C:
2667         * insets/insetfootlike.C:
2668         * insets/insetnewline.C:
2669         * insets/insetquotes.C:
2670         * insets/insettabular.C:
2671         * insets/insettext.C:
2672         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2673
2674         * frontends/controllers/ControlChanges.C: #include "changes.h".
2675
2676 2003-09-06  Angus Leeming  <leeming@lyx.org>
2677
2678         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2679         than #including paragraph.h.
2680
2681         * ParagraphList.h:
2682         * RowList.h: deleted. Superfluous.
2683
2684         * CutAndPaste.h:
2685         * iterators.h:
2686         * lyxcursor.h:
2687         * lyxtext.h:
2688         * text_funcs.h:
2689         * undo.h:
2690         * undo_funcs.h:
2691         * insets/inset.h:
2692         * insets/insettext.h: use ParagraphList_fwd.h rather than
2693         ParagraphList.h.
2694
2695         * paragraph.h: don't forward declare ParagraphList.
2696
2697         * buffer.h:
2698         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2699         rather than ParagraphList.h. paragraph.h is still needed for the
2700         Paragraph::depth_type parameters.
2701
2702         * textcursor.h: enable it to compile stand-alone in light of the
2703         above changes.
2704
2705         * bufferview_funcs.C:
2706         * iterators.C:
2707         * lyxfunc.C:
2708         * lyxrow_funcs.C:
2709         * paragraph.C:
2710         * rowpainter.C:
2711         * text.C:
2712         * text2.C:
2713         * text3.C:
2714         * text_funcs.C:
2715         * textcursor.C:
2716         * undo.C:
2717         * frontends/controllers/ControlParagraph.C:
2718         * frontends/controllers/ControlTabular.C:
2719         * insets/insetmarginal.C:
2720         * insets/insetminipage.C:
2721         * insets/insetnote.C:
2722         * insets/insetoptarg.C: add header files needed to compile again.
2723
2724 2003-09-06  Angus Leeming  <leeming@lyx.org>
2725
2726         * RowList_fwd.h: new file, forward-declaring Row rather than
2727         #including lyxrow.h.
2728
2729         * lyxrow_funcs.h:
2730         * lyxtext.h:
2731         * paragraph.h:
2732         * insets/insettext.h: use it instead of RowList.h
2733
2734         * bufferview_funcs.C:
2735         * lyxfunc.C:
2736         * lyxrow_funcs.C:
2737         * paragraph.C:
2738         * rowpainter.C:
2739         * text.C:
2740         * text2.C:
2741         * text3.C: #include "RowList.h".
2742
2743 2003-09-05  Angus Leeming  <leeming@lyx.org>
2744
2745         * factory.C (createInset):
2746         * vspace.C (c-tor): replace sscanf call with an istringstream.
2747         * ispell.C: re-add missing HP/UX headers.
2748         * lyxserver.C: re-add missing  os2 headers.
2749
2750 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2751
2752         * BranchList.C:
2753         * graph.C:
2754         * ispell.C:
2755         * lastfiles.C:
2756         * lyx_cb.C:
2757         * lyxserver.C:
2758         * texrow.C:
2759         * text3.C: re-add missing system headers, needed for 2.95.2.
2760
2761 2003-09-05  Angus Leeming  <leeming@lyx.org>
2762
2763         Changes most place everywhere due to the removal of using directives
2764         from support/std_sstream.h.
2765
2766 2003-09-05  Angus Leeming  <leeming@lyx.org>
2767
2768         Replace LString.h with support/std_string.h,
2769         Lsstream.h with support/std_sstream.h,
2770         support/LIstream.h with support/std_istream.h,
2771         support/LOstream.h with support/std_ostream.h.
2772
2773         Changes resulting throughout the tree.
2774
2775 2003-09-05  Angus Leeming  <leeming@lyx.org>
2776
2777         * sgml.h: ensure that the header file can be compiled stand-alone.
2778         * *.C: strip out redundant #includes. (320 in total.)
2779
2780 2003-09-04  Angus Leeming  <leeming@lyx.org>
2781
2782         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2783         here (from getPackages).
2784
2785         * debug.[Ch]: add a new EXTERNAL tag.
2786
2787 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2788
2789         * text2.C (cursorEnd): simplify
2790         (setCursor): adjust
2791         (getColumnNearX): adjust
2792
2793         * text.C (computeBidiTables): adjust
2794         (fill): adjust
2795
2796         * rowpainter.C (paintChars): adjust
2797         (paintSelection): adjust
2798         (paintChangeBar): adjust
2799         (paintText): adjust
2800
2801         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2802         lastPos instead.
2803         (numberOfSeparators): adjust
2804
2805 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2806
2807         * LyXAction.C:
2808         * box.[Ch]:
2809         * lfuns.h:
2810         * lyxfunc.C:
2811         * text3.C: Restricts the mouse click functionality
2812         of insets like bibtex, include, toc and floatlist to the visible
2813         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2814         up the dialogs. Cursor has to be in front of the inset (i.e.
2815         start of row) for this to function.
2816
2817 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2818
2819         * bufferview_funcs.C (currentState): output row information
2820
2821 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2822
2823         * bufferview_funcs.C (currentState): output paragraph position
2824
2825 2003-09-04  Angus Leeming  <leeming@lyx.org>
2826
2827         * FloatList.h: move out #include "Floating.h".
2828         * LaTeX.h: move out #include "DepTable.h".
2829         * LyXAction.h: move out #include "funcrequest.h".
2830         * buffer.h: move out #include "author.h", "iterators.h".
2831         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2832         * lyx_main.h: move out #include "errorlist.h".
2833         * lyxfunc.h: move out #include "FuncStatus.h".
2834         * lyxtext: move out #include "lyxcursor.h".
2835         * paragraph_pimpl.h: move out #include "counters.h".
2836
2837 2003-09-03  Angus Leeming  <leeming@lyx.org>
2838
2839         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2840         preamble_snippets list, enabling us to add snippets to the preamble
2841         only if the snippet was not there already.
2842
2843 2003-09-04  Angus Leeming  <leeming@lyx.org>
2844
2845         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2846
2847 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2850         update
2851
2852 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2853
2854         * BranchList.C: point fix, earlier forgotten
2855
2856 2003-09-02  Angus Leeming  <leeming@lyx.org>
2857
2858         * box.C (contains): renamed from 'contained' after a fantastic
2859         amount of hot air.
2860
2861 2003-09-02  John Levon  <levon@movementarian.org>
2862
2863         * BufferView.C:
2864         * lyxcursor.h:
2865         * lyxcursor.C:
2866         * lyxfunc.C:
2867         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2868
2869 2003-09-02  John Levon  <levon@movementarian.org>
2870
2871         * text2.C: simplification of cursorEnd(), including partial
2872         fix for bug 1376
2873
2874 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * buffer.C (readFile): add a space
2877
2878 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2881
2882 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * buffer.C (readFile): new function, take a filename and a
2885         ParagraphList::iterator
2886         (readFile): adjust
2887         (readFile): adjust, make it private. don't use setStream, make
2888         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2889         always contain the filename.
2890
2891         * BufferView.C (insertLyXFile): simplify and make it work for
2892         gzipped files.
2893
2894 2003-08-30  John Levon  <levon@movementarian.org>
2895
2896         * Makefile.am: fix dist (from Kayvan)
2897
2898 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * most files: change to use const Buffer refs
2901
2902 2003-08-27  André Pönitz  <poenitz@gmx.net>
2903
2904         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2905         on top of ownerPar().
2906
2907 2003-08-27  John Levon  <levon@movementarian.org>
2908
2909         * funcrequest.C: properly initialise POD members
2910
2911 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * lyxtext.h (top_y): move top_y from here
2914         * text.C:
2915         * text2.C:
2916         * text3.C:
2917         * BufferView.[Ch]:
2918         * BufferView_pimpl.[Ch]: to here
2919         * frontends/screen.C:
2920         * insets/insettabular.C:
2921         * insets/insettext.C: adjust
2922         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2923
2924 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2925
2926         * BufferView.[Ch]:
2927         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2928
2929 2003-08-26  André Pönitz  <poenitz@gmx.net>
2930
2931         * paragraph_func.[Ch] (outerPar): new function
2932
2933         * paragraph.C:
2934         * paragraph_funcs.C:
2935         * paragraph_funcs.h:
2936         * paragraph_pimpl.C:
2937         * text2.C: remove Inset::par_owner
2938
2939 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2940
2941         * lyxrow_funcs.C:
2942         * lyxtext.h:
2943         * text.C:
2944         * text2.C: eliminates the needFullRow/display() stuff
2945         altogether, putting the logic in metrics/draw in the insets.
2946
2947 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2948
2949         * text2.C (redoParagraphInternal, redoParagraphs):
2950         * text.C (redoParagraph): add a call to updateRowPositions at the
2951         end of each 'metrics-like' call. Remove all others.
2952         (getRow): remove the 'y-computing' version.
2953         (getRowNearY): do not compute nor return the real y. Solve the
2954         'y < 0' problem and simplify.
2955
2956 2003-08-22  Angus Leeming  <leeming@lyx.org>
2957
2958         * *.[Ch]: clean-up of licence and author blurbs.
2959         Also move config.h out of a few .h files and into a few .C files.
2960
2961 2003-08-22  André Pönitz  <poenitz@gmx.net>
2962
2963         * lyxrow.[Ch]: add x_ and *fill_ members
2964
2965         * lyxtext.h:
2966         * text.C:
2967         * rowpainter.C:
2968         * text2.C: adjust/remove prepareToPrint() calls
2969
2970 2003-08-22  André Pönitz  <poenitz@gmx.net>
2971
2972         * lyxrow.[Ch]: add  end_ member
2973
2974         * lyxrow_funcs.C: use LyXRow::end_
2975
2976         * lyxtext.h (singleWidth): add LyXFont parameter
2977
2978         * rowpainter.C:
2979         * text2.C: adjust LyXText::singleWidth() calls
2980
2981         * text.C (redoParagraph): simplify row breaking logic
2982
2983
2984 2003-08-19  André Pönitz  <poenitz@gmx.net>
2985
2986         * funcrequest.C: initialize button_ member
2987
2988         * text3.C:
2989         * rowpainter.[Ch]: interface consolidation
2990
2991 2003-08-18  André Pönitz  <poenitz@gmx.net>
2992
2993         * BufferView.C:
2994         * BufferView_pimpl.C:
2995         * lyxfind.C:
2996         * paragraph_funcs.C:
2997         * rowpainter.C:
2998         * text3.C: remove LyXScreen::draw() and fitCursor calls
2999
3000         * BranchList.h: remove spurious semicolons
3001
3002         * MenuBackend.C: fix branchlist related crash
3003
3004 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3005
3006         * BranchList.[Ch]:
3007         * InsetList.[Ch]:
3008         * LColor.[Ch]:
3009         * LyXAction.C:
3010         * Makefile.am:
3011         * MenuBackend.[Ch]:
3012         * bufferparams.[Ch]:
3013         * factory.C:
3014         * lfuns.h:
3015         * lyxfunc.C:
3016         * text3.C: implements the 'branch inset'
3017         idea. This allows the output of various versions of a document
3018         from a single source version, selectively outputing or suppressing
3019         output of parts of the text.
3020         This implementation contains a 'branch list editor' in a separate
3021         tab of the document settings dialog. Branches are user definable
3022         and have a "display colour" to distinguish them on-screen.
3023
3024         ColorHandler was somewhat cleaned up.
3025         (1) make possible a dynamically growing LColor list by allowing
3026         the graphic context cache to grow along (vector);
3027         (2) eliminate an IMHO unnecessary step in colour allocation.
3028
3029 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3030
3031         * BufferView_pimpl.C: compile fix
3032
3033 2003-08-15  André Pönitz  <poenitz@gmx.net>
3034
3035         * rowpainter.C: remove extra metrics calls
3036
3037         * lyxtext.h: merge the two constructors into a single one,
3038           pass reference to owner's par list
3039
3040         * BufferView_pimpl.C:
3041         * text.C:
3042         * text2.C: adjust
3043
3044 2003-08-15  André Pönitz  <poenitz@gmx.net>
3045
3046         * lyxrow_funcs.[Ch]:
3047         * lyxtext.h:
3048         * paragraph.h:
3049         * paragraph_funcs.C:
3050         * rowpainter.C:
3051         * text.C:
3052         * text2.C:
3053         * text3.C:
3054         * text_funcs.C: split LyXText::rowlist_ into individual
3055         Paragraph::rows_ chunks
3056
3057         * BufferView.[Ch]:
3058         * BufferView_pimpl.[Ch]:
3059         * lyxfind.C:
3060         * lyxtext.h:
3061         * text3.C: remove toggleSelection()
3062
3063 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3064
3065         * bufferlist.C: beautify two alerts (shorter text of buttons)
3066         * buffer.C: Remove redundant ' ' from message
3067         * tabular.h:
3068         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3069         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3070         rename VALIGN_CENTER to VALIGN_MIDDLE
3071
3072 2003-08-11  André Pönitz  <poenitz@gmx.net>
3073
3074         * lyxtext.h (getPar):
3075         * text.C: new function
3076
3077 2003-08-11  André Pönitz  <poenitz@gmx.net>
3078
3079         * Makefile.am:
3080         * tracer.[Ch]: remove unneeded files
3081
3082         * InsetList.[Ch]: remove resizeInsetsLyXText()
3083
3084         * lyxtext.h:
3085         * text.C:
3086         * text2.C:
3087         * text3.C: merge insertParagraphs() and appendParagraph()
3088         remove breakAgain(), update()
3089
3090         * BufferView_pimpl.[Ch]:
3091         * bufferview_funcs.[Ch]:
3092         * lyxfunc.C:
3093         * paragraph.[Ch]:
3094         * rowpainter.C:
3095         * tabular.C: adjust after text & InsetList changes.
3096
3097 2003-08-08  André Pönitz  <poenitz@gmx.net>
3098
3099         * text.C (insertChar, backspace): replace rowlist fiddling
3100         with rebreak of full par
3101
3102         * lyxtext.h:
3103         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3104         checkParagraph, updateInset): removed
3105
3106 2003-08-07  André Pönitz  <poenitz@gmx.net>
3107
3108         * paragraph.C:
3109         * text3.C: merge some LFUN handlers, remove dead code
3110
3111 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3112
3113         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3114
3115 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * text2.C (DEPM): fix part of bug 1255 and 1256
3118
3119 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3120
3121         * BufferView_pimpl.C (workAreaDispatch): change to use
3122         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3123         that are no mouse related.
3124
3125 2003-08-05  André Pönitz  <poenitz@gmx.net>
3126
3127         * BufferView.[Ch]:
3128         * BufferView_pimpl.[Ch]:
3129         * bufferview_funcs.C:
3130         * text2.C:
3131         * text3.C: rip out "deep update"
3132
3133         * textcursor.[Ch] (last_sel_cursor): remove unused member
3134
3135 2003-08-04  André Pönitz  <poenitz@gmx.net>
3136
3137         * BufferView.[Ch]:
3138         * BufferView_pimpl.[Ch]:
3139         * ParagraphParameters.C:
3140         * bufferview_funcs.C:
3141         * lyx_cb.C:
3142         * lyxfind.C:
3143         * lyxfunc.C:
3144         * text.C:
3145         * text2.C:
3146         * text3.C: replace "complicated" BufferView::update(...) calls with
3147         simpler ones.
3148
3149         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3150
3151 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3152
3153         * Makefile.am (lyx_SOURCES): add paper.h
3154
3155 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3156
3157         * Makefile.am: move things around so that both lyx-qt and
3158         lyx-xforms can be built (according to --with-frontend). Then lyx
3159         is a symbolic link to lyx-[firstfrontend]
3160
3161 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3162
3163         * Always use std::endl with lyxerr
3164
3165 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3166
3167         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3168
3169 2003-08-01  André Pönitz  <poenitz@gmx.net>
3170
3171         * BufferView.[Ch]:
3172         * BufferView_pimpl.[Ch]:
3173         * lyxfunc.C:
3174         * text3.C: merge BufferView::repaint() and BufferView::update()
3175
3176 2003-08-01  José Matos  <jamatos@lyx.org>
3177
3178         * buffer.[Ch]: file_format is no longer a buffer data element.
3179
3180 2003-08-01  André Pönitz  <poenitz@gmx.net>
3181
3182         * BufferView.C:
3183         * lyxtext.h:
3184         * text.C:
3185         * text2.C: make redoParagraph more independent of current cursor
3186
3187         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3188         * text.C:
3189         * text2.C: remove unneeded members
3190
3191 2003-07-30  André Pönitz  <poenitz@gmx.net>
3192
3193         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3194
3195         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3196           create a single function...
3197
3198         * paragraph_funcs.C (moveItem): ... here.
3199
3200         * text.C:
3201           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3202
3203 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3204
3205         * LColor.[Ch]: Add comment and greyedout logical colors.
3206
3207 2003-07-30  André Pönitz  <poenitz@gmx.net>
3208
3209         * tabular.C: don't use Assert too heavily. This crashes where it
3210           shouldn't
3211
3212 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3213
3214         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3215         is disabled (bug 1232)
3216
3217 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3218
3219         * factory.C: limited 'arg' scope
3220
3221 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3222
3223         * factory.C: fixed Note submenu issues
3224
3225 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3226
3227         * factory.C: submenu for Note/Comment/Greyedout
3228
3229 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * lyx_main.C (LyX):
3232         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3233
3234 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3235
3236         * LaTeXFeatures.C:
3237         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3238         greyedout. Patch provided by Jürgen Spitzmüller.
3239
3240 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3241
3242         * kbmap.C (read): fix error message when reading bind files
3243
3244 2003-07-29  Angus Leeming  <leeming@lyx.org>
3245
3246         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3247         certainly does not do what it purports to do. I am doing it, and
3248         us, a favour by killing it.
3249
3250 2003-07-28  José Matos  <jamatos@lyx.org>
3251
3252         * buffer.C (readBody, do_writeFile):
3253         * paragraph.C(readParagraph): \end_document replaces \the_end.
3254
3255 2003-07-29  André Pönitz  <poenitz@gmx.net>
3256
3257         * BufferView.[Ch]:
3258         * BufferView_pimpl.[Ch]:
3259         * lyxfunc.C:
3260         * text2.C:
3261         * text3.C:
3262         * textcursor.[Ch]: remove toggleToggle & Co
3263
3264 2003-07-28  José Matos  <jamatos@fep.up.pt>
3265
3266         * buffer.C (readParagraph):
3267         * params_func (readParToken, readParagraph):
3268         * paragraph.C (write): \layout -> \begin_layout.
3269
3270 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3271
3272         * lyxlex_pimpl.C (setFile): clean up slightly.
3273
3274         * bufferparams.h: add compressed var
3275
3276         * buffer_funcs.C (readFile): adjust for LyXLex change
3277         (newFile): ditto + simplify
3278
3279         * buffer.C (writeFile): handle writing of compressed files
3280
3281         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3282         Check if the file is compressed and set a bufferparm if so.
3283
3284         * Makefile.am (lyx_LDADD): remove explicit -lz
3285
3286 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3287
3288         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3289         makeDocBookFile): put the real LyX version in the first line of
3290         the file
3291
3292         * version.h:
3293         * version.C.in: remove lyx_docversion
3294
3295         * tabular.C (write_attribute): add a template-based version to
3296         write enums properly
3297
3298 2003-07-28  André Pönitz  <poenitz@gmx.net>
3299
3300         * lyxtext.h:
3301         * text.C:
3302         * text2.C:
3303         * text3.C: use doubles again for x-coordinates. They are needed.
3304
3305 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * messages.C (getLocaleDir): use lyx_localedir()
3308
3309         * lyxlex_pimpl.C (setFile): compress stuff
3310
3311         * buffer.C (writeFile): add some compression stuff
3312         (do_writeFile): new func, dont call expliti close... will this
3313         breake anything?
3314
3315         * Makefile.am (lyx_LDADD): add -lz
3316
3317 2003-07-28  José Matos  <jamatos@fep.up.pt>
3318
3319         * buffer.C: increment file format.
3320         * paragraph_funcs (readParagraph, readParToken):
3321         * paragraph.C (readParagraph): add \end_layout.
3322
3323 2003-07-27  Angus Leeming  <leeming@lyx.org>
3324
3325         * Makefile.am: remove special casing for configure-time setting of
3326         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3327
3328         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3329         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3330
3331 2003-07-26  André Pönitz  <poenitz@gmx.net>
3332
3333         * paragraph_func.[Ch]:
3334         * paragraph.C (realizeFont): inline it whereever it is used
3335
3336         * rowpainter.C:
3337         * text.C:
3338         * text2.C:
3339         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3340
3341
3342 2003-07-26  André Pönitz  <poenitz@gmx.net>
3343
3344         *       lyxtext.h:
3345         * text.C:
3346         * text2.C: get rid of LyXText::need_break_row
3347
3348 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * toc.[Ch]: put namespace toc inside namespace lyx
3351
3352         * MenuBackend.C (expandToc2): adjust for lyx::toc
3353         (expandToc): ditto
3354
3355         * lyxfunc.C (dispatch): adjust for lyx::find
3356
3357         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3358         lyx::find instead. Reorganize a bit.
3359         (LyXReplace): rename to replace
3360         (LyXFind): rename to find
3361
3362         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3363         (dispatch): ditto
3364
3365 2003-07-26  André Pönitz  <poenitz@gmx.net>
3366
3367         * text.C (setHeightOfRow): restrict scope of temporary variable
3368
3369         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3370           code (never has been used?)
3371
3372 2003-07-27  Asger Alstrup  <alstrup@local>
3373
3374         * text.C (fill): Optimise algorithm to exploit that we can reuse
3375         the LyXFont for many characters.
3376         (setHeightOfRow): Same thing.
3377         (rowBreakPoint): Same thing.
3378
3379 2003-07-26  Asger Alstrup  <alstrup@local>
3380
3381         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3382
3383         * text.C (singleWidth): Spurious font copying in hot-spot
3384         singleWidth avoided. Reorder tests for arabic for efficiency.
3385
3386         * text.C (fill): handle empty paragraphs better.
3387
3388 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3389
3390         * ispell.C:
3391         * encoding.h: add includes
3392
3393         * lyxrc.C: remove reading of bind files
3394
3395         * lyx_main.C (init): setup bindings and menus only if we have a
3396         gui.
3397
3398         * kbmap.C (read): new method. Do the actual reading of bind
3399         files.
3400
3401         * converter.C (dvipdfm_options):
3402         * bufferparams.C:
3403         * lyxrc.C (read):
3404         (output): adapt PAPER_* enums.
3405
3406         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3407
3408         * bufferparams.h: remove paper-related enums from there
3409
3410         * paper.h: New file. A trivial header file to hold paper-related
3411         enums. It should later expand to contain many paper-related
3412         horrors access.
3413
3414         * lyxrc.C: declare extern displayTranslator
3415
3416 2003-07-27  José Matos  <jamatos@fep.up.pt>
3417
3418         * tabular.[Ch] (linuxdoc): add support for tables and figures
3419         (linuxdoc).
3420
3421 2003-07-27  José Matos  <jamatos@fep.up.pt>
3422
3423         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3424         consistency in both functions.
3425         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3426
3427 2003-07-26  Asger Alstrup  <alstrup@local>
3428
3429         * rowpainter.C (paintRows): Change algorithm to work directly on
3430         the insets rather than asking every character in the document
3431         whether its an inset.
3432
3433 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3434
3435         * buffer.C (openFileWrite): factorize some code
3436
3437 2003-07-26  Angus Leeming  <leeming@lyx.org>
3438
3439         * lyx_cb.C:
3440         * lyx_main.[Ch]: replace occurances of system_tempdir with
3441         os::getTmpDir().
3442
3443 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * rename Inset to InsetOld
3446
3447 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3448
3449         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3450         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3451         which I think is a bit clearer. EDIT is gone, since it was
3452         premature optimisation, and broken for mathed anyway.
3453         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3454         with cursor positioning in insets as well (math insets still do not
3455         work, but that's a different story anyway.) It mysteriously
3456         crashes sometimes with undo in the first paragraph, but I'm fairly
3457         confident that this is a compiler bug.
3458
3459 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * paragraph.C (Paragraph): adjust for new clone return type
3462         (operator==): ditto
3463         (copyIntoMinibuffer): ditto
3464
3465 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3466
3467         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3468         by not having a special case, and always doing a full rebreak of
3469         the document after undo.
3470
3471 2003-07-23  Angus Leeming  <leeming@lyx.org>
3472
3473         * factory.C (createInset): InsetExternal::setParams now takes a
3474         Buffer const * arg.
3475
3476 2003-07-23  Angus Leeming  <leeming@lyx.org>
3477
3478         * factory.C (createInset): changed interface to the external and
3479         graphics mailers' string2params functions.
3480
3481 2003-07-23  Angus Leeming  <leeming@lyx.org>
3482
3483         * factory.C (createInset): pass a
3484         Buffer const * parameter to InsetExternalMailer's string2params.
3485
3486 2003-07-22  John Levon  <levon@movementarian.org>
3487
3488         * Thesaurus.h: include the right aiksaurus header
3489
3490 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3491
3492         * MenuBackend.C (expand): check menu shortcuts unconditionally
3493
3494 2003-07-21  Angus Leeming  <leeming@lyx.org>
3495
3496         * factory.C (createInset): pass a
3497         buffer_path parameter to InsetGraphicsMailer's string2params.
3498
3499 2003-07-21  Angus Leeming  <leeming@lyx.org>
3500
3501         * BufferView_pimpl.C (buffer):
3502         * buffer.C (d-tor):
3503         * lyx_main.C (LyX):
3504         * lyxfunc.C (dispatch):
3505         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3506         rather than the grfx shortcut.
3507
3508 2003-07-21  André Pönitz  <poenitz@gmx.net>
3509
3510         * rowpainter.C: remove unused variables
3511
3512         * tabular_funcs.C:
3513         * tabular_funcs.h: move to tabular.C
3514         * Makefile.am: adjust
3515
3516         * tabular.[Ch]: basic optical cleaning
3517
3518         * author.h: pass references, not values
3519
3520 2003-07-18  André Pönitz  <poenitz@gmx.net>
3521
3522         * lyxtext.h:
3523         * metricsinfo.C:
3524         * metricsinfo.h:
3525         * rowpainter.C:
3526         * text.C:
3527         * text2.C:
3528         * text3.C: two-phase drawing for InsetText and InsetTabular
3529         some float -> int changes.
3530
3531 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3532
3533         * lyx_main.C: fix the fix
3534
3535 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3536
3537         * lyx_main.C: fix a crash in batch mode if no files specified
3538         * converter.C: ws
3539
3540 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3541
3542         * format.[Ch] (papersize): moved to BufferParams
3543         * converter.[Ch] (dvips_options): moved to BufferParams
3544         (dvipdfm_options): moved to anon namespace
3545         * bufferparams.[Ch]: added above functions.
3546
3547 2003-07-17  André Pönitz  <poenitz@gmx.net>
3548
3549         * lyxtext.h:
3550         * rowpainter.C:
3551         * text2.C: don't call inset->update() anymore
3552
3553         * metricsinfo.[Ch]: add convenience constructor
3554
3555 2003-07-16  André Pönitz  <poenitz@gmx.net>
3556
3557         * lyxcursor.[Ch]:
3558         * lyxfunc.[Ch]:
3559         * text.C:
3560         * text2.C: replace the LyXCursor::irow_ member with
3561          on-demand computation of the value
3562
3563 2003-07-16  John Levon  <levon@movementarian.org>
3564
3565         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3566
3567 2003-07-15  André Pönitz  <poenitz@gmx.net>
3568
3569         * text.C:
3570         * text2.C: remove no more needed refresh_row
3571
3572 2003-07-15  André Pönitz  <poenitz@gmx.net>
3573
3574         * lyxtext.h:
3575         * rowpainter.C:
3576         * text2.C:
3577         * text3.C: refresh_status tristate -> need_update bool
3578
3579 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * lyxtext.h (init): remove reinit argument (act as if always true)
3582         * text2.C: adjust to that
3583
3584 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3585
3586         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3587         * text3.C: use it to delete selections in some cases
3588         (bugs 441, 673, 702, 954).
3589
3590 2003-07-14  André Pönitz  <poenitz@gmx.net>
3591
3592         * rowpainter.[Ch]: reduce interface
3593
3594 2003-07-14  André Pönitz  <poenitz@gmx.net>
3595
3596         * BufferView_pimpl.C:
3597         * text2.C: adjust after removing unused BufferView * argument
3598
3599 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3600
3601         * text2.C (init): fix a crash fired on resize
3602
3603 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3604
3605         * buffer.[Ch]: added new closing signal
3606         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3607         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3608         BufferView::Pimpl via the closing the signal
3609
3610 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * buffer.[Ch]: take out all bv-related from buffer
3613         * BufferView.C:
3614         * BufferView_pimpl.[Ch]: connect to new signals
3615         * CutAndPaste.C: removed useless asserts
3616         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3617         * lyxvc.[Ch]:
3618         * vc-backend.[Ch]:
3619         * lyxfunc.C: moved view-related funciontality from vc here
3620         * paragraph.C: removed outdated comments
3621         * text.C: ws
3622
3623 2003-07-10  André Pönitz  <poenitz@gmx.net>
3624
3625         * BufferView_pimpl.C:
3626         * tabular.h:
3627         * tabular_funcs.C:
3628         * text.C:
3629         * text2.C: remove InsetText::InnerCache, clean up consequences
3630
3631 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3632
3633         * ispell.C: fix two typos in error messages
3634
3635 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3636
3637         * Extend Note inset to other forms of annotation like Comment
3638         and Greyedout. Right button click gives dialog.
3639
3640         Files modified or added (+):
3641
3642         * insetnote.[Ch]
3643         * FormNote.[Ch]      +
3644         * ControlNote.[Ch]   +
3645         * form_note.fd       +
3646         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3647         frontends/controllers
3648         * xforms/Dialogs.C
3649         * factory.C
3650
3651 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3652
3653         * aspell.C: add missing namespace lyx::support
3654
3655 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * BufferView.[Ch] (newFile): Add
3658         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3659         * LaTeX.[Ch] (message): added this signal and use it
3660         * buffer.[Ch] (busy, message): added these signals and use them
3661         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3662         * converter.C:
3663         * exporter.C:
3664         * format.C:
3665         * importer.C: use buffer signals instead of direct bv calling
3666         * lyx_cb.[Ch] (ShowMessage): removed
3667         * lyx_main.C:
3668         * lyxfunc.C:
3669         * paragraph_funcs.C:
3670         * text2.C: use buffer signals
3671
3672 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * introduce namespace lyx::graphics
3675
3676 2003-07-02  André Pönitz  <poenitz@gmx.net>
3677
3678         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3679
3680 2003-07-01  André Pönitz  <poenitz@gmx.net>
3681
3682         * text.C:
3683         * text2.C:
3684         * text3.C:
3685         * text_funcs.[Ch]:
3686         * textcursor.h:
3687         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3688           text*.C to text_func.C
3689
3690 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * introduce namespace lyx::support
3693
3694 2003-06-30  André Pönitz  <poenitz@gmx.net>
3695
3696         * Chktex.C:
3697         * funcrequest.C:
3698         * lyxtext.h:
3699         * text.C: re-enable --with-included-string
3700
3701 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * textcursor.C: add <config.h>
3704
3705         * text.C (getWord): remove const from word_location arg
3706
3707         * lyxvc.C (getLogFile): fix const type order
3708
3709         * lyxtext.h: remove const from word_location arg, add arg name
3710
3711         * lyxlayout.h: currect type on labeltype.
3712
3713         * importer.C: correct \file
3714
3715         * converter.C (intToFormat): use std:: on ret val, ws changes
3716
3717         * bufferlist.h: correct \file
3718
3719         * buffer.C (makeLinuxDocFile): fix const type order
3720         (makeDocBookFile): ditto
3721         (fillWithBibKeys): use std:: on stdlib args.
3722
3723         * CutAndPaste.C: fix authors.
3724         (availableSelections): use std:: on return vector
3725
3726 2003-06-27  André Pönitz  <poenitz@gmx.net>
3727
3728         * BufferView_pimpl.C:
3729         * bufferview_funcs.C:
3730         * lyxcursor.C:
3731         * lyxcursor.h:
3732         * lyxfunc.C:
3733         * lyxtext.h:
3734         * rowpainter.C:
3735         * text.C:
3736         * text2.C:
3737         * text3.C: remove LyXCursor::row_ member
3738
3739         * lyxtext.h:
3740         * text.C: rename fullRebreak() to partialRebreak() and implement
3741           a fullRebreak() that really bereks fully
3742
3743         * textcursor.h: new struct for cursor-related data
3744
3745 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3746
3747         * lyx_main.C (LyX): get full path of document loaded on the
3748         command line
3749
3750 2003-06-26  André Pönitz  <poenitz@gmx.net>
3751
3752         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3753           remove unused/broken operator>,<,>=.
3754
3755         *       text.C: remove only use of broken operator<= in an Assert().
3756
3757 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3758
3759         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3760         moved errorlist_.clear to showErrorList
3761
3762 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3763
3764         * converter.C (scanLog, runLaTeX):
3765         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3766         move the bv->showErrorList call to the callers
3767         * lyxfunc.C: i.e. here...
3768         * text2.C: and here
3769         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3770         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3771         namespace, the second to...
3772         * buffer_funcs (BufferFormat, parseErrors): added
3773         * errorlist.C (ErrorList(TeXErrors const &)): removed
3774
3775 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3776
3777         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3778
3779 2003-06-24  "Garst R. Reese" <reese@isn.net>
3780
3781         * debug.C: fix typo
3782
3783 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3784
3785         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3786
3787         * version.C.in: change docversion to 1.4
3788
3789 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * buffer.C: fix a bug just introduced
3792
3793 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * buffer.[Ch]: added the parseError signal and use it, removed
3796         sgmlError
3797         * BufferView.[Ch] (addError): moved to ...
3798         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3799         to the Buffer::parseError signal to catch (guess what) parse errors
3800         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3801
3802 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3803
3804         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3805         ability to create a buffer and to return an existing one from
3806         the list. Moved these functions to...
3807         * buffer_funcs.[Ch]: added
3808         * BufferView.[Ch] (loadLyXFile): added
3809         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3810         job removed from bufferlist::loadLyXFile.
3811         * buffer.C (setReadOnly): make it work without view
3812         (i.e added an if (users))
3813
3814 2003-06-19  Angus Leeming  <leeming@lyx.org>
3815
3816         * lfuns.h:
3817         * LyXAction.C (init):
3818         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3819         with LFUN_DIALOG_SHOW <name> <data>.
3820
3821 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3822
3823         * CutAndPaste.C (availableSelections): small compilation fix for
3824         ancient (gcc 2.9x) compilers
3825
3826 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * text3.C (cursorNext): add tmp var
3829
3830         * text2.C (updateCounters): for function calling out of for clause
3831         (replaceSelectionWithString): ditto
3832         (insertStringAsParagraphs): ditto
3833         (getColumnNearX): add tmp var
3834         (setCursorFromCoordinates): add tmp var
3835         (cursorDownParagraph): add tmp var
3836         (deleteEmptyParagraphMechanism): add tmp var
3837
3838         * text.C (insertChar): add tmp var
3839
3840         * rowpainter.C (paintDepthBar): add tmp var
3841
3842         * CutAndPaste.C (availableSelections): potentially check all
3843         paragraphs in a cut to fill the shown strings.
3844
3845 2003-06-18  André Pönitz  <poenitz@gmx.net>
3846
3847         * kbmap.[Ch]: use vector<> instead of list<>
3848
3849 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3850
3851         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3852         pasteSelection with index
3853
3854         * text2.C (pasteSelection): modify, call pasteSelection with index
3855
3856         * paragraph.C (asString): reimplement version with no interval to
3857         call the one with interval.
3858
3859         * lyxtext.h: add index arg to pasteSelection
3860
3861         * MenuBackend.C (MenuItem): handle PasteRecent
3862         (Menu::read::Menutags): add md_pasterecent
3863         (read): handle it
3864         (expandPasteRecent): new function
3865         (expand): use it
3866
3867         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3868
3869         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3870         the limited stack
3871         (availableSelections): new function
3872
3873 2003-06-17  Angus Leeming  <leeming@lyx.org>
3874
3875         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3876
3877 2003-06-17  Angus Leeming  <leeming@lyx.org>
3878
3879         * lfuns.h:
3880         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3881
3882         * lyxfunc.C (dispatch): invoke it.
3883
3884 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3885
3886         * iterators.C (operator++, ParPosition): reintroduce some
3887         const_cast for the benefit of older compilers.
3888
3889 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3890
3891         * text3.C (dispatch): do not modify clipboard when doing
3892         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3893         LFUN_DELETE_SKIP on a selection selection
3894
3895 2003-06-16  André Pönitz  <poenitz@gmx.net>
3896
3897         * BufferView.C:
3898         * buffer.C:
3899         * buffer.h:
3900         * paragraph.C:
3901         * tabular.[Ch]: IU of clone() and getLabelList();
3902
3903 2003-06-13  André Pönitz  <poenitz@gmx.net>
3904
3905         * tabular.h: compactification
3906
3907 2003-06-12  André Pönitz  <poenitz@gmx.net>
3908
3909         * tabular.C:
3910         * tabular.h:
3911         * tabular_funcs.h: some renaming plus whitespace
3912
3913 2003-06-12  André Pönitz  <poenitz@gmx.net>
3914
3915         * BufferView.C:
3916         * BufferView_pimpl.C:
3917         * CutAndPaste.C:
3918         * buffer.C:
3919         * iterators.[Ch]:
3920         * lyxfunc.C:
3921         * text.C:
3922         * toc.C: Return a Paragraph & for ParIterator::operator*()
3923
3924 2003-06-11  John Levon  <levon@movementarian.org>
3925
3926         * lyx_main.C:
3927         * ToolbarBackend.h:
3928         * ToolbarBackend.C: add "Toolbars" section and
3929         put the flags there
3930
3931 2003-06-10  Angus Leeming  <leeming@lyx.org>
3932
3933         * lfuns.h:
3934         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3935
3936         * lyxfunc.C (dispatch): invoke it.
3937
3938 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * main.C: protect <ios> with HAVE_IOS
3941         (main): protect sync_with_stdio with HAVE_IOS
3942
3943 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3944
3945         * text2.C (cutSelection): adjust
3946         (pasteSelection): adjust
3947
3948         * messages.C: handle get of empty string
3949
3950         * main.C (main): use sync_with_stdio(false)
3951
3952         * lyxfunc.C (dispatch): adjust
3953
3954         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3955         (WriteAs): remove unneeded BufferView arg.
3956
3957         * bufferparams.h: use correct types on papersize, papersize2 and
3958         paperpackage.
3959
3960         * bufferparams.C (readToken): adjust for type
3961         (writeLaTeX): add missing cases to switch.
3962
3963         * bufferlist.C (quitWriteBuffer): adjust
3964         (close): adjust
3965
3966         * buffer.C (asciiParagraph): remove some commented code.
3967
3968         * CutAndPaste.C: remove current_view extern variable.
3969         (cutSelection): add BufferParams arg.
3970         (eraseSelection): add BufferParams arg.
3971         (pasteSelection): add Buffer const & arg
3972
3973 2003-06-07  John Levon  <levon@movementarian.org>
3974
3975         * buffer.C:
3976         * paragraph_funcs.C:
3977         * paragraph_pimpl.C:
3978         * text.C:
3979         * text2.C:
3980         * paragraph.h:
3981         * paragraph.C: allow InsetERT to freely space lines,
3982         and some consolidation of code
3983
3984 2003-06-06  José Matos  <jamatos@fep.up.pt>
3985
3986         * buffer.C (makeDocBookFile): fix bug #821
3987
3988 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3989
3990         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3991
3992 2003-06-04  Angus Leeming  <leeming@lyx.org>
3993
3994         * buffer.C: bump format to 224.
3995
3996 2003-06-05  André Pönitz  <poenitz@gmx.net>
3997
3998         * text2.C (redoParagraphs): remove two const_cast<>
3999
4000 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4001
4002         * ParagraphList.h: remove last remnants of NO_STD_LIST
4003
4004 2003-06-03  Angus Leeming  <leeming@lyx.org>
4005
4006         * factory.C (createInset): small change to the way InsetExternal's params
4007         are set.
4008
4009 2003-06-04  André Pönitz  <poenitz@gmx.net>
4010
4011         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4012
4013         * paragraph_pimpl.h:
4014         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4015
4016         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4017
4018         * undo_funcs.C: make some simple cases of undo work again
4019
4020 2003-06-03  John Levon  <levon@movementarian.org>
4021
4022         * ispell.C: HPUX doesn't have sys/select.h
4023         (from Albert Chin)
4024
4025 2003-06-03  John Levon  <levon@movementarian.org>
4026
4027         * CutAndPaste.C: update tabular and include inset
4028         buffer references
4029
4030         * buffer.h:
4031         * paragraph.h:
4032         * paragraph.C: remove owningBuffer(), don't pass Buffer
4033         to clone()
4034
4035         * factory.C: insetGraphicsParams changed
4036
4037 2003-06-02  John Levon  <levon@movementarian.org>
4038
4039         * LyXAction.C:
4040         * factory.C:
4041         * lfuns.h:
4042         * lyxfunc.C:
4043         * text3.C: remove insetparent
4044
4045 2003-06-02  John Levon  <levon@movementarian.org>
4046
4047         * buffer.h:
4048         * buffer.C: fix inset_iterator.end(), move out of line
4049         (bug 1149)
4050
4051 2003-06-01  John Levon  <levon@movementarian.org>
4052
4053         * text3.C: use a proper cut/paste when doing inset
4054         insert (from Jürgen Spitzmüller)
4055
4056 2003-06-01  John Levon  <levon@movementarian.org>
4057
4058         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4059
4060 2003-05-30  André Pönitz  <poenitz@gmx.net>
4061
4062         * rowpainter.C: unify second drawing phase
4063
4064 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * trans_mgr.C: remove one case of current_view
4067
4068         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4069
4070         * paragraph_funcs.h: remove paragraph.h include
4071
4072         * paragraph.h: delete NO_STD_LIST stuff
4073
4074         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4075
4076         * buffer.h: remove paragraph.h include
4077
4078         * ParagraphList.C: delete file
4079
4080         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4081
4082         * toc.C (getTocList): adjust
4083
4084         * paragraph_pimpl.C (validate): adjust
4085
4086         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4087
4088         * paragraph.C (Paragraph): adjust
4089         (getPositionOfInset): use const_iterator, adjust
4090         (bibitem): use const_iterator, adjust
4091         (setInsetOwner): adjust
4092
4093         * iterators.C (operator++): adjust
4094
4095         * InsetList.[Ch]: Replace selfmade iterator with standard
4096         vector::iterator also introduce const_iterator. Remove getPos,
4097         getInset and setInset from InsetTable. Adjust accordingly.
4098
4099         * BufferView.C (lockInset): adjust
4100         (ChangeInsets): adjust
4101
4102         * tabular.[Ch]: delete commented same_id functions
4103
4104 2003-05-28  John Levon  <levon@movementarian.org>
4105
4106         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4107
4108 2003-05-28  André Pönitz  <poenitz@gmx.net>
4109
4110         * metricsinfo.[Ch]: remove 'fullredraw' member
4111
4112 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4113
4114         * lyxtextclass.C (operator): remove caching.
4115
4116 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * text3.C: adjust
4119
4120         * text2.C (cursorBottom): adjust
4121         (setCounter): use ParagraphList::find, adjust
4122
4123         * text.C (workWidth): use ParagraphList::find, adjust
4124
4125         * lyxcursor.C (LyXCursor): adjust
4126
4127         * buffer.C (inset_iterator): adjust
4128
4129         * ParagraphList.h: make iterator(value_type) private, make
4130         ParagraphList a friend of iterator.
4131
4132         * ParagraphList.C (find): new function
4133
4134         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4135
4136 2003-05-27  André Pönitz  <poenitz@gmx.net>
4137
4138         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4139
4140 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4141
4142         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4143
4144 2003-05-26  John Levon  <levon@movementarian.org>
4145
4146         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4147
4148 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * remove same_id from function signatures, adjust.
4151
4152 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4153
4154         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4155
4156         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4157
4158         * paragraph.C (Paragraph): get rid of same_ids parameter
4159
4160         * ParagraphList.C (insert): adjust
4161         (push_back): adjust
4162
4163 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4164
4165         * paragraph_funcs.C (breakParagraph): adjust
4166         (breakParagraphConservative): adjust
4167
4168         * buffer.C (readParagraph): adjust
4169
4170         * ParagraphList.C (insert): take a reference instead of a pointer
4171         (insert): adjust
4172
4173         * paragraph.[Ch] (id): new function
4174
4175         * bufferlist.C (newFile): adjust
4176
4177         * ParagraphList.C (ParagraphList): adjust
4178         (assign): adjust
4179         (push_back): take a reference instead of a pointer.
4180
4181         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4182
4183         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4184         instead.
4185
4186         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4187         set else use old code.
4188
4189         * ParagraphList.C: remove all NO_NEXT code and only compile this
4190         code of NO_STD_LIST is set.
4191
4192 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4193
4194         * BufferView_pimpl.C:
4195         * TextCache.C:
4196         * TextCache.h:
4197         * bufferlist.C:
4198         * errorlist.h:
4199         * format.C:
4200         * format.h:
4201         * graph.C:
4202         * lyxfunc.C:
4203         * lyxrc.C:
4204         * graphics/GraphicsConverter.C:
4205         * graphics/PreviewLoader.C: header adjustment
4206
4207 2003-05-23  Angus Leeming  <leeming@lyx.org>
4208
4209         * LaTeXFeatures.[Ch] (useBabel): new method.
4210         * bufferparams.C (writeLaTeX): use it.
4211
4212 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * ParagraphList.h (set): remove unused function.
4215
4216 2003-05-23  André Pönitz  <poenitz@gmx.net>
4217
4218         * BufferView.C:
4219         * BufferView_pimpl.C:
4220         * buffer.C:
4221         * buffer.h:
4222         * lyxfunc.C:
4223         * undo_funcs.C: setUndo reworked
4224
4225         * iterators.[Ch]: add access to topmost ParagraphList
4226
4227         * lyxtext.[Ch] (workWidth): add a const
4228
4229 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * texrow.[Ch] (increasePos): remove function
4232         * exporter.C (export): removed unused var and outdated comment
4233
4234 2003-05-23  Angus Leeming  <leeming@lyx.org>
4235
4236         * latexrunparams.h: rename fragile as moving_arg.
4237         * paragraph.C (simpleTeXOnePar): ditto.
4238         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4239
4240 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4243         (createUndo): ditto
4244         (textUndoOrRedo): comment out a currently unused var.
4245
4246         * paragraph.h (NO_NEXT): enable NO_NEXT
4247
4248         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4249
4250         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4251
4252         * exporter.C (Export): adjust for removeAutoInsets removal.
4253
4254         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4255
4256         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4257
4258         * BufferView.[Ch] (removeAutoInsets): delete function
4259
4260 2003-05-22  Angus Leeming  <leeming@lyx.org>
4261
4262         * latexrunparams.h: add a free_spacing variable.
4263
4264         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4265         to pass moving_arg, as the data is stored in runparams.fragile.
4266
4267         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4268         to Inset::latexOptional or to simpleTeXOnePar.
4269
4270         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4271         free_spacing arg to Inset::latexOptional.
4272
4273         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4274         free_spacing arg.
4275
4276 2003-05-22  Angus Leeming  <leeming@lyx.org>
4277
4278         * latexrunparams.h: add fragile and use_babel variables.
4279
4280         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4281         * buffer.C (makeLaTeXFile): store this returned value in
4282         runparams.use_babel, thus passing it to the inset::latex methods.
4283
4284         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4285         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4286
4287         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4288         longer has a fragile arg, as it is stored in runparams.fragile.
4289
4290         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4291         moving_arg parameter as the data is stored in runparams.fragile.
4292
4293         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4294         a fragile parameter as the data is stored in runparams.fragile.
4295
4296 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4299
4300 2003-05-22  Angus Leeming  <leeming@lyx.org>
4301
4302         * latexrunparams.h: add a 'bool nice' which defaults to false.
4303
4304         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4305         now encapsulated within runparams.
4306
4307         * bufferlist.C (updateIncludedTeXfiles):
4308         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4309
4310 2003-05-22  Angus Leeming  <leeming@lyx.org>
4311
4312         * latexrunparams.h: new file containing struct LatexRunParams.
4313         * Makefile.am: add new file.
4314
4315         * LaTeX.[Ch] (c-tor, run):
4316         * buffer.[Ch] (makeLaTeXFile):
4317         * bufferlist.[Ch] (updateIncludedTeXfiles):
4318         * converter.C (convert, scanLog):
4319         * converter.[Ch] (runLaTeX):
4320         * exporter.C (Export):
4321         * paragraph.[Ch] (simpleTeXOnePar):
4322         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4323         * paragraph_funcs.[Ch] (latexParagraphs):
4324         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4325         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4326         pass around a LatexRunParams parameter.
4327
4328 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4329
4330         * paragraph.[Ch]: remove unused constructor
4331
4332         * ParagraphList.C (erase): new function, taking two iterators
4333
4334 2003-05-22  André Pönitz  <poenitz@gmx.net>
4335
4336         * undo_funcs.C: remove duplicated code
4337
4338         * iterator.[Ch]: operator=
4339
4340 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4341
4342         * tabular.C (SetMultiColumn): ws changes
4343
4344         * rowpainter.C (paintFirst): get rid of a ->previous
4345
4346         * lyx_cb.C (getPossibleLabel): parlist simplification
4347
4348         * BufferView.C (ChangeInsets): simplify slightly.
4349
4350 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4351
4352         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4353         * lfuns.h: new LFUN_SPACE
4354         * lyxfunc.C: protected space has a new lfun
4355         * paragraph_funcs.C: read new space insets
4356         * text3.C:
4357         * factory.C: handle new space insets
4358
4359 2003-05-22  André Pönitz  <poenitz@gmx.net>
4360
4361         * BufferView.C:
4362         * BufferView_pimpl.C:
4363         * buffer.[Ch]:
4364         * lyxfunc.C:
4365         * undo_funcs.C: return a ParIterator from getParFromID.
4366
4367         * iterators.[Ch]: add two const's
4368
4369 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * toc.C (getTocList): adjust
4372
4373         * iterators.[Ch]: rework for parlist
4374
4375         * buffer.C (par_iterator_begin): adjust
4376         (par_iterator_end): adjust
4377
4378         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4379
4380         * BufferView.C (removeAutoInsets): adjust
4381         (ChangeInsets): adjust
4382
4383 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * text.C (top_y): fix bug 1110
4386
4387 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * errorlist.[Ch]: added
4390         * buffer.C:
4391         * BufferView.[Ch]:
4392         * BufferView_pimpl.C:
4393         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4394         instead
4395
4396 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * Makefile.am: ensure that lyx is relinked upon changes to the
4399         various "convenience" libs.
4400
4401 2003-05-20  Angus Leeming  <leeming@lyx.org>
4402
4403         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4404         files are compiled in alphabetical order again.
4405
4406         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4407
4408 2003-05-19  Angus Leeming  <leeming@lyx.org>
4409
4410         * gettext.[Ch]: remove "char const * _(char const *)".
4411
4412 2003-05-19  André Pönitz  <poenitz@gmx.net>
4413
4414         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4415
4416         * Makefile.am:
4417         * BufferView.C:
4418         * DepTable.h:
4419         * LaTeXFeatures.C:
4420         * buffer.C:
4421         * lyxfont.C:
4422         * lyxlex.h:
4423         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4424
4425 2003-05-19  André Pönitz  <poenitz@gmx.net>
4426
4427         * buffer.C:
4428         * lyxlayout.[Ch]:
4429         * lyxtextclass.[Ch]:
4430         * paragraph.C:
4431         * paragraph_funcs.[Ch]:
4432         * text2.C:
4433         * text3.C: more insetenv work
4434
4435 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4436
4437         * ParagraphParameters.C (params2string): small bug fixed
4438
4439 2003-05-16  André Pönitz  <poenitz@gmx.net>
4440
4441         * debug.C:
4442         * bufferview_funcs.C: patch from Kornel Benko to prevent
4443           crash when _(...) is called twice in a statement
4444
4445 2003-05-16  André Pönitz  <poenitz@gmx.net>
4446
4447         * BufferView.C:
4448         * lyxfunc.C:
4449         * text.C:
4450         * text2.C:
4451         * text3.C:
4452         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4453
4454 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4455
4456         * lyx_main.C (init): remove spurious static_cast
4457
4458 2003-05-14  André Pönitz  <poenitz@gmx.net>
4459
4460         * BufferView.C: fix format string
4461
4462 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * BufferView.[Ch] (insertErrors): removed
4465         * BufferView.[Ch] (showErrorList): added
4466         * buffer.C (runChkTeX):
4467         * converter.C (scanLog): call showErrorList instead of inserterrors
4468
4469 2003-05-13  André Pönitz  <poenitz@gmx.net>
4470
4471         * BufferView_pimpl.C:
4472         * buffer.C:
4473         * bufferview_func.C:
4474         * MenuBackend.C:
4475         * lyxfunc.C:
4476         * lyxrc.C:
4477         * tex-accent.C:
4478         * text3.C:
4479         * toc.C:
4480         * tabular_funcs.h: tostr() from its own header
4481
4482         * ParagraphParameters.C:
4483         * ToolbarBackend.C:
4484         * bufferparams.C:
4485         * format.C:
4486         * lyxlex_pimpl.C:
4487         * text3.C: STRCONV()
4488
4489 2003-05-12  André Pönitz  <poenitz@gmx.net>
4490
4491         * BufferView.C:
4492         * BufferView_pimpl.C:
4493         * CutAndPaste.C:
4494         * LaTeX.C:
4495         * LaTeXFeatures.C:
4496         * ParagraphParameters.C:
4497         * buffer.C:
4498         * bufferlist.C:
4499         * bufferparams.C:
4500         * bufferview_funcs.C:
4501         * converter.C:
4502         * counters.C:
4503         * debug.C:
4504         * exporter.C:
4505         * format.C:
4506         * importer.C:
4507         * lyx_cb.C:
4508         * lyx_main.C:
4509         * lyxfont.C:
4510         * lyxfunc.C:
4511         * lyxvc.C:
4512         * paragraph.C:
4513         * paragraph_funcs.C:
4514         * tabular.C:
4515         * tabular_funcs.C:
4516         * text2.C:
4517         * text3.C:  boost::format -> bformat  all over the place
4518
4519
4520 2003-05-09  André Pönitz  <poenitz@gmx.net>
4521
4522         * LColor.[Ch]: Pimpl the #include <map> away
4523
4524 2003-05-09  John Levon  <levon@movementarian.org>
4525
4526         * bufferlist.C: never remove emergency saves
4527
4528 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4529
4530         * Makefile.am: better lib building
4531
4532 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4535         instead.
4536         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4537         (simpleTeXSpecialChars): adjust
4538         (simpleTeXSpecialChars): adjust
4539         * paragraph.C (simpleTeXOnePar): adjust
4540         * buffer.C (makeLaTeXFile): adjust
4541
4542         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4543
4544         * text2.C (changeDepth): parlist cleanup
4545         (getColumnNearX): ditto
4546
4547         * rowpainter.C (getLabelFont): parlist cleanup
4548
4549         * bufferlist.C (newFile): parlist cleanup
4550
4551         * CutAndPaste.C (eraseSelection): parlist cleanup
4552
4553         * BufferView_pimpl.C (trackChanges): parlist cleanup
4554         (dispatch): ditto
4555
4556         * BufferView.C (lockInset): parlist cleanup.
4557         (ChangeInsets): ditto
4558
4559 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * CutAndPaste.h: Update file header.
4562
4563         * CutAndPaste.C: Update file header.
4564         Store the parts cut out of the Document in a limited_stack.
4565         (copySelection): adjust
4566         (pasteSelection): new function, takes the index in the limited stack.
4567         (nrOfParagraphs): adjust
4568         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4569         simplify error inset insertion.
4570         (checkPastePossible): adjust
4571
4572 2003-05-06  John Levon  <levon@movementarian.org>
4573
4574         * text2.C: don't cast wrap inset to float
4575
4576 2003-05-05  André Pönitz  <poenitz@gmx.net>
4577
4578         * iterator.C:
4579         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4580
4581         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4582           few naked Paragraph *.
4583
4584 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4585
4586         * bufferparams.C: Output warning if a document with missing
4587         TeX document class is loaded
4588         * exporter.C: Disable TeX exports if the document class is missing
4589         * lyxtextclass.C:
4590         * lyxtextclass.h:
4591         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4592         isTeXClassAvailable()
4593
4594 2003-05-03  John Levon  <levon@movementarian.org>
4595
4596         * BufferView.h:
4597         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4598         explicit cursor show/hide
4599
4600         * BufferView_pimpl.h:
4601         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4602         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4603
4604         * lyxfunc.C: hide cursor before dispatching.
4605
4606         * lyx_cb.C:
4607         * lyxfind.C:
4608         * text.C:
4609         * text3.C: remove explicit cursor hides
4610
4611 2003-05-02  André Pönitz  <poenitz@gmx.net>
4612
4613         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4614
4615         * undo_funcs.C:
4616         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4617           linked lists
4618
4619         * text2.C: tiny whitespace
4620
4621 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * undo_funcs.C: almost only ws changes.
4624
4625         * ParagraphList.C (splice): just return if pl is empty.
4626
4627 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * ParagraphList.C (splice): new function.
4630
4631         * CutAndPaste.C (pasteSelection): use it
4632
4633 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * CutAndPaste.C (pasteSelection): remove the last next and
4636         previous from this file.
4637
4638 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4639
4640         * CutAndPaste.C (pasteSelection): more clean up, user proper
4641         ParagraphList functions for pasteing.
4642
4643         * ParagraphList.C (insert): new function, three arg insert
4644
4645 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * ParagraphList.C (insert): new function, three arg insert
4648
4649         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4650         not on paragraphs.
4651
4652 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4655
4656 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4659
4660 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4663         (copySelection): clean up a bit.
4664         (pasteSelection): use make_pair
4665
4666         * ParagraphList.C (ParagraphList): implement copy constructor
4667         (operator=): implement, base on copy constructor.
4668         (assign): new func
4669
4670         * paragraph.C (erase): return a bool
4671
4672         * paragraph_pimpl.C (erasePos): remove function, move contents...
4673         (erase): ... here. Return a bool.
4674         (erase): call erase instead of erasePos.
4675
4676 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4677
4678         * ParagraphList.h: define PitPosPair
4679         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4680         ParagraphList, fix a bug on pasting multiple pars
4681         * text2.C: change interface to C&P
4682
4683 2003-04-30  André Pönitz  <poenitz@gmx.net>
4684
4685         * undo_func.C: revert part of yesterday's patch 2
4686
4687 2003-04-30  John Levon  <levon@movementarian.org>
4688
4689         * LColor.C: s/tabular/table/
4690
4691 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * text3.C (dispatch): do not convert iterator -> pointer
4694         * undo_funcs.C (setCursorParUndo): ditto
4695         * text_funcs.C (transposeChars): ditto
4696
4697         * text2.C (setLayout): ws changes only
4698
4699         * text.C (breakParagraph): do not convert iterator -> pointer
4700         (insertChar): ditto
4701         (acceptChange): ditto
4702         (rejectChange): ditto
4703         (changeCase): ditto
4704         (Delete): ditto
4705         (backspace): ditto
4706
4707         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4708         pointer
4709
4710 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4711
4712         * text3.C (gotoInset): YABG (yet another bad getChar)
4713
4714 2003-04-29  André Pönitz  <poenitz@gmx.net>
4715
4716         * paragraph.h: make operator= private unimplemented as long as
4717           it is unusable
4718
4719         * ParagraphList.C: whitespace
4720
4721         * paragraph.[Ch]:
4722         * paragraph_pimpl.[Ch]:
4723         * paragraph_funcs.C:
4724         * CutAndPaste.C:
4725         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4726
4727         * text2.C:
4728           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4729
4730 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4733         * paragraph.[Ch] (erase):
4734         * paragraph_pimpl.[Ch] (erase): change return type and value
4735         * text2.C (cutSelection): some rework
4736
4737 2003-04-28  John Levon  <levon@movementarian.org>
4738
4739         * bufferlist.C: changes for unsaved changes dialog
4740
4741 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * bufferlist.C (newFile): set language (messages_) for new
4744         documents also.
4745
4746         * buffer.C (readFile): ws changes only.
4747
4748 2003-04-28  André Pönitz  <poenitz@gmx.net>
4749
4750         * undo_funcs.C:
4751         * lyxfunc.C:
4752         * buffer.[Ch]:
4753         * BufferView_pimpl.C:
4754         * BufferView.C: getParFromID related ParagraphList::iterator changes
4755
4756 2003-04-28  André Pönitz  <poenitz@gmx.net>
4757
4758         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4759           Changes
4760
4761 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * messages.C: remove one more localedir class variable.
4764
4765 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * messages.C (getLocaleDir): singleton generation function
4768         (Pimpl): use it.
4769         (Messages): add a default constructor.
4770
4771         * main.C (main): do not setup localedir here, do not call
4772         gettext_init.
4773
4774         * gettext.C (_): use it.
4775         (gettext_init): delete funciton
4776
4777 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * gettext.C (getLyXMessages): new singleton generating function.
4780
4781         * buffer.C (updateDocLang): adjust
4782
4783         * Makefile.am (messages.o): add target
4784         (main.o): remove target
4785
4786 2003-04-27  John Levon  <levon@movementarian.org>
4787
4788         * bufferlist.C:
4789         * lyx_cb.C:
4790         * lyxfunc.C:
4791         * lyxvc.C: specify cancel button in Alert::prompt
4792
4793 2003-04-26  John Levon  <levon@movementarian.org>
4794
4795         * text3.C:
4796         * lyxfunc.C:
4797         * lfuns.h:
4798         * LyXAction.C: add LFUN_INSET_SETTINGS
4799
4800         * lyxfunc.C: don't enable tabular-feature when there's
4801         just any locking inset
4802
4803 2003-04-26  John Levon  <levon@movementarian.org>
4804
4805         * bufferlist.C: re-add Cancel to buffer close question
4806
4807         * lyxfunc.C: fix import UI a bit
4808
4809 2003-04-25  John Levon  <levon@movementarian.org>
4810
4811         * gettext.C: remove the broken asserts for now
4812
4813 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * messages.C: make case where setlocale cannot comply work better.
4816
4817         * buffer.C (updateDocLang): new function
4818         (changeLanguage): use it
4819         (readFile): use it
4820
4821         * text2.C (setCounter): use B_ a bit.
4822
4823         * lyxlayout.C (Read): be sure to trim the label strings.
4824
4825         * messages.C (Messages): fix typo in comment
4826
4827         * buffer.C (readFile): set message_ after file is loaded.
4828         (makeDocBookFile): remove double return
4829         (changeLanguage): reset message_ upon language change.
4830         (B_): new func, use this to get translated buffer strings.
4831
4832         * main.C: add myself and Jean Marc as authors.
4833
4834 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * messages.[hC]: pimplify Messages, and three different pimpls to be
4837         used in different circumstances.
4838
4839         * gettext.[Ch]: change for use with new message code.
4840
4841 2003-04-24 André Pönitz <poenitz@gmx.net>
4842
4843         * factory.C: support for eqref
4844
4845 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4846
4847         * messages.[Ch]: add missing char
4848
4849         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4850
4851         * messages.[Ch]: New files
4852
4853 2003-04-18  John Levon  <levon@movementarian.org>
4854
4855         * BufferView.h:
4856         * BufferView.C:
4857         * BufferView_pimpl.C:
4858         * lfuns.h:
4859         * LyXAction.C:
4860         * lyxtext.h:
4861         * text2.C: remove layout-copy/paste (bug 778)
4862
4863 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4864
4865         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4866
4867 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4870         if they succeed. Act accordingly.
4871
4872 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * text2.C (setCharFont): adjust
4875         (setCounter): adjust
4876         (insertStringAsLines): adjust
4877
4878         * text.C (leftMargin): adjust
4879         (setHeightOfRow): adjust
4880
4881         * rowpainter.C (paintFirst): adjust
4882         (paintLast): adjust
4883
4884         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4885         (outerHook): ditto
4886         (isFirstInSequence): ditto
4887         (getEndLabel): ditto
4888         (outerFont): adjust
4889
4890         * paragraph.C (getParLanguage): comment out some hard stuff.
4891
4892         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4893         (sgmlError): ditto
4894         (simpleDocBookOnePar): ditto
4895         (makeDocBookFile): use ParagraphList::iterator
4896
4897         * CutAndPaste.C (pasteSelection): adjust
4898
4899 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * text2.C (getFont): adjust
4902         (getLayoutFont): adjust
4903         (getLabelFont): adjust
4904
4905         * paragraph_funcs.C (TeXOnePar): adjust
4906
4907         * buffer.C (simpleLinuxDocOnePar): adjust
4908         (simpleDocBookOnePar): adjust
4909
4910         * CutAndPaste.C (pasteSelection): adjust
4911
4912         * BufferView.C (getEncoding): adjust
4913
4914         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4915
4916 2003-04-16  John Levon  <levon@movementarian.org>
4917
4918         * lyxfind.C: use parlist stuff for search/changes
4919
4920 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4923
4924         * text2.C (deleteEmptyParagraphMechanism): adjust
4925
4926         * text2.[Ch] (ownerParagraph): delete func (both of them
4927
4928 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4931
4932 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * ParagraphList.C: prepare for NO_NEXT
4935
4936 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * text2.C (getFont): adjust
4939         (getLayoutFont): adjust
4940         (getLabelFont): adjust
4941
4942         * paragraph.C (getFont): adjust
4943         (getLabelFont): adjust
4944         (getLayoutFont): adjust
4945
4946         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4947
4948 2003-04-15  John Levon  <levon@movementarian.org>
4949
4950         From Angus Leeming
4951
4952         * lyx_main.C: handle Include in .ui files
4953
4954 2003-04-15  John Levon  <levon@movementarian.org>
4955
4956         * MenuBackend.C: make the doc files length shorter
4957
4958         * ToolbarBackend.h:
4959         * ToolbarBackend.C: handle toolbar placement flags,
4960         Minibuffer
4961
4962 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4965         adjust
4966
4967         * paragraph_funcs.C (TeXOnePar): adjust
4968
4969         * paragraph.C (getLabelFont): add outerfont arg, adjust
4970         (getLayoutFont): ditto
4971         (simpleTeXOnePar): adjust
4972
4973         * paragraph_pimpl.C (realizeFont): delete func
4974
4975 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4976
4977         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4978         row argument, constify cur argument.
4979
4980 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * text2.C (getFont): adjust
4983         (getLayoutFont): adjust
4984         (getLabelFont): adjust
4985
4986         * paragraph_funcs.C (TeXOnePar): adjust
4987         (outerFont): new func...
4988         (realizeFont): ...moved out from here, changed this to facilitate
4989         transition
4990
4991         * paragraph.C (getFont): take outerfont as arg, adjust
4992         (simpleTeXOnePar): add outerfont arg, adjust
4993
4994         * buffer.C (simpleLinuxDocOnePar): adjust
4995         (simpleDocBookOnePar): adjust
4996
4997         * CutAndPaste.C (pasteSelection): adjust
4998
4999         * BufferView.C (getEncoding): adjust
5000
5001 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * text2.C (setCharFont): adjust
5004         (setCounter): adjust
5005
5006         * text.C (leftMargin): adjust
5007         (setHeightOfRow): adjust
5008
5009         * rowpainter.C (paintFirst): adjust
5010         (paintLast): adjust
5011
5012         * paragraph_pimpl.C (realizeFont): adjust
5013
5014         * paragraph.C (isFirstInSequence): move from here...
5015         * paragraph_funcs.C (isFirstInSequence): ...to here
5016
5017         * paragraph.C (outerHook): move from here...
5018         * paragraph_funcs.C (outerHook): ...to here
5019
5020         * paragraph.C (depthHook): move from here...
5021         * paragraph_funcs.C (depthHook): ...to here
5022
5023         * paragraph.C (getEndLabel): move from here...
5024         * paragraph_funcs.C (getEndLabel): ...to here
5025
5026         * text2.C (realizeFont): move from here...
5027         * paragraph_funcs.C (realizeFont): ...to here
5028
5029 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5032
5033 2003-04-14  Angus Leeming  <leeming@lyx.org>
5034
5035         * LColor.[Ch]: scrap LColor mathcursor.
5036
5037 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * lyxlex.[Ch] (text): delete function
5040         * trans.C (Load): adjust
5041         * paragraph_funcs.C (readParToken): adjust
5042
5043 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5046         vector<char> instead of a char[].
5047
5048         * lyxlex_pimpl.C (getString): adjust
5049         (next): adjust
5050         (lex): use getString
5051         (eatLine): adjust
5052         (nextToken): adjust
5053
5054         * lyxlex.C (text): use pimpl_->getString()
5055         (getBool): ditto
5056         (findToken): ditto
5057
5058 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5059
5060         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5061         (makeFontEntriesLayoutSpecific): temp var for par.size()
5062         (setLayout): temp var for ownerParagraphs().end()
5063         (fullRebreak): temp var for rows().end()
5064         (selectionAsString): temp var for boost::next(startpit), realize
5065         that the while really is a regular for loop.
5066         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5067         setCursor in one place.
5068         (setParagraph): temp vr for ownerParagraphs().end()
5069         (updateCounters): make the while loop a for loop
5070         (cutSelection): temp var for ownerParagraphs().end()
5071         (updateInset): make the do {} while() a regular for loop
5072         (getCursorX): use temp vars
5073         (setCurrentFont): use temp vars
5074         (getColumnNearX): use temp vars
5075
5076 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * text.C (transformChar): use temp var for getChar
5079         (computeBidiTables): use temp var for row->par()
5080         (fill): move temp vars for row->par() and pit->layout() earlier in
5081         the function.
5082         (labelFill): use temp var for row->par()
5083         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5084         asc and desc, realize that pit never changes and that firstpit is
5085         just a duplicate and not needed. Exchange rit->par() with pit in a
5086         lot of places.
5087         (breakAgain): use a temp var for boost::next(rit)
5088         (breakAgainOneRow): ditto
5089         (breakParagraph): use a temp var for rows().begin()
5090         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5091         (cursorRightOneWord): use temp var for cursor.par() and
5092         cursor.pos(), remove usage of tmpcursor.
5093         (cursorLeftOneWord): use temp var for cursor.par() and
5094         cursor.pos() only set cur at end of function.
5095
5096 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * text.C, text2.C: exchange all usage of Paragraph::next with
5099         boost::next(ParagraphList::iterator)
5100
5101         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5102
5103         * text2.C (cursorTop): simplify implementation
5104         (cursorBottom): ditto
5105         (setParagraph): use ParagraphList::iterator
5106         (setCurrentFont): adjust
5107         (getColumnNearX): adjust
5108         (cursorRight): adjust
5109         (cursorLeft): remove usage of Paragraph::previous
5110         (cursorUpParagraph): ditto
5111         (deleteEmptyParagraphMechanism): slight cleanup
5112
5113         * text.C (isBoundary): take a Paragraph const & instead of a
5114         pointer as arg.
5115         (addressBreakPoint): ditto
5116         (leftMargin): remove usage of Paragraph::previous.
5117         (setHeightOfRow): ditto
5118         (cursorLeftOneWord): ditto
5119         (selectNextWordToSpellcheck): ditto
5120         (Delete): ditto
5121         (backspace): ditto
5122         (breakParagraph): remove one usage of Paragraph::next
5123         (redoParagraph): ditto
5124         (acceptChange): ditto
5125         (insertChar): adjust
5126         (rowBreakPoint): adjust
5127
5128         * bufferview_funcs.C (toggleAndShow): adjust
5129
5130 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5131
5132         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5133         methods to access it.
5134         * lyxtext.h:
5135         * text.C: Added updateRowPositions to compute all row positions.
5136         Make top_y and getRowNearY() to use the cached y position
5137
5138 2003-04-11  John Levon  <levon@movementarian.org>
5139
5140         * text.C (rowBreakPoint): reintroduce the labelEnd
5141         checks, code copied from the row fill stuff. Deep voodoo.
5142
5143         * text.C (fill): add a comment and debugging for the
5144         next poor soul.
5145
5146 2003-04-11  John Levon  <levon@movementarian.org>
5147
5148         * text.C: make sure fullrow insets get wrapped to the next line,
5149         even when they're in a manual label
5150
5151 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * text2.C (insertParagraph): make it take ParagraphList::iterator
5154         as arg.
5155         (setLayout): make it return ParagraphList::iterator
5156         (redoParagraphs): ditto
5157         (setCounter): ditto
5158         (checkParagraph): ditto
5159
5160         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5161
5162         * text2.C: adjust several funcs.
5163         (realizeFont): take a ParagraphList::iterator as arg.
5164         (getLayoutFont): ditto
5165         (getLabelFont): ditto
5166         (setCharFont): ditto
5167
5168         * text.C: adjust several funcs.
5169
5170 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5171
5172         * text.C (selectNextWordToSpellcheck): don't accidentally
5173         skip insets
5174
5175 2003-04-10  John Levon  <levon@movementarian.org>
5176
5177         * ToolbarBackend.C (getIcon): special handling for
5178         LFUN_MATH_DELIM
5179
5180 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * text2.C (cursorRight): a getChar assert fixed
5183
5184 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * text2.C (getFont): change to take a ParagraphList::iterator
5187         instead of Paragraph*
5188         Adjust several functions.
5189
5190         * text.C (transformChar): change to take a ParagraphList::iterator
5191         instead of Paragraph*
5192         (singleWidth): ditto
5193         Adjust several functions.
5194
5195         * rowpainter.C: adjust several functions
5196         * rowpainter.h:store a ParagraphList::iterator and not a
5197         Paragraph&.
5198
5199
5200 2003-04-09  John Levon  <levon@movementarian.org>
5201
5202         * lyxfunc.C:
5203         * lfuns.h:
5204         * LyXAction.h:
5205         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5206         and the "help" bits as well
5207
5208 2003-04-09  John Levon  <levon@movementarian.org>
5209
5210         * ToolbarBackend.h:
5211         * ToolbarBackend.C: allow multiple toolbars
5212
5213 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * undo_funcs.C (setCursorParUndo): adjust
5216
5217         * text_funcs.C (transposeChars): adjust
5218
5219         * text3.C (gotoNextInset): adjust
5220         (dispatch): adjust
5221
5222         * text2.C (setLayout): adjust
5223         (changeDepth): adjust
5224         (setFont): adjust
5225         (redoParagraphs): adjust
5226         (selectionAsString): adjust
5227         (setParagraph): adjust
5228         (insertInset): adjust
5229         (cutSelection): adjust
5230         (copySelection): adjust
5231         (pasteSelection): adjust
5232         (insertStringAsLines): adjust
5233         (updateInset): adjust
5234         (setCursor): change to take a ParagraphList::iterator parameter
5235         (setCursorIntern): change to take a ParagraphList::iterator parameter
5236         (setCurrentFont): adjust
5237         (cursorLeft): adjust
5238         (cursorRight): adjust
5239         (deleteEmptyParagraphMechanism): adjust
5240
5241         * text.C (breakParagraph): adjust
5242         (insertChar): adjust
5243         (acceptChange): adjust
5244         (rejectChange): adjust
5245         (selectNextWordToSpellcheck): adjust
5246         (changeCase): adjust
5247         (Delete): adjust
5248         (backspace): adjust
5249
5250         * lyxfind.C (SearchForward): adjust
5251         (SearchBackward): adjust
5252         (nextChange): adjust
5253
5254         * lyxcursor.C (par): adjust
5255
5256         * lyxcursor.h: store a ParagraphList::iterator instead of a
5257         Paragraph*
5258
5259         * lyx_cb.C (getPossibleLabel): adjust
5260
5261         * bufferview_funcs.C (toggleAndShow): adjust
5262
5263         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5264         (dispatch): adjust
5265
5266         * BufferView.C (removeAutoInsets): adjust
5267         (lockedInsetStoreUndo): adjust
5268
5269 2003-04-09  John Levon  <levon@movementarian.org>
5270
5271         * ToolbarBackend.C: try icon without argument
5272         if with argument fails
5273
5274 2003-04-08  John Levon  <levon@movementarian.org>
5275
5276         * ToolbarBackend.h:
5277         * ToolbarBackend.C: add getIcon(), handle tooltip,
5278         and change from "Icon" to "Item".
5279
5280 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * BufferView.C (lockInset): another bad getchar crunched
5283
5284 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5287         again)
5288
5289 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * lyxfind.C (searchForward, searchBackwards): bug 782
5292
5293 2003-04-07  John Levon  <levon@movementarian.org>
5294
5295         * paragraph.C: remove dead comment
5296
5297         * text.C: remove troublesome depth-fiddling code
5298         in leftMargin() and rightMargin() (bug 1017)
5299
5300         * text.C: fix breaking of rows in nested lists
5301         (bug 1004)
5302
5303         * text2.C (updateCounters): fix up depth values
5304         (bug 1013)
5305
5306 2003-04-07  John Levon  <levon@movementarian.org>
5307
5308         * BufferView_pimpl.C: clear message when doc finishes resizing,
5309         and after a mouse event
5310
5311         * lyxfunc.C: clear message after exiting inset
5312
5313 2003-04-07  John Levon  <levon@movementarian.org>
5314
5315         * bufferview_funcs.C: show math status not outside
5316         status in the statusbar
5317
5318 2003-04-07  John Levon  <levon@movementarian.org>
5319
5320         * lyxfunc.C: note status changed after a depth change
5321
5322 2003-04-04  Angus Leeming  <leeming@lyx.org>
5323
5324         * LaTeX.h: move AuxInfo operator==, != out of line.
5325         Remove LaTeX virtual destructor; nothing derives from it.
5326         Move operator()() out of public area and rename it startscript().
5327         Change protected for private.
5328
5329 2003-04-04  Angus Leeming  <leeming@lyx.org>
5330
5331         * lyxfunc.C:
5332         * text2.C: remove unneeded #includes.
5333
5334 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5335
5336         * text2.C (dEPM): fix the heigth of the next row
5337
5338 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5339
5340         * text.C: squashed an invalid getChar requester + some ws changes
5341
5342 2003-04-03  John Levon  <levon@movementarian.org>
5343
5344         * bufferview_funcs.h:
5345         * bufferview_funcs.C:
5346         * lyxfunc.C:
5347         * lyxtext.h:
5348         * text2.C: make getStatus work for the env depth lfuns
5349
5350 2003-04-03  John Levon  <levon@movementarian.org>
5351
5352         * bufferview_funcs.h:
5353         * bufferview_funcs.C:
5354         * lyxfunc.C:
5355         * lyxtext.h:
5356         * text2.C: parlistize decDepth(), by merging it with incDepth()
5357
5358 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * lyxrow.h: store a ParagraphList::iterator instead of a
5361         Paragraph* and adjust other class functions to suit.
5362
5363         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5364         above.
5365
5366 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * text2.C (setCursor): do not anchor to cursor row for the time being
5369
5370 2003-04-02  John Levon  <levon@movementarian.org>
5371
5372         * LyXAction.C:
5373         * lfuns.h:
5374         * lyx_main.C:
5375         * lyxtext.h:
5376         * text.C:
5377         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5378
5379 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * paragraph.h: make ParagraphList and ParagraphList::iterator
5382         friends of Paragraph.
5383
5384         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5385
5386         * ParagraphList.C: Use the private next_ and previous_ from
5387         Paragraph.
5388
5389 2003-04-01  John Levon  <levon@movementarian.org>
5390
5391         * ToolbarBackend.h:
5392         * ToolbarBackend.C:
5393         * Makefile.am: rename, remove defaults gunk
5394
5395         * MenuBackend.h:
5396         * MenuBackend.C: remove defaults gunk
5397
5398         * Languages.h:
5399         * Languages.C: remove defaults gunk
5400
5401         * lyx_main.h:
5402         * lyx_main.C: error out if files couldn't be found.
5403
5404 2003-04-02  John Levon  <levon@movementarian.org>
5405
5406         * text2.C: make incDepth() use parlist
5407
5408 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * undo_funcs.C (firstUndoParagraph): adjust
5411
5412         * text3.C (gotoInset): adjust
5413         (dispatch): adjust, and rewrite loop.
5414
5415         * text2.C (init): adjust, and rewrite loop.
5416         (redoParagraphs): adjust
5417         (updateInset): adjust, and rewrite loop.
5418         (deleteEmptyParagraphMechanism): adjust
5419
5420         * tabular.C (LyXTabular): adjust
5421         (SetMultiColumn): adjust
5422         (TeXRow): adjust
5423
5424         * lyxtext.[Ch] (ownerParagraph): delete function
5425         (ownerParagraphs): new function returns a ParagraphList.
5426
5427         * BufferView.C (removeAutoInsets): adjust
5428         (insertErrors): adjust
5429         (setCursorFromRow): adjust
5430
5431 2003-04-01  Angus Leeming  <leeming@lyx.org>
5432
5433         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5434         in the frontends.
5435
5436 2003-04-02  John Levon  <levon@movementarian.org>
5437
5438         * lyxtext.h:
5439         * text.C:
5440         * Makefile.am:
5441         * text_funcs.h:
5442         * text_funcs.C: make transposeChars a free function
5443
5444         * lyxrow_funcs.C: remove wrong comment
5445
5446 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * lyxtext.h: adjust
5449         * rowpainter.C: adjust
5450         * text.C: adjust
5451         * text2.C: adjust
5452         * text3.C: adjust
5453
5454         * lyxrow_funcs. [Ch]: new files
5455
5456         * lyxrow.[Ch]: remove next and previous pointers
5457         (next,previous): remove accessor functions
5458         (isParEnd): move to lyxrow_funcs
5459         (lastPos): move to lyxrow_funcs
5460         (nextRowIsAllInset): move to lyxrow_funcs
5461         (lastPrintablePos): move to lyxrow_funcs
5462         (numberOfSeparators): move to lyxrow_funcs
5463         (numberOfHfills): move to lyxrow_funcs
5464         (numberOfLabelHfills): move to lyxrow_funcs
5465         (hfillExpansion): move to lyxrow_funcs
5466
5467         * lyxfunc.C: adjust
5468
5469         * bufferview_funcs.C (toggleAndShow): adjust
5470
5471         * RowList.h: Remove class RowList from file leave just a
5472         std::list<Row>.
5473
5474         * RowList.C: delete file
5475
5476         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5477         and lyxrow_funcs.h
5478
5479 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * text3.C (cursorPrevious): adjust
5482         (cursorNext): adjust
5483         (dispatch): adjust
5484
5485         * text2.C (redoHeightOfParagraph): adjust
5486         (redoDrawingOfParagraph): adjust
5487         (setCursor): adjust
5488
5489         * text.C (breakParagraph): adjust
5490         (insertChar): adjust
5491         (backspace): adjust
5492
5493         * rowpainter.C (RowPainter): adjust
5494         (leftMargin): simplify and adjust
5495         (most rowpainter functions): adjust.
5496
5497         * rowpainter.h: store the row as RowList::iterator not as Row*
5498
5499         * lyxcursor.C (row): taka RowList::iterator as arg
5500         (irow): ditto
5501
5502         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5503         of Row*.
5504
5505 2003-04-01  Angus Leeming  <leeming@lyx.org>
5506
5507         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5508         stuff like bool Bool.
5509
5510 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5511
5512         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5513         rewrite a loop
5514
5515 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5518         RowList::iterator.
5519
5520         * lyxtext.h (rows): drop one version and leve a const variant that
5521         returns a RowList::iterator.
5522
5523 2003-03-31  Angus Leeming  <leeming@lyx.org>
5524
5525         * text.C (fill): ensure that the signature is the same as that in the
5526         header file.
5527
5528 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * text2.C (redoParagraphs): adjust
5531         (updateCounters): adjust
5532         (checkParagraph): adjust
5533         (getColumnNearX): adjust and reformat a bit.
5534
5535         * text.C (top_y): adjust
5536         (workWidth): adjust
5537         (leftMargin): adjust
5538         (prepareToPrint): adjust
5539         (getRow): adjust
5540         (getRowNearY): adjust
5541
5542         * lyxtext.h: make rowlist_ mutable.
5543
5544         * RowList.h: add const_iterator
5545         * RowList.C: adjust for RowList::const_iterator.
5546
5547         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5548         adjust.
5549
5550 2003-03-31  John Levon  <levon@movementarian.org>
5551
5552         * lyxrc.h:
5553         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5554
5555         * lyx_main.C: set default fonts from using lyx_gui funcs
5556
5557         * exporter.C: pdf_mode moved from lyxrc
5558
5559         * lyx_cb.C:
5560         * lyxfunc.C: changes from above
5561
5562 2003-03-31  John Levon  <levon@movementarian.org>
5563
5564         * lyx_main.C: fix to the last fix
5565
5566 2003-03-31  John Levon  <levon@movementarian.org>
5567
5568         * bufferlist.C: "Load original" -> "Load Original"
5569
5570         * converter.C:
5571         * exporter.C:
5572         * importer.C:
5573         * lyx_main.C:
5574         * format.C: more Alert cleanups
5575
5576 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * text2.C (removeParagraph): make it take a RowList::iterator as
5579         arg, adjust.
5580         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5581         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5582
5583         * text.C (anchor_row): make it take a RowList::iterator as arg,
5584         adjust.
5585         (computeBidiTables): make it take a const reference to Row instead
5586         of Row pointer, adjust.
5587         (leftMargin): make it take a RowList::iterator as arg, adjust.
5588         (rowBreakPoint): adjust
5589         (breakAgainOneRow): make it take a RowList::iterator as arg,
5590         adjust.
5591         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5592
5593         * bufferview_funcs.C (toggleAndShow): adjust
5594
5595 2003-03-30  John Levon  <levon@movementarian.org>
5596
5597         * Makefile.am:
5598         * BoostFormat.h:
5599         * boost-inst.C: moved to support
5600
5601         * several files: changes as a result
5602
5603 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * text2.C (LyXText): adjust.
5606         (init): adjust
5607         (removeRow): make it take a RowList::iterator as arg, adjust.
5608         (fullRebreak): adjust
5609         (deleteEmptyParagraphMechanism): adjust
5610         (clearPaint): adjust
5611         (postPaint): adjust
5612
5613         * text.C (top_y): adjust
5614         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5615         (breakAgain): make it take a RowList::iterator as arg, adjust.
5616         (breakParagraph): adjust
5617         (insertChar): adjust
5618         (backspace): adjust
5619
5620         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5621         need_break_row, and refresh_row.
5622
5623         * text3.C (dispatch): adjust
5624
5625         * text2.C (checkParagraph): adjust
5626         (setCursor): adjust
5627         (setCursorFromCoordinates): adjust
5628
5629         * text.C (top_y): adjust
5630         (workWidth): adjust
5631         (getRow): make it return a RowList::iterator, adjust
5632         (getRowNearY): make it return a RowList::iterator, adjust
5633
5634         * text2.C (init): adjust
5635         (insertRow): remove function
5636         (insertParagraph): adjust
5637         (redoParagraphs): adjust
5638         (fullRebreak): adjust
5639         (updateCounters): adjust
5640
5641         * text.C (top_y): rewrite to use RowList iterators.
5642         (top_y): adjust
5643         (setHeightOfRow): rewrite to sue RowList iterators.
5644         (appendParagraph): adjust
5645         (breakAgain): adjust
5646         (breakAgainOneRow): adjust
5647         (breakParagraph): adjust
5648         (getRow): adjust
5649         (getRowNearY): adjust, and remove commented code.
5650
5651         * lyxtext.h (firstRow): delete function
5652         (lastRow): delete function
5653         (rows): new function (const and non-const versions.)
5654         (insertRow): delete function
5655
5656         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5657
5658 2003-03-29  John Levon  <levon@movementarian.org>
5659
5660         * BufferView_pimpl.C: always update scrollbar top
5661         because pasting text when we're anchored could mean we
5662         miss an update altogether
5663
5664 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * text2.C (init): use rowlist_.end() and not 0.
5667         (insertRow): change to take a RowList::iterator as arg, adjust
5668         for this.
5669         (insertParagraph): change to take a RowList::iterator as arg,
5670         adjust for this.
5671         (redoParagraphs): remove some debug msgs.
5672
5673         * text.C (appendParagraph): change to take a RowList::iterator
5674         arg, adjust for this.
5675         (breakAgain): add an assert
5676         (breakAgainOneRow): ditto
5677
5678 2003-03-29  John Levon  <levon@movementarian.org>
5679
5680         * text2.C: do not clear selection after inc/decDepth
5681         (bug 550)
5682
5683 2003-03-29  John Levon  <levon@movementarian.org>
5684
5685         * BufferView.C:
5686         * buffer.C: fix broken strerrors according to Lars
5687
5688 2003-03-29  John Levon  <levon@movementarian.org>
5689
5690         * converters.C: more Alert cleanups
5691
5692 2003-03-29  John Levon  <levon@movementarian.org>
5693
5694         * bufferview_funcs.C: remove pointless Alert
5695
5696         * buffer.C: fix confusing error message when
5697         a template is chmoded 000
5698
5699 2003-03-29  John Levon  <levon@movementarian.org>
5700
5701         * BufferView.C:
5702         * BufferView.h:
5703         * BufferView_pimpl.C: Alert fixes
5704
5705         * Makefile.am:
5706         * tabular.C:
5707         * tabular-old.C: remove unused table compat reading
5708
5709 2003-03-29  John Levon  <levon@movementarian.org>
5710
5711         * BufferView.C:
5712         * buffer.C:
5713         * lyx_cb.h:
5714         * lyx_cb.C: more Alert cleanups
5715
5716         * lyxfunc.C: don't allow chktex if not latex document
5717
5718 2003-03-29  John Levon  <levon@movementarian.org>
5719
5720         * lyx_cb.C:
5721         * BufferView.C:
5722         * buffer.C: warnings pushed down from support/,
5723         kill err_alert
5724
5725 2003-03-29  John Levon  <levon@movementarian.org>
5726
5727         * lyxfunc.C: safety check for C-r (revert)
5728
5729 2003-03-29  John Levon  <levon@movementarian.org>
5730
5731         * bufferlist.h:
5732         * bufferlist.C: several UI fixes using Alert::prompt.
5733         Fix the pointless looping quit code. Fix stupid revert
5734         behaviour (bug 938)
5735
5736         * lyxvc.h:
5737         * lyxvc.C:
5738         * lyx_cb.C: use Alert::prompt
5739
5740         * lyx_main.C: remove a silly question
5741
5742         * lyxfunc.C: remove a couple of silly questions,
5743         use Alert::prompt
5744
5745 2003-03-28  John Levon  <levon@movementarian.org>
5746
5747         * text2.C: fix bug 974 (End on empty par)
5748
5749 2003-03-28  John Levon  <levon@movementarian.org>
5750
5751         * BufferView_pimpl.C:
5752         * LyXAction.C:
5753         * lfuns.h: remove do-nothing math greek lfuns
5754
5755 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * lyxgluelength.h (isValidGlueLength): add default arg on
5758         parameter 2. Remove default arg from friend in class.
5759
5760         * lyxlength.h (isValidLength): add default arg on parameter 2.
5761         Remove default arg from friend in class.
5762
5763         * text2.C (LyXText): adjust, initialize refresh_row.
5764         (init): adjust
5765         (removeRow): adjust
5766         (insertRow): adjust
5767         (insertParagraph): adjst
5768         (redoParagraphs): adjust
5769         (fullRebreak): adjust
5770         (updateCounters): adjust
5771         (deleteEmptyParagraphMechanism): first attempt at fixing a
5772         crashing bug.
5773
5774         * text.C (top_y): adjust
5775         (setHeightOfRow): adjust
5776         (getRow): adjust
5777         (getRowNearY): adjust
5778
5779         * lyxtext.h: include RowList.h
5780         (~LyXText): not needed anymore, deleted.
5781         (firstRow): modify for RowList
5782         (lastRow): new function
5783         Delete firstrow and lastrow class variables, add a Rowlist
5784         rowlist_ class variable.
5785
5786         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5787         paragraph is empty.
5788
5789         * RowList.C (insert): fix case where it == begin().
5790
5791 2003-03-26  Angus Leeming  <leeming@lyx.org>
5792
5793         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5794         the thesaurus dialog.
5795
5796 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5799
5800         * RowList.[Ch]: new files
5801
5802         * ParagraphList.C (erase): handle the case where it == begin
5803         correctly.
5804
5805 2003-03-25  John Levon  <levon@movementarian.org>
5806
5807         * Makefile.am:
5808         * aspell_local.h:
5809         * aspell.C: add new aspell support
5810
5811         * lyxrc.h:
5812         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5813         have it accessible.
5814
5815 2003-03-25  Angus Leeming  <leeming@lyx.org>
5816
5817         * lfuns.h:
5818         * LyXAction.C (init): new LFUN_INSET_INSERT.
5819
5820         * BufferView_pimpl.C (dispatch): split out part of the
5821         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5822
5823         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5824         LFUN_INSET_APPLY.
5825
5826 2003-03-25  Angus Leeming  <leeming@lyx.org>
5827
5828         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5829
5830 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5831
5832         * text2.C:
5833         * text3.C: remove useless row->height(0)
5834
5835 2003-03-25  John Levon  <levon@movementarian.org>
5836
5837         * lyxtext.h:
5838         * text2.C:
5839         * text3.C: rename the refreshing stuff to better names
5840
5841 2003-03-24  John Levon  <levon@movementarian.org>
5842
5843         * BufferView_pimpl.h:
5844         * BufferView_pimpl.C: update layout choice on a mouse
5845         press/release
5846
5847 2003-03-23  John Levon  <levon@movementarian.org>
5848
5849         * Makefile.am: fix commandtags.h reference
5850
5851 2003-03-22  John Levon  <levon@movementarian.org>
5852
5853         * BufferView_pimpl.C:
5854         * lyxtext.h:
5855         * rowpainter.C:
5856         * rowpainter.h:
5857         * text.C:
5858         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5859
5860 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5861
5862         * lyxtext.h:
5863         * text.C: take the rtl methods out of line
5864
5865 2003-03-21 André Pönitz <poenitz@gmx.net>
5866
5867         * metricsinfo.[Ch]: new files containing structures to be passed around
5868         during the two-phase-drawing...
5869
5870 2003-03-21 André Pönitz <poenitz@gmx.net>
5871
5872         * lyxtextclass.C: read 'environment' tag.
5873
5874 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5875
5876         * text2.C (removeRow): fix bug 964
5877
5878 2003-03-20  John Levon  <levon@movementarian.org>
5879
5880         * rowpainter.C:
5881         * text.C:
5882         * text2.C: paint cleanups. Inset::update() dropped font
5883         parameter
5884
5885 2003-03-19  John Levon  <levon@movementarian.org>
5886
5887         * lyxfunc.C: only fitcursor/markDirty if available()
5888
5889 2003-03-19  John Levon  <levon@movementarian.org>
5890
5891         * commandtags.h: rename to ...
5892
5893         * lfuns.h: ... this, and renumber / cleanup
5894
5895 2003-03-19  John Levon  <levon@movementarian.org>
5896
5897         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5898         fit the cursor after an lfun
5899
5900         * BufferView.h:
5901         * BufferView.C:
5902         * BufferView_pimpl.h:
5903         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5904
5905         * LyXAction.C: layout-character should have ReadOnly
5906
5907         * ParagraphParameters.C:
5908         * buffer.C:
5909         * bufferview_funcs.C:
5910         * lyx_cb.C:
5911         * lyxfind.C:
5912         * lyxtext.h:
5913         * text.C:
5914         * text2.C:
5915         * text3.C:
5916         * undo_funcs.C: changes from above
5917
5918 2003-03-18  John Levon  <levon@movementarian.org>
5919
5920         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5921         remove it from update()
5922
5923         * lyxfunc.C: update layout choice after an lfun
5924
5925         * text3.C: remove extra updateLayoutChoice()s
5926
5927 2003-03-18  John Levon  <levon@movementarian.org>
5928
5929         * text.C: top_y change means full repaint, fix
5930         a drawing bug with cursor movement
5931
5932 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5933
5934         * lyxtext.h:
5935         * text.C:
5936         * text2.C: anchor row on setCursor
5937
5938 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5939
5940         * lyxtext.h: remove almost all mutable keywords
5941         * text.C:
5942         * text2.C:
5943         * text3.C: remove const keywords accordingly
5944
5945 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5948         anon namespace
5949         (TeXEnvironment): ditto
5950         (TeXOnePar): ditto
5951
5952 2003-03-17  John Levon  <levon@movementarian.org>
5953
5954         * text.C (rowBreakPoint): remove attempt to fix displayed
5955         math insets inside a manual label
5956
5957 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5958
5959         * lyxtext.h: remove BufferView* as first arg from almost all class
5960         functions.
5961         * other files: adjust.
5962
5963 2003-03-17  John Levon  <levon@movementarian.org>
5964
5965         * lyxtext.h:
5966         * undo_funcs.C:
5967         * text2.C: more paint cleanups
5968
5969         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5970
5971         * rowpainter.h:
5972         * rowpainter.C: remove "smart" background painting code
5973
5974 2003-03-16  John Levon  <levon@movementarian.org>
5975
5976         * lyxtext.h:
5977         * text.C:
5978         * text2.C:
5979         * text3.C: add helper functions for setting refresh_row/y
5980
5981 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5982
5983         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5984         newline inset which *can* get inserted in the pass_thru layouts.
5985         This is primarily for literate documents.
5986
5987 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5988
5989         * buffer.C: increment LYX_FORMAT to 223
5990
5991 2003-03-14 André Pönitz <poenitz@gmx.net>
5992
5993         * textclass.h: prepare for environment handling, ws changes
5994         * lyxlayout.C: read latexheader and latexfooter tags
5995
5996 2003-03-14  John Levon  <levon@movementarian.org>
5997
5998         * text2.C: rewrite ::status() a bit
5999
6000 2003-03-13  John Levon  <levon@movementarian.org>
6001
6002         * lyxtext.h: add some docs
6003
6004 2003-03-13  John Levon  <levon@movementarian.org>
6005
6006         * lyxtext.h:
6007         * text.C:
6008         * text2.C:
6009         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6010
6011 2003-03-13  John Levon  <levon@movementarian.org>
6012
6013         * text3.C: fix appendix redrawing
6014
6015 2003-03-13  John Levon  <levon@movementarian.org>
6016
6017         * text.C (setHeightOfRow):
6018         * rowpainter.h:
6019         * rowpainter.C: make appendix mark have the text
6020           "Appendix" so the user knows what it is
6021
6022         * LColor.h:
6023         * LColor.C: s/appendixline/appendix/ from above
6024
6025 2003-03-13  John Levon  <levon@movementarian.org>
6026
6027         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6028
6029         * text.C: fix a getChar(pos) bug properly
6030
6031 2003-03-13  Angus Leeming  <leeming@lyx.org>
6032
6033         * commandtags.h:
6034         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6035         Probably only temporary. Let's see how things pan out.
6036
6037         * BufferView.C (unlockInset):
6038         * BufferView_pimpl.C (fitCursor):
6039         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6040
6041         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6042         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6043
6044         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6045         new functions that convert ParagraphParameters to and from a string.
6046
6047         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6048         BufferView::Pimpl's dispatch.
6049         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6050
6051 2003-03-13 André Pönitz <poenitz@gmx.net>
6052
6053         * lyxfunc.C:
6054         * text3.C:
6055         * factory.C: make it aware of InsetEnv
6056
6057 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * text2.C (setCursor): never ask for one past last
6060         (setCursor): add some debugging messages.
6061
6062         * text.C (singleWidth): never ask for one past last
6063         (singleWidth): ditto
6064         (leftMargin): ditto
6065         (rightMargin): ditto
6066         (rowBreakPoint): ditto
6067         (setHeightOfRow): ditto
6068         (prepareToPrint): ditto
6069
6070         * rowpainter.C (paintBackground): never ask for one past last
6071         (paintText): never ask for one past last
6072
6073         * paragraph_pimpl.C (getChar): make the assert stricter, never
6074         allow the one past last pos to be taken
6075
6076         * paragraph.C (getChar): ws changes only
6077
6078         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6079         (numberOfSeparators): ditto
6080         (numberOfHfills): ditto
6081
6082 2003-03-12  John Levon  <levon@movementarian.org>
6083
6084         * author.h:
6085         * author.C:
6086         * bufferparams.h:
6087         * bufferparams.C:
6088         * paragraph_funcs.C: fix per-buffer authorlists
6089
6090 2003-03-12  John Levon  <levon@movementarian.org>
6091
6092         * text.C: fix newline in right address
6093
6094 2003-03-12  Angus Leeming  <leeming@lyx.org>
6095
6096         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6097         duplicate those in LyXFunc::dispatch.
6098
6099         * commandtags.h:
6100         * LyXAction.C:
6101         * ToolbarDefaults.C:
6102         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6103         Add LFUN_FONTFREE_UPDATE.
6104
6105         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6106         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6107
6108         * bufferview_func.[Ch]: several new functions to facilliate
6109         transfer of data to and from the character dialog.
6110
6111 2003-03-12  John Levon  <levon@movementarian.org>
6112
6113         * buffer.C:
6114         * paragraph.h:
6115         * paragraph.C:
6116         * paragraph_funcs.C:
6117         * paragraph_pimpl.C:
6118         * sgml.C:
6119         * tabular.C:
6120         * text.C:
6121         * text3.C: remove META_NEWLINE in favour of an inset
6122
6123         * rowpainter.h:
6124         * rowpainter.C: remove paintNewline (done by inset)
6125
6126 2003-03-12  John Levon  <levon@movementarian.org>
6127
6128         * paragraph_pimpl.C: complain about bad getChar()s
6129         for a while at least
6130
6131 2003-03-12  John Levon  <levon@movementarian.org>
6132
6133         * buffer.h:
6134         * buffer.C: move paragraph read into a separate function,
6135         a little renaming to reflect that.
6136
6137         * bufferparams.h:
6138         * bufferparams.C: remove the author_ids map, not necessary now
6139
6140         * factory.h:
6141         * factory.C: moved Buffer::readInset to here
6142
6143         * paragraph_funcs.h:
6144         * paragraph_funcs.C: readParagraph free function moved from
6145         buffer.C
6146
6147         * tabular.C: name change
6148
6149 2003-03-12  John Levon  <levon@movementarian.org>
6150
6151         * buffer.C:
6152         * ParagraphParameters.C: move par params input to
6153         a read() method
6154
6155         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6156         behave like a normal read from the stream wrt reading
6157         a line vs. a \\token
6158
6159 2003-03-12  John Levon  <levon@movementarian.org>
6160
6161         * paragraph.C:
6162         * ParagraphParameters.h:
6163         * ParagraphParameters.C: move output code to a
6164         ::write() method
6165
6166 2003-03-12  John Levon  <levon@movementarian.org>
6167
6168         * BufferView.C (insertLyXFile):
6169         * buffer.h:
6170         * buffer.C:
6171         * tabular.C: use a parlist iterator for creating the
6172           document.
6173
6174 2003-03-12  John Levon  <levon@movementarian.org>
6175
6176         * buffer.C: make current_change static local not
6177           static file-scope
6178
6179 2003-03-12  John Levon  <levon@movementarian.org>
6180
6181         * buffer.C: fix insertStringAsLines for change tracking
6182
6183 2003-03-12  John Levon  <levon@movementarian.org>
6184
6185         * BufferView.C:
6186         * tabular.C:
6187         * buffer.h:
6188         * buffer.C:
6189         * bufferparams.h:
6190         * bufferparams.C: move author list into params. Rename some
6191           functions. Move the header reading into a separate token
6192           loop. Move the header token reading into BufferParams.
6193
6194 2003-03-12  John Levon  <levon@movementarian.org>
6195
6196         * changes.C: put debug inside lyxerr.debugging() checks
6197
6198 2003-03-11 André Pönitz <poenitz@gmx.net>
6199
6200         * factory.C: make it aware of InsetHFill
6201
6202 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6203
6204         * buffer.C (latexParagraphs): move function from here...
6205         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6206         args.
6207
6208 2003-03-10  Angus Leeming  <leeming@lyx.org>
6209
6210         * LyXAction.C (init): fix bug in poplating array with multiple entries
6211         with the same LFUN (spotted by JMarc).
6212
6213 2003-03-10  John Levon  <levon@movementarian.org>
6214
6215         * text.C:
6216         * text2.C: move getColumnNearX() near its
6217         only call site
6218
6219 2003-03-10  John Levon  <levon@movementarian.org>
6220
6221         * text.C: fix break before a minipage
6222
6223 2003-03-10  John Levon  <levon@movementarian.org>
6224
6225         * text.C: fix the last commit
6226
6227 2003-03-09  John Levon  <levon@movementarian.org>
6228
6229         * lyxtext.h:
6230         * text.C:
6231         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6232         bug 365 (don't break before insets unless needed). Don't
6233         return a value > last under any circumstances.
6234
6235 2003-03-09  Angus Leeming  <leeming@lyx.org>
6236
6237         * BufferView_pimpl.C (trackChanges, dispatch): call
6238         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6239
6240 2003-03-09  Angus Leeming  <leeming@lyx.org>
6241
6242         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6243         than Dialogs::showAboutlyx().
6244
6245 2003-03-09  Angus Leeming  <leeming@lyx.org>
6246
6247         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6248         than Dialogs::showTabularCreate().
6249
6250 2003-03-09  John Levon  <levon@movementarian.org>
6251
6252         * lyxtext.h:
6253         * text.C:
6254         * text2.C: 3rd arg to nextBreakPoint was always the same.
6255           Use references.
6256
6257 2003-03-08  John Levon  <levon@movementarian.org>
6258
6259         * lyxrow.C:
6260         * paragraph.C:
6261         * paragraph.h:
6262         * rowpainter.C:
6263         * text.C:
6264         * text2.C: Remove the "main" bit from the "main body"
6265           notion.
6266
6267 2003-03-08  John Levon  <levon@movementarian.org>
6268
6269         * text.C (leftMargin): The left margin of an empty
6270         manual label paragraph should not include the label width
6271         string length.
6272
6273         * text.C (prepareToPrint): don't attempt to measure hfills
6274         for empty manual label paragraphs - the answer should be 0
6275
6276 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * CutAndPaste.C: remove commented code and reindent.
6279
6280 2003-03-08  John Levon  <levon@movementarian.org>
6281
6282         * lyxfunc.h:
6283         * lyxfunc.C: move reloadBuffer()
6284
6285         * BufferView.h:
6286         * BufferView.C: to here
6287
6288         * lyxvc.C: add comment
6289
6290         * vc-backend.h:
6291         * vc-backend.C: call bv->reload() to avoid
6292           getStatus() check on MENURELOAD
6293
6294 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6295
6296         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6297         to an old format .dep file.
6298
6299 2003-03-07  Angus Leeming  <leeming@lyx.org>
6300
6301         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6302         when the LFUN_MOUSE_RELEASE should have been handled by
6303         inset->localDispatch.
6304
6305 2003-03-07  Angus Leeming  <leeming@lyx.org>
6306
6307         * BufferView_pimpl.C (dispatch):
6308         * LyXAction.C (init):
6309         * ToolbarDefaults.C (init):
6310         * commandtags.h:
6311         * lyxfunc.C (getStatus):
6312         remove LFUN_INSET_GRAPHICS.
6313
6314         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6315
6316 2003-03-07  Angus Leeming  <leeming@lyx.org>
6317
6318         * commandtags.h:
6319         * LyXAction.C (init):
6320         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6321
6322         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6323
6324         * commandtags.h:
6325         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6326
6327         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6328         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6329
6330 2003-03-07  Angus Leeming  <leeming@lyx.org>
6331
6332         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6333         remove "ert".
6334
6335 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6336
6337         * ParagraphList.C (front): new function
6338         (back): implement
6339
6340 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6341
6342         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6343         and top_row_offset_. removed var first_y.
6344         * text.C (top_y):
6345         * text2.C (LyXText, removeRow):
6346         * text3.C:
6347         * BufferView_pimpl.C:
6348         use these methods instead of using first_y
6349
6350 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * text2.C (pasteSelection): adjust for checkPastePossible
6353
6354         * CutAndPaste.C: remove Paragraph * buf and replace with
6355         ParagraphList paragraphs.
6356         (DeleteBuffer): delete
6357         (cutSelection): change the tc type to textclass_type
6358         (copySelection): change the tc type to textclass_type
6359         (copySelection): adjust for ParagraphList
6360         (pasteSelection): change the tc type to textclass_type
6361         (pasteSelection): adjust for Paragraphlist
6362         (nrOfParagraphs): simplify for ParagraphList
6363         (checkPastePossible): simplify for ParagraphList
6364         (checkPastePossible): remove unused arg
6365
6366         * ParagraphList.C (insert): handle the case where there are no
6367         paragraphs yet.
6368
6369         * CutAndPaste.h: make CutAndPaste a namespace.
6370
6371         * text3.C (dispatch): adjust
6372
6373         * text.C (breakParagraph): add a ParagraphList as arg
6374
6375         * paragraph_funcs.C (breakParagraph): change to take a
6376         BufferParams and a ParagraphList as args.
6377         (breakParagraphConservative): ditto
6378         (mergeParagraph): ditto
6379         (TeXDeeper): add a ParagraphList arg
6380         (TeXEnvironment): ditto
6381         (TeXOnePar): ditto
6382
6383         * buffer.C (readLyXformat2): adjust
6384         (insertStringAsLines): adjust
6385         (latexParagraphs): adjust
6386
6387         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6388         (cutSelection): adjust
6389         (pasteSelection): adjust
6390
6391         * BufferView_pimpl.C (insertInset): adjust
6392
6393 2003-03-05  Angus Leeming  <leeming@lyx.org>
6394
6395         * commandtags.h:
6396         * LyXAction.C (init):
6397         * BufferView_pimpl.C (dispatch):
6398         * lyxfunc.C (getStatus):
6399         remove LFUN_CHILD_INSERT.
6400
6401         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6402
6403 2003-03-05  Angus Leeming  <leeming@lyx.org>
6404
6405         * commandtags.h:
6406         * LyXAction.C (init):
6407         * src/factory.C (createInset):
6408         * lyxfunc.C (getStatus):
6409         * text3.C (dispatch):
6410         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6411
6412         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6413
6414 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * ParagraphList.C (insert): handle insert right before end()
6417         (erase): fix cases where it can be first or last paragraph.
6418
6419 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6422         Paragraph::next and Paragraph::previous
6423         (TeXOnePar): ditto
6424
6425         * text.C (breakParagraph): adjust
6426
6427         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6428         BufferParams& as arg.
6429         (breakParagraph): use ParagraphList::insert
6430         (breakParagraphConservative): take a Buffer* instead of a
6431         BufferParams& as arg.
6432         (breakParagraphConservative): use ParagraphList::insert.
6433
6434         * buffer.C (insertStringAsLines): un-const it
6435         (insertStringAsLines): adjust
6436
6437         * ParagraphList.C (insert): new function
6438
6439         * CutAndPaste.C (pasteSelection): adjust
6440
6441         * text.C (backspace): adjust
6442
6443         * tabular.C (SetMultiColumn): adjust
6444
6445         * CutAndPaste.C (cutSelection): adjust
6446         (pasteSelection): adjust
6447
6448         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6449         Buffer const * as arg
6450
6451         * ParagraphList.C (erase): new function
6452         * paragraph_funcs.C (mergeParagraph): use it
6453         (mergeParagraph): make it take a Buffer* instead of a
6454         BufferParams* as arg
6455
6456         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6457         as arg
6458         (breakParagraphConservative): ditto
6459
6460         * paragraph.h: remove the breakParagraph friend
6461
6462         * paragraph.C (eraseIntern): new function
6463         (setChange): new function
6464
6465         * paragraph_funcs.C (mergeParagraph): make it take a
6466         ParagraphList::iterator instead of a Paragraph *, adjust
6467         accordingly.
6468
6469         * paragraph.h: move an #endif so that the change tracking stuff
6470         also works in the NO_NEXT case.
6471
6472 2003-03-04  Angus Leeming  <leeming@lyx.org>
6473
6474         * commandtags.h:
6475         * LyXAction.C: new LFUN_INSET_MODIFY.
6476
6477         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6478         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6479
6480 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * several files: ws changes only
6483
6484         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6485         (TeXEnvironment): ditto
6486         (TeXDeeper): ditto
6487
6488         * buffer.C (makeLaTeXFile): adjust
6489         (latexParagraphs): make it take ParagraphList::iterator as args
6490
6491 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * buffer.C (latexParagraphs): adjust
6494
6495         * paragraph.C (TeXOnePar): move function...
6496         (optArgInset): move function...
6497         (TeXEnvironment): move function...
6498         * paragraph_pimpl.C (TeXDeeper): move function...
6499         * paragraph_funcs.C: ...here
6500
6501         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6502
6503 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6504
6505         * buffer.C (readInset): remove compability code for old Figure and
6506         InsetInfo insets
6507
6508 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * buffer.C: ws changes
6511         (readInset):
6512
6513         * BufferView_pimpl.C: ditto
6514         * author.C: ditto
6515         * buffer.h: ditto
6516         * bufferlist.h: ditto
6517         * changes.h: ditto
6518         * lyxfunc.C: ditto
6519
6520 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6521
6522         * converter.[Ch]: split into itself +
6523         * graph.[Ch]
6524         * format.[Ch]
6525         * Makefile.am: += graph.[Ch] + format.[Ch]
6526         * MenuBackend.C
6527         * buffer.C
6528         * exporter.C
6529         * importer.C
6530         * lyx_main.C
6531         * lyxfunc.C
6532         * lyxrc.C: added #include "format.h"
6533
6534 2003-02-27  Angus Leeming  <leeming@lyx.org>
6535
6536         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6537           a label.
6538
6539         * factory.C (createInset): add "label" to the factory.
6540
6541         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6542           string and do no more.
6543
6544 2003-02-27  Angus Leeming  <leeming@lyx.org>
6545
6546         * commandtags.h:
6547         * LyXAction.C (init):
6548         * factory.C (createInset):
6549         * BufferView_pimpl.C (dispatch):
6550           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6551
6552         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6553
6554         * lyxfunc.C (dispatch):
6555         * text3.C (dispatch): pass name to params2string.
6556
6557 2003-02-26  Angus Leeming  <leeming@lyx.org>
6558
6559         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6560           blocks together.
6561           Rearrange the ~includes. Strip out the unnecessary ones.
6562
6563         * factory.C (createInset): reformat.
6564           create new insets for the various LFUN_XYZ_APPLY lfuns.
6565
6566 2003-02-26  John Levon  <levon@movementarian.org>
6567
6568         * lyxrow.h:
6569         * lyxrow.C: add isParStart,isParEnd helpers
6570
6571         * paragraph.h: make isInserted/DeletedText take refs
6572
6573         * paragraph_funcs.h:
6574         * paragraph_funcs.C: remove #if 0'd code
6575
6576         * lyxtext.h:
6577         * text3.C:
6578         * text2.C:
6579         * text.C: use lyxrow helpers above.
6580           Move draw and paint routines to RowPainter.
6581           Make several methods use refs not pointers.
6582           Make backgroundColor() const.
6583           Add markChangeInDraw(), isInInset().
6584           Merge changeRegionCase into changeCase.
6585           Make workWidth() shouldn't-happen code into an Assert.
6586
6587         * rowpainter.h:
6588         * rowpainter.C: new class for painting a row.
6589
6590         * vspace.h:
6591         * vspace.C: make inPixels take a ref
6592
6593 2003-02-26  Angus Leeming  <leeming@lyx.org>
6594
6595         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6596         LFUN_REF_APPLY.
6597
6598 2003-02-25  John Levon  <levon@movementarian.org>
6599
6600         * ispell.C: give the forked command a more accurate name
6601
6602 2003-02-22  John Levon  <levon@movementarian.org>
6603
6604         * toc.h:
6605         * toc.C: make TocItem store an id not a Paragraph *
6606           (bug #913)
6607
6608 2003-02-21  Angus Leeming  <leeming@lyx.org>
6609
6610         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6611           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6612           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6613           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6614           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6615           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6616
6617         * BufferView_pimpl.C (dispatch):
6618         * LyXAction.C (init):
6619         * factory.C (createInset):
6620         * lyxfunc.C (getStatus, dispatch):
6621         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6622
6623 2003-02-21  Angus Leeming  <leeming@lyx.org>
6624
6625         * BufferView_pimpl.C (MenuInsertLyXFile):
6626         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6627         * lyxfunc.C (menuNew, open, doImport):
6628           no longer pass a LyXView & to fileDlg.
6629
6630 2003-02-21  Angus Leeming  <leeming@lyx.org>
6631
6632         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6633         * LyXAction.C: change, BIBKEY to BIBITEM.
6634         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6635         Change InsetBibKey to InsetBibitem.
6636         Change BIBKEY_CODE to BIBITEM_CODE.
6637         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6638         * factory.C: replace insetbib.h with insetbibitem.h.
6639         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6640         * paragraph.C: replace insetbib.h with insetbibitem.h.
6641         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6642         Change bibkey() to bibitem().
6643         * text.C: remove insetbib.h.
6644         * text2.C: replace insetbib.h with insetbibitem.h.
6645         change bibkey() to bibitem().
6646         * text3.C: remove insetbib.h.
6647         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6648
6649 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6650
6651         * lyxrc.C (output): enclose user email in quotes (in case there are
6652         several words)
6653
6654 2003-02-18  John Levon  <levon@movementarian.org>
6655
6656         * buffer.h: add std::
6657
6658 2003-02-17  John Levon  <levon@movementarian.org>
6659
6660         * SpellBase.h:
6661         * ispell.h:
6662         * ispell.C:
6663         * pspell.h:
6664         * pspell.C: reworking. Especially in ispell, a large
6665           number of clean ups and bug fixes.
6666
6667         * lyxfunc.C: fix revert to behave sensibly
6668
6669 2003-02-17 André Pönitz <poenitz@gmx.net>
6670
6671         * LyXAction.C:
6672         * commandtags.h: new LFUN_INSERT_BIBKEY
6673
6674         * layout.h:
6675         * lyxlayout.C:
6676         * buffer.C:
6677         * factory.C:
6678         * text.C:
6679         * text2.C:
6680         * text3.C:
6681         * paragraph.[Ch]:
6682         * paragraph_func.C: remove special bibkey handling
6683
6684 2003-02-17  John Levon  <levon@movementarian.org>
6685
6686         * text.C (Delete): fix case where delete at the end of
6687           the very first paragraph would not merge the pars
6688
6689 2003-02-17  John Levon  <levon@movementarian.org>
6690
6691         * lyxrow.C: fix lastPrintablePos()
6692
6693 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6694
6695         * bufferparams.C (writeLaTeX): add a std:here
6696
6697         * buffer.C: and remove a using directive there
6698
6699 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6700
6701         * buffer.C (makeLaTeXFile): move the code that generates the
6702           preamble...
6703
6704         * bufferparams.C (writeLaTeX): ... in this new method
6705
6706         * LaTeXFeatures.C (getEncodingSet): make const
6707           (getLanguages): make const
6708
6709         * MenuBackend.C (binding): returns the binding associated to this
6710           action
6711           (add): sets the status of each item by calling getStatus. Adds
6712           some intelligence.
6713           (read): add support for OptSubMenu
6714           (expand): remove extra separator at the end of expanded menu
6715
6716 2003-02-15  John Levon  <levon@movementarian.org>
6717
6718         * BufferView.C:
6719         * BufferView_pimpl.C:
6720         * bufferlist.h:
6721         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6722           inset code that had no actual effect. Remove unneeded status
6723           code.
6724
6725 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6726
6727         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6728           in preamble
6729
6730 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6731
6732         * text.C (drawLengthMarker): also draw an arrow marker for
6733           symbolic lengths (medskip...)
6734
6735 2003-02-14  John Levon  <levon@movementarian.org>
6736
6737         * tabular.h:
6738         * tabular.C: better method names
6739
6740 2003-02-14  John Levon  <levon@movementarian.org>
6741
6742         * BufferView_pimpl.C:
6743         * bufferlist.C:
6744         * buffer.C:
6745         * converter.C:
6746         * lyx_cb.C:
6747         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6748           it's a more accurate name. Remove some pointless uses.
6749
6750 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6751
6752         * text2.C (LyXText): change order of initilizers to shut off
6753           warnings
6754
6755 2003-02-14  John Levon  <levon@movementarian.org>
6756
6757         * buffer.C: use ParIterator for getParFromID()
6758
6759         * paragraph.h:
6760         * paragraph.C:
6761         * paragraph_pimpl.h:
6762         * paragraph_pimpl.C: remove unused getParFromID()
6763
6764 2003-02-14  John Levon  <levon@movementarian.org>
6765
6766         * buffer.C: remove some very old #if 0'd parse code
6767
6768 2003-02-13  John Levon  <levon@movementarian.org>
6769
6770         * text.h:
6771         * text.C:
6772         * text2.C: move hfillExpansion(), numberOfSeparators(),
6773           rowLast(), rowLastPrintable(), numberofHfills(),
6774           numberOfLabelHfills() ...
6775
6776         * lyxrow.h:
6777         * lyxrow.C: ... to member functions here.
6778
6779         * paragraph.h:
6780         * paragraph.C:
6781         * lyxtext.h:
6782         * text.C: remove LyXText::beginningOfMainBody(), and call
6783           p->beginningOfMainBody() directly. Move the check for
6784           LABEL_MANUAL into the latter.
6785
6786         * text.h:
6787         * text.C:
6788         * text2.C:
6789         * vspace.C:
6790         * BufferView.h:
6791         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6792
6793         * text.h:
6794         * text.C:
6795         * text2.C:
6796         * text3.C:
6797         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6798           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6799
6800 2003-02-13  John Levon  <levon@movementarian.org>
6801
6802         * CutAndPaste.C: remove debug
6803
6804 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6805
6806         * paragraph.C (asString): remove two unused variables
6807
6808         * lyxtextclass.C (readTitleType):
6809           (Read):
6810           (LyXTextClass): handle new members titletype_ and titlename_
6811
6812         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6813
6814 2003-02-09  John Levon  <levon@movementarian.org>
6815
6816         * buffer.h:
6817         * buffer.C: replace hand-coded list with a map for the dep clean
6818
6819 2003-02-08  John Levon  <levon@movementarian.org>
6820
6821         * LaTeX.C: consolidate code into showRunMessage() helper
6822
6823 2003-02-08  John Levon  <levon@movementarian.org>
6824
6825         * lyxfind.C:
6826         * lyxtext.h:
6827         * text2.C:
6828         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6829           and pass the size in explicitly
6830
6831         * BufferView_pimpl.h:
6832         * BufferView_pimpl.C:
6833         * BufferView.h:
6834         * BufferView.C: add getCurrentChange()
6835
6836         * BufferView_pimpl.h:
6837         * BufferView_pimpl.C: handle change lfuns
6838
6839         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6840           for changes. Mark pasted paragraphs as new.
6841
6842         * support/lyxtime.h:
6843         * support/lyxtime.C:
6844         * DepTable.C: abstract time_t as lyx::time_type
6845
6846         * LColor.h:
6847         * LColor.C: add colours for new text, deleted text, changebars
6848
6849         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6850           package use "usenames" option.
6851
6852         * commandtags.h:
6853         * lyxfunc.C:
6854         * LyXAction.C: add change lfuns
6855
6856         * Makefile.am:
6857         * author.h:
6858         * author.C: author handling
6859
6860         * buffer.h:
6861         * buffer.C: add a per-buffer author list, with first entry as
6862           current author. Handle new .lyx tokens for change tracking. Output
6863           author list to .lyx file. Output dvipost stuff to .tex preamble.
6864           Bump lyx format to 222.
6865
6866         * bufferlist.h:
6867         * bufferlist.C: add setCurrentAuthor() to reset current author details
6868           in all buffers.
6869
6870         * bufferparams.h:
6871         * bufferparams.C: add param for tracking
6872
6873         * bufferview_funcs.C: output change info in minibuffer
6874
6875         * Makefile.am:
6876         * changes.h:
6877         * changes.C: add change-tracking structure
6878
6879         * debug.h:
6880         * debug.C: add CHANGES debug flag
6881
6882         * lyxfind.h:
6883         * lyxfind.C: add code for finding the next change piece
6884
6885         * lyxrc.h:
6886         * lyxrc.C: add user_name and user_email
6887
6888         * lyxrow.h:
6889         * lyxrow.C: add a metric for the top of the text line
6890
6891         * lyxtext.h:
6892         * text.C: implement accept/rejectChange()
6893
6894         * lyxtext.h:
6895         * text.C: paint changebars. Paint new/deleted text in the chosen
6896         colours. Strike through deleted text.
6897
6898         * paragraph.h:
6899         * paragraph.C:
6900         * paragraph_pimpl.h:
6901         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6902           in the current change to the insert functions. Rework erase to
6903           mark text as deleted, adding an eraseIntern() and a range-based
6904           erase(). Implement per-paragraph change lookup and
6905           accept/reject.
6906
6907         * paragraph_funcs.C: Fixup paste for change tracking.
6908
6909         * tabular.C: mark added row/columns as new.
6910
6911         * text.C: fix rowLast() to never return -1. Don't allow
6912           spellchecking of deleted text. Track transpose changes. Don't
6913           allow paragraph break or merge where appropriate.
6914
6915         * text2.C: leave cursor at end of selection after a cut.
6916
6917 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6918
6919         * text.C (getLengthMarkerHeight):
6920         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6921         visible on screen too.
6922
6923 2003-02-07  John Levon  <levon@movementarian.org>
6924
6925         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6926
6927 2003-02-05  Angus Leeming  <leeming@lyx.org>
6928
6929         * lyxserver.C (read_ready): revert my patch of 11 September last year
6930         as it sends PC cpu through the roof. Presumably this means that
6931         the lyxserver will no longer run on an Alpha...
6932
6933 2003-01-30  Angus Leeming  <leeming@lyx.org>
6934
6935         * factory.C (createInset): create an InsetCommandParam of type "index"
6936         and use it to 'do the right thing'.
6937
6938         * text2.C (getStringToIndex): ensure that cursor position is always
6939         reset to the reset_cursor position.
6940
6941 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6942
6943         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6944         disabled.
6945
6946 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6947
6948         * bufferview.C:
6949         * lyxcb.C:
6950         * lyxfunc.C: Output messages with identical spelling, punctuation,
6951         and spaces
6952
6953 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6954
6955         * MenuBackend.C (expandFormats): List only viewable export formats
6956         in "View" menu
6957
6958         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6959         message
6960
6961         * lyxfunc.C (getStatus): Make sure that formats other than
6962         "fax" can also be disabled
6963
6964 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6965
6966         * text3.C (dispatch): put the lfuns that insert insets in 3
6967         groups, and call doInsertInset with appropriate arguments.
6968         (doInsertInset): new function, that creates an inset and inserts
6969         it according to some boolean parameters.
6970
6971 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * buffer.C (readFile): remember to pass on 'par' when calling
6974         readFile recursively.
6975
6976 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6977
6978         * MenuBackend.C (expandFormats): add "..." to import formats.
6979
6980 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6981
6982         * paragraph.C (asString): Remove XForms RTL hacks.
6983
6984 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6985         * buffer.C: fix typo
6986
6987 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * Makefile.am (LIBS): delete var
6990         (lyx_LDADD): add @LIBS@ here instead.
6991
6992 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6993
6994         * Clarify the meaning of "wheel mouse jump"
6995
6996 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6997
6998         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6999         tabular in a float
7000
7001 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7002
7003         * importer.C (Loaders): do not preallocate 3 elements in the
7004         vector, since one ends up with 6 elements otherwise
7005
7006 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7007
7008         * DepTable.C (write): write the file name as last element of the
7009         .dep file (because it may contain spaces)
7010         (read): read info in the right order
7011
7012 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7013
7014         * paragraph_pimpl.C (simpleTeXBlanks):
7015         (simpleTeXSpecialChars):
7016         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7017
7018         * tabular.C (latex): add some missing case statements. Reindent.
7019
7020         * MenuBackend.C (expandToc): remove unused variable.
7021
7022 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7023
7024         * LColor.C:
7025         * LaTeX.C:
7026         * LyXAction.C:
7027         * MenuBackend.C:
7028         * buffer.C:
7029         * exporter.C:
7030         * lyxfunc.C:
7031         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7032         and the like.
7033
7034 2003-01-05  John Levon  <levon@movementarian.org>
7035
7036         * BufferView.h:
7037         * BufferView.C: add getEncoding()
7038
7039         * kbsequence.h:
7040         * kbsequence.C: do not store last keypress
7041
7042         * lyxfunc.h:
7043         * lyxfunc.C: store last keypress here instead. Pass encoding
7044           to getISOEncoded()
7045
7046 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7047
7048         * lyx_main.C (init): remove annoying error message when following
7049         symbolic links (bug #780)
7050
7051 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7052
7053         * text.C (insertChar):
7054         * lyxrc.C (getDescription): remove extra spaces
7055
7056 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7057
7058         * lyxrc.C (getDescription): remove extra spaces
7059
7060 2002-12-20  John Levon  <levon@movementarian.org>
7061
7062         * text3.C: hack fix for page up/down across tall rows
7063
7064 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7065
7066         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7067         not been invoked
7068
7069 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7070
7071         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7072         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7073         thesaurus is not compiled in
7074
7075 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7076
7077         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7078
7079 2002-12-16  Angus Leeming  <leeming@lyx.org>
7080
7081         * lyxrc.[Ch]:
7082         * lyx_main.C (init): remove override_x_deadkeys stuff.
7083
7084 2002-12-12  John Levon  <levon@movementarian.org>
7085
7086         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7087           insert. Only remove shift modifier under strict
7088           circumstances.
7089
7090 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7091
7092         * MenuBackend.C (expandToc): fix crash.
7093
7094 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * MenuBackend.C (expandToc): gettext on float names.
7097
7098 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7099
7100         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7101         implement bool empty() [bug 490]
7102
7103 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7106
7107 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * several files: ws changes
7110
7111 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7112
7113         * text2.C (setCounter): clean up a bit, use boost.format.
7114         (updateCounters): initialize par upon declaration.
7115
7116         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7117         if the layout exists. We do not just store the layout any more.
7118         (SwitchLayoutsBetweenClasses): use boost.format
7119
7120 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7121
7122         * converter.C (convert): if from and to files are the same, use a
7123         temporary files as intermediary
7124
7125 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7126
7127         * commandtags.h:
7128         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7129
7130 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7131
7132         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7133
7134 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * tabular.C (asciiPrintCell): use string(size, char) instead of
7137         explicit loop.
7138
7139         * sgml.C (openTag): fix order of arguments to string constructor
7140         (closeTag): ditto
7141
7142         * lyxfunc.C (dispatch): use boost.format
7143
7144         * lots of files: change "c" -> 'c'
7145
7146 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7147
7148         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7149
7150 2002-11-25  Angus Leeming  <leeming@lyx.org>
7151
7152         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7153
7154         * lyx_main.C (init): compile fix.
7155
7156 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * lyx_cb.C (start): boost.formatify
7159         do not include <iostream>
7160
7161         * lengthcommon.C: ws only
7162
7163         * boost-inst.C,BoostFormat.h: add more explict instantations
7164
7165 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7166
7167         * lots of files: handle USE_BOOST_FORMAT
7168
7169 2002-11-21  John Levon  <levon@movementarian.org>
7170
7171         * pspell.C: fix compile
7172
7173 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7174
7175         * lyxfunc.C (dispatch): use boost::format
7176         (open): ditto
7177         (doImport): ditto
7178
7179         * lyxfont.C (stateText): use boost::format
7180
7181         * lyx_main.C (LyX): use boost::format
7182         (init): ditto
7183         (queryUserLyXDir): ditto
7184         (readRcFile): ditto
7185         (parse_dbg): ditto
7186         (typedef boost::function): use the recommened syntax.
7187
7188         * importer.C (Import): use boost::format
7189
7190         * debug.C (showLevel): use boost::format
7191
7192         * converter.C (view): use boost::format
7193         (convert): ditto
7194         (move): ditto
7195         (scanLog): ditto
7196
7197         * bufferview_funcs.C (currentState): use boost::format
7198
7199         * bufferlist.C (emergencyWrite): use boost::format
7200
7201         * buffer.C (readLyXformat2): use boost::format
7202         (parseSingleLyXformat2Token): ditto
7203
7204         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7205
7206         * LaTeX.C (run): use boost::format
7207
7208         * Chktex.C (scanLogFile): use boost::format
7209
7210         * BufferView_pimpl.C (savePosition): use boost::format
7211         (restorePosition): ditto
7212         (MenuInsertLyXFile): ditto
7213
7214         * BoostFormat.h: help file for explicit instation.
7215
7216 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7217
7218         * tabular.C (latex): Support for block alignment in fixed width
7219         columns.
7220
7221 2002-11-17  John Levon  <levon@movementarian.org>
7222
7223         * BufferView_pimpl.C:
7224         * lyx_cb.C:
7225         * lyxfunc.C: split filedialog into open/save
7226
7227 2002-11-08  Juergen Vigna  <jug@sad.it>
7228
7229         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7230         by my last patch (hopefully).
7231
7232 2002-11-08  John Levon  <levon@movementarian.org>
7233
7234         * iterators.h:
7235         * iterators.C:
7236         * buffer.h:
7237         * buffer.C:
7238         * paragraph.h:
7239         * paragraph.C:
7240         * toc.h:
7241         * toc.C: ParConstIterator, and use it (from Lars)
7242
7243 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7244
7245         * lyxtextclass.[Ch]: revise and add doxygen comments
7246
7247 2002-11-07  John Levon  <levon@movementarian.org>
7248
7249         * text.C: fix progress value for spellchecker
7250
7251         * toc.C: fix navigate menu for insetwrap inside minipage
7252
7253         * paragraph_funcs.C: added FIXME for suspect code
7254
7255 2002-11-07  John Levon  <levon@movementarian.org>
7256
7257         * BufferView_pimpl.C: fix redrawing of insets
7258           on buffer switch
7259
7260 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7261
7262         * text2.C (updateCounters): fix bug 668
7263
7264 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7265
7266         * text3.C (dispatch): Do not make the buffer dirty when moving the
7267         cursor.
7268
7269 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7270
7271         * vc-backend.C: STRCONV
7272         (scanMaster): ditto
7273
7274         * text2.C (setCounter): STRCONV
7275
7276         * paragraph.C (asString): STRCONV
7277
7278         * lyxlength.C (asString): STRCONV
7279         (asLatexString): ditto
7280
7281         * lyxgluelength.C (asString): STRCONV
7282         (asLatexString): ditto
7283
7284         * lyxfunc.C (dispatch): STRCONV
7285         (open): ditto
7286
7287         * lyxfont.C (stateText): STRCONV
7288
7289         * importer.C (Import): STRCONV
7290
7291         * counters.C (labelItem): STRCONV
7292         (numberLabel): ditto
7293         (numberLabel): remove unused ostringstream o
7294
7295         * chset.C: STRCONV
7296         (loadFile): ditto
7297
7298         * bufferview_funcs.C (currentState): STRCONV
7299
7300         * buffer.C (readFile): STRCONV
7301         (asciiParagraph): ditto
7302         (makeLaTeXFile): ditto
7303
7304         * Spacing.C (writeEnvirBegin): STRCONV
7305
7306         * LaTeXFeatures.C (getLanguages): STRCONV
7307         (getPackages): ditto
7308         (getMacros): ditto
7309         (getBabelOptions): ditto
7310         (getTClassPreamble): ditto
7311         (getLyXSGMLEntities): ditto
7312         (getIncludedFiles): ditto
7313
7314         * LaTeX.C: STRCONV
7315         (run): ditto
7316         (scanAuxFile): ditto
7317         (deplog): ditto
7318
7319         * LString.h: add the STRCONV macros
7320
7321         * BufferView_pimpl.C (savePosition): STRCONV
7322         (restorePosition): ditto
7323         (MenuInsertLyXFile): ditto
7324
7325         * vc-backend.C (scanMaster): change from submatch[...] to
7326         submatch.str(...)
7327
7328         * funcrequest.C: include config.h
7329
7330         * factory.C: include config.h
7331
7332         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7333
7334         * box.C: include config.h
7335
7336         * LaTeX.C (scanAuxFile): change from submatch[...] to
7337         submatch.str(...)
7338         (deplog): ditto
7339
7340 2002-10-25  Angus Leeming  <leeming@lyx.org>
7341
7342         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7343
7344         * ispell.[Ch] (setError): new method.
7345         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7346         Use setError() insetead of goto END.
7347
7348         * lyx_cb.C (AutoSave): move out child process into new class
7349         AutoSaveBuffer.
7350
7351 2002-10-30  John Levon  <levon@movementarian.org>
7352
7353         * text3.C: make start appendix undoable
7354
7355 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7356
7357         * lyxlength.C (inPixels): Fix returned value.
7358
7359         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7360         environment.
7361
7362 2002-10-24  Angus Leeming  <leeming@lyx.org>
7363
7364         * lyxgluelength.h: no need to forward declare BufferParams
7365         or BufferView, so don't.
7366
7367 2002-10-21  John Levon  <levon@movementarian.org>
7368
7369         * BufferView.C: menuUndo ->undo, redo
7370
7371         * BufferView.h: document, remove dead, make some methods private
7372
7373         * paragraph_funcs.h:
7374         * paragraph_funcs.C:
7375         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7376
7377         * buffer.h:
7378         * buffer.C:
7379         * sgml.h:
7380         * sgml.C: move sgml open/close tag into sgml.C
7381
7382         * bufferview_funcs.h: unused prototype
7383
7384         * lyxfunc.h:
7385         * lyxfunc.C: remove unused
7386
7387         * lyxtext.h:
7388         * text.C: remove unused
7389
7390 2002-10-21  John Levon  <levon@movementarian.org>
7391
7392         * BufferView.h:
7393         * BufferView.C:
7394         * BufferView_pimpl.h:
7395         * BufferView_pimpl.C: fix mouse wheel handling based on
7396           patch from Darren Freeman
7397
7398 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7399
7400         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7401
7402 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7403
7404         * lyxlength.C (inPixels): Fix hanfling of negative length.
7405         Fix LyXLength::MU case.
7406
7407 2002-10-16  John Levon  <levon@movementarian.org>
7408
7409         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7410
7411 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7412
7413         * converter.C (view): add support for $$i (file name) and $$p
7414         (file path) for the viewer command. If $$i is not specified, then
7415         it is appended to the command (for compatibility with old syntax)
7416
7417 2002-10-14  Juergen Vigna  <jug@sad.it>
7418
7419         * undo_funcs.C (textHandleUndo): alter the order in which the
7420         new undopar is added to the LyXText, as we have to set first
7421         the right prev/next and then add it as otherwise the rebuild of
7422         LyXText is not correct. Also reset the cursor to the right paragraph,
7423         with this IMO we could remove the hack in "redoParagraphs()".
7424
7425 2002-10-09  Angus Leeming  <leeming@lyx.org>
7426
7427         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7428         to turn off an optimisation if a new inset is to be inserted.
7429
7430 2002-10-11 André Pönitz <poenitz@gmx.net>
7431
7432         * lyxtext.h: make some functions public to allow access
7433         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7434
7435 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7436
7437         * text3.C (dispatch): when changing layout, avoid an infinite loop
7438         [bug #652]
7439
7440 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7441
7442         * lyxrc.C (read): treat a viewer or converter command of "none" as
7443         if it were empty.
7444
7445         * MenuBackend.C (expandFormats): for an update, also allow the
7446         formats that are not viewable
7447
7448         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7449         script if it is newer than the lyxrc.defaults in user directory
7450
7451 2002-10-07 André Pönitz <poenitz@gmx.net>
7452
7453         * text.C: Vitaly Lipatov's small i18n fix
7454
7455 2002-09-25  Angus Leeming  <leeming@lyx.org>
7456
7457         * ispell.h: doxygen fix.
7458
7459 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7460
7461         * buffer.h (readFile): Add a new argument to the method, to allow
7462         reading of old-format templates.
7463
7464 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7465
7466         * toc.C (getTocList): Get TOC from InsetWrap.
7467
7468 2002-09-16  John Levon  <levon@movementarian.org>
7469
7470         * lyxfunc.C: check tabular for cut/copy too
7471
7472 2002-09-12  John Levon  <levon@movementarian.org>
7473
7474         * LyXAction.C: tidy
7475
7476         * factory.h:
7477         * factory.C: add header
7478
7479         * paragraph_funcs.h:
7480         * paragraph_funcs.C: cleanup
7481
7482 2002-09-11  John Levon  <levon@movementarian.org>
7483
7484         * PrinterParams.h: odd/even default to true
7485
7486 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7487
7488         * PrinterParams.h: update printer parameters for new xforms dialog
7489
7490 2002-09-11  Angus Leeming  <leeming@lyx.org>
7491
7492         * lyxserver.C (read_ready): re-write to make it more transparent
7493         and to make it work in coherent fashion under Tru64 Unix.
7494
7495 2002-09-11  André Pönitz <poenitz@gmx.net>
7496
7497         * commandtags.h:
7498         * LyXAction.C:
7499         * text3.C: implement LFUN_WORDSEL
7500
7501 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7502
7503         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7504         make floatlist_ a boost::shared_ptr<FloatList>
7505
7506         * lyxtextclass.C: include FloatList.h
7507         (LyXTextClass): initialize floatlist_
7508         (TextClassTags): add TC_NOFLOAT
7509         (Read): match "nofloat" to TC_NOFLOAT and use it.
7510         (readFloat): modify call to floatlist_
7511         (floats): ditto
7512         (floats): ditto
7513
7514         * FloatList.[Ch] (FloatList): remove commented out float
7515         initialization.
7516         (erase): new function
7517
7518 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7519
7520         * MenuBackend.C (expandToc): fix crash when there is no document
7521         open
7522
7523 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7524
7525         * many files: Add insetwrap.
7526
7527 2002-09-09  John Levon  <levon@movementarian.org>
7528
7529         * text2.C: remove confusing and awkward depth wraparound
7530
7531 2002-09-09  John Levon  <levon@movementarian.org>
7532
7533         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7534
7535         * buffer.h:
7536         * buffer.C: remove getIncludeonlyList()
7537
7538         * paragraph.C:
7539         * lyxfunc.C: remove headers
7540
7541 2002-09-09  Juergen Vigna  <jug@sad.it>
7542
7543         * text.C (getColumnNearX): fix form Michael this is most
7544         probably a cut&paste bug.
7545
7546 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7547
7548         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7549
7550         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7551         references, ws changes.
7552
7553         * text2.C (init): update counters after init
7554         (insertParagraph): no need to set counter on idividual paragraphs.
7555         (setCounter): access the counters object in the textclass object
7556         on in the buffer object.
7557         (updateCounters): ditto
7558
7559         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7560         shared_ptr<Counters> to avoid loading counters.h in all
7561         compilation units.
7562         (LyXTextClass): initialize ctrs_
7563         (TextClassTags): add TC_COUNTER, and ...
7564         (Read): use it here.
7565         (CounterTags): new tags
7566         (readCounter): new function
7567         (counters): new funtion
7568         (defaultLayoutName): return a const reference
7569
7570         * counters.C (Counters): remove contructor
7571         (newCounter): remove a couple of unneeded statements.
7572         (newCounter): simplify a bit.
7573         (numberLabel): some small formatting changes.
7574
7575         * buffer.[Ch]: remove all traces of counters, move the Counters
7576         object to the LyXTextClass.
7577
7578 2002-09-06  Alain Castera  <castera@in2p3.fr>
7579
7580         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7581         package to set the horizontal alignment on fixed width columns.
7582
7583         * lyx_sty.C:
7584         * lyx_sty.h: added tabularnewline macro def.
7585
7586         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7587
7588 2002-09-06  John Levon  <levon@movementarian.org>
7589
7590         * LyXAction.C: tooltips for sub/superscript
7591
7592         * MenuBackend.C: a bit more verbose
7593
7594         * lyxfunc.C: tiny clean
7595
7596         * undo_funcs.C: document undo_frozen
7597
7598 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * counters.C (Counters): add missing algorithm counter.
7601
7602         * text2.C (setCounter): lookup the counter with layouts latexname
7603         instead of by section number.
7604         (setCounter): use a hackish way to lookup the correct enum
7605         counter.
7606         a float name->type change
7607         reset enum couners with counter name directly instead of depth value.
7608
7609         * counters.C (Counters): remove the push_backs, change to use the
7610         float type not the float name.
7611         (labelItem): remove unused string, float name->type change
7612
7613         * counters.h: don't include vector, loose the enums and sects vectors
7614
7615 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7618         (Read): add float->TC_FLOAT to textclassTags
7619         (Read): and handle it in the switch
7620         (readFloat): new function
7621
7622         * FloatList.C (FloatList): comment out the hardcoded float
7623         definitions.
7624
7625         * lyxlayout.h: ws change.
7626
7627 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7628
7629         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7630
7631 2002-09-03  Angus Leeming  <leeming@lyx.org>
7632
7633         * BufferView_pimpl.h: qualified name is not allowed in member
7634         declaration: WorkArea & Pimpl::workarea() const;
7635
7636         * factory.C: added using std::endl directive.
7637
7638         * text3.C: added using std::find and std::vector directives.
7639
7640 2002-08-29  André Pönitz <poenitz@gmx.net>
7641
7642         * lyxtext.h:
7643         * text2.C: remove unused member number_of_rows
7644
7645         * Makefile.am:
7646         * BufferView2.C: remove file, move contents to...
7647         * BufferView.C: ... here
7648
7649         * BufferView_pimpl.C:
7650         * factory.C: move more inset creation to factory
7651
7652         * vspace.C: avoid direct usage of LyXText, ws changes
7653
7654         * BufferView.[Ch]:
7655                 don't provide direct access to WorkArea, use two simple
7656                 acessors haveSelction() and workHeight() instead
7657
7658
7659 2002-08-29  John Levon  <levon@movementarian.org>
7660
7661         * BufferView_pimpl.C (dispatch): do not continue when
7662           no buffer
7663
7664 2002-08-28  André Pönitz <poenitz@gmx.net>
7665
7666         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7667
7668         * BufferView.h:
7669         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7670
7671 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7672
7673         * buffer.C: increment LYX_FORMAT to 221
7674
7675         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7676         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7677
7678         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7679
7680         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7681
7682 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7683
7684         * factory.C (createInset): use LyXTextClass::floats
7685
7686         * MenuBackend.C (expandFloatListInsert):
7687         (expandFloatInsert):
7688         (expandToc):
7689
7690         * text2.C (setCounter):
7691
7692         * LaTeXFeatures.C (useFloat):
7693         (getFloatDefinitions):
7694
7695         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7696
7697         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7698         floatlist_, with accessor floats().
7699
7700         * FloatList.h: remove global FloatList
7701
7702 2002-08-26  André Pönitz <poenitz@gmx.net>
7703
7704         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7705
7706         * BufferView.h:
7707         * BufferView2.C:
7708         * BufferView_pimpl.C:
7709         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7710
7711 2002-08-25  John Levon  <levon@movementarian.org>
7712
7713         * LyXAction.C: fix margin note description
7714
7715 2002-08-24  John Levon  <levon@movementarian.org>
7716
7717         * buffer.C:
7718         * bufferlist.C:
7719         * bufferview_funcs.C:
7720         * lyxfont.C:
7721         * undo_funcs.C: cleanups
7722
7723         * lyxfunc.C: disable CUT/COPY when no selection
7724
7725 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7726
7727         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7728         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7729
7730         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7731         Add backward compatibility to "mono", "gray" and "no".
7732
7733 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7734
7735         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7736         (and file_format >= 200).
7737
7738 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7739
7740         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7741
7742 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7743
7744         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7745
7746 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7747
7748         * BufferView_pimpl.C:
7749         * LyXAction.C:
7750         * buffer.C:
7751         * commandtags.h:
7752         * lyxfunc.C:
7753         * paragraph.[Ch]:
7754         * text2.C:
7755         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7756         inset and code to make it  work with the paragraph code. The inset
7757         can be anywhere in the paragraph, but will only do the expected
7758         thing in LaTeX if the layout file contains the parameter line
7759                         OptionalArgs    1
7760         (or more generally, a nonzero value) for that layout.
7761
7762 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * paragraph.h: remove the declaration of undefined counters class
7765         function.
7766
7767 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7768
7769         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7770         Dr. Richard Hawkins.
7771
7772 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7773
7774         * paragraph_funcs.h: remove some unneeded includes
7775
7776         * text.C (backspace): pasteParagraph now in global scipe
7777
7778         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7779         (pasteSelection): ditto
7780
7781         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7782         * paragraph_funcs.C (pasteParagraph): ... here
7783
7784 2002-08-20  André Pönitz <poenitz@gmx.net>
7785
7786         * commandtags.h: new LFUNs for swapping/copying table row/colums
7787
7788         * LyXAction.C:
7789         * lyxfunc.C: support for new lfuns
7790
7791 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7792
7793         * tabular.C:
7794         * buffer.[Ch]: remove NO_COMPABILITY stuff
7795
7796 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * boost.C (throw_exception): new file, with helper function for
7799         boost compiled without exceptions.
7800
7801         * paragraph.h:
7802         * lyxlength.C:
7803         * buffer.C:
7804         * ParameterStruct.h:
7805         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7806
7807         * bufferlist.C (emergencyWriteAll): use boost bind
7808
7809         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7810
7811         * text.C: include paragraph_funcs.h
7812         (breakParagraph): breakParagraph is now in global scope
7813
7814         * paragraph_funcs.[Ch]: new files
7815
7816         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7817         global scope
7818
7819         * buffer.C: include paragraph_funcs.h
7820         (insertStringAsLines): breakParagraph is now in global scope
7821
7822         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7823         paragraph_funcs.C
7824
7825         * CutAndPaste.C: include paragraph_funcs.h
7826         (cutSelection): breakParagraphConservative is now in global scope
7827         (pasteSelection): ditto
7828
7829         * buffer.h: declare oprator== and operator!= for
7830         Buffer::inset_iterator
7831
7832         * bufferlist.C (emergencyWrite): don't use fmt(...)
7833
7834         * text3.C: add using std::endl
7835
7836         * BufferView.C (moveCursorUpdate): remove default arg
7837
7838 2002-08-20  André Pönitz <poenitz@gmx.net>
7839
7840         * buffer.[Ch]: move inline functions to .C
7841
7842         * BufferView2.C:
7843         * BufferView_pimpl.C:
7844         * text.C:
7845         * buffer.[Ch]: use improved inset_iterator
7846
7847         * buffer.C:
7848         * paragraph.[Ch]: write one paragraph at a time
7849
7850 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7851
7852         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7853         style if style is not specified.
7854
7855 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * text2.C (setCounter): when searching for right label for a
7858         caption, make sure to recurse to parent insets (so that a caption
7859         in a minipage in a figure float works) (bug #568)
7860
7861 2002-08-20  André Pönitz <poenitz@gmx.net>
7862
7863         * text3.C: new file for LyXText::dispatch() and helpers
7864
7865         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7866
7867         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7868
7869 2002-08-19  André Pönitz <poenitz@gmx.net>
7870
7871         * lyxtext.h:
7872         * text.C: new LyXText::dispatch()
7873
7874         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7875
7876 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7877
7878         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7879
7880         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7881         Hebrew text.
7882
7883 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7884
7885         * Makefile.am: use $(variables) instead of @substitutions@
7886
7887 2002-08-15  André Pönitz <poenitz@gmx.net>
7888
7889         * lyxfunc.C:
7890         * BufferView_pimpl.C: streamlining mathed <-> outer world
7891         interaction
7892
7893         * commandtags.h:
7894         * LyXAction.C: remove unused LFUN_MATH
7895
7896 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7897
7898         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7899
7900 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * paragraph.C (Paragraph): reformat a bit
7903         (cutIntoMinibuffer): use builtin InsetList function instad of
7904         doing it manually.
7905         (getInset): ditto
7906
7907         * buffer.C: include boost/bind.hpp, add using std::for_each
7908         (writeFileAscii): use ParagraphList iterators
7909         (validate): use for_each for validate traversal of paragraphs
7910         (getBibkeyList): use ParagraphList iterators
7911         (resizeInsets): use for_each to resizeInsetsLyXText for all
7912         paragraphs.
7913         (getParFromID): use ParagraphList iterators
7914
7915         * BufferView2.C (lockInset): use paragraph list and iterators
7916
7917 2002-08-14  John Levon  <levon@movementarian.org>
7918
7919         * lyxserver.C: remove spurious xforms include
7920
7921 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7922
7923         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7924
7925 2002-08-13  André Pönitz <poenitz@gmx.net>
7926
7927         * LyXAction.[Ch]:
7928         * lyxfunc.C: further cleaning
7929
7930 2002-08-13  André Pönitz <poenitz@gmx.net>
7931
7932         * funcrequest.h: new constructor
7933
7934         * funcrequest.C: move stuff here from .h
7935
7936         * Makefile.am:
7937         * BufferView_pimpl.C:
7938         * LyXAction.C:
7939         * toc.C:
7940         * lyxfunc.C: subsequent changes
7941
7942         * lyxfunc.h: new view() member function
7943
7944         * lyxfunc.C: subsequent changes
7945
7946 2002-08-13  Angus Leeming  <leeming@lyx.org>
7947
7948         * BufferView2.C:
7949         * BufferView_pimpl.C:
7950         * buffer.C:
7951         * converter.C:
7952         * importer.C:
7953         * lyxfunc.C:
7954         * lyxvc.C:
7955         * toc.C:
7956         * vc-backend.C:
7957         changes due to the changed LyXView interface that now returns references
7958         to member variables not pointers.
7959
7960 2002-08-13  Angus Leeming  <leeming@lyx.org>
7961
7962         * WordLangTuple (word, lang_code): return references to strings,
7963         not strings.
7964
7965         * BufferView.h:
7966         * SpellBase.h:
7967         * lyxtext.h: forward-declare WordLangTuple.
7968
7969         * BufferView2.C:
7970         * ispell.C:
7971         * pspell.C:
7972         * text.C: #include "WordLangTuple.h".
7973
7974         * lyxtext.h:
7975         * text.C: (selectNextWordToSpellcheck): constify return type.
7976
7977 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7978
7979         * buffer.C:
7980         * buffer.h:
7981         * lyxtext.h:
7982         * paragraph.C:
7983         * paragraph_pimpl.h:
7984         * text.C:
7985         * text2.C:
7986         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7987         suggested by Angus.
7988         Made updateCounter always count from start of buffer, and removed
7989         second argument (par).
7990         Reverted floats number display to '#'. Perhaps I'll try again when the
7991         code base is sanitized a bit.
7992
7993 2002-08-12  Angus Leeming  <leeming@lyx.org>
7994
7995         * buffer.[Ch] (getLabelList): constify.
7996
7997 2002-08-07  André Pönitz <poenitz@gmx.net>
7998
7999         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8000
8001         * funcrequest.h: extension to keep mouse (x,y) position
8002
8003 2002-08-12  Juergen Vigna  <jug@sad.it>
8004
8005         * BufferView2.C (insertErrors): forbid undo when inserting error
8006         insets.
8007
8008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8009
8010 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8011
8012         * ParagraphList.[Ch]: new files
8013
8014         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8015
8016         * BufferView2.C (lockInset): ParagraphList changes
8017         * toc.C: ditto
8018         * text2.C: ditto
8019         * bufferlist.C: ditto
8020         * buffer.h: ditto
8021         * buffer.C: ditto
8022
8023 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8026         unused class variable counter_,
8027
8028         * paragraph.[Ch] (getFirstCounter): delete unused function
8029
8030         * counters.C: include LAssert.h
8031         (reset): add a new function with no arg, change other version to
8032         not have def. arg and to not allow empty arg.
8033
8034         * text2.C (setCounter): remove empty arg from call to Counters::reset
8035
8036 2002-08-11  John Levon  <levon@movementarian.org>
8037
8038         * Makefile.am: add WordLangTuple.h
8039
8040 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8043         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8044
8045         * insets/insettext.C: InsetList changes
8046
8047         * graphics/GraphicsSupport.C (operator()): InsetList changes
8048
8049         * toc.C (getTocList): InsetList changes
8050
8051         * paragraph_pimpl.[Ch]: InsetList changes
8052
8053         * paragraph.[Ch]: InsetList changes
8054
8055         * buffer.C (inset_iterator): InsetList changes
8056         (setParagraph): ditto
8057         * buffer.h (inset_iterator): ditto
8058         * iterators.C (operator++): ditto
8059         * iterators.h: ditto
8060
8061         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8062
8063         * InsetList.[Ch]: new files, most InsetList handling moved out of
8064         paragraph.C.
8065
8066         * BufferView2.C (removeAutoInsets): InsetList changes
8067         (lockInset): ditto
8068         (ChangeInsets): ditto
8069
8070 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * paragraph_pimpl.h (empty): new function
8073
8074         * paragraph.[Ch] (empty): new function
8075
8076         * other files: use the new Paragraph::empty function
8077
8078 2002-08-09  John Levon  <levon@movementarian.org>
8079
8080         * lyxtext.h: remove unused refresh_height
8081
8082 2002-08-09  John Levon  <levon@movementarian.org>
8083
8084         * Makefile.am:
8085         * sgml.h:
8086         * sgml.C:
8087         * buffer.C:
8088         * paragraph.h:
8089         * paragraph.C: move sgml char escaping out of paragraph
8090
8091         * paragraph.h:
8092         * paragraph.C: remove id setter
8093
8094         * buffer.C:
8095         * paragraph.C:
8096         * paragraph_pimpl.C: remove dead tex_code_break_column
8097
8098         * bufferview_funcs.C: small cleanup
8099
8100         * lyxfunc.C: remove dead proto
8101
8102         * lyxtext.h: make some stuff private. Remove some dead stuff.
8103
8104         * lyxgluelength.C: make as[LyX]String() readable
8105
8106 2002-08-08  John Levon  <levon@movementarian.org>
8107
8108         * LyXAction.h:
8109         * LyXAction.C:
8110         * MenuBackend.C:
8111         * ToolbarDefaults.C:
8112         * lyxfunc.C:
8113         * lyxrc.C:
8114         * toc.C: lyxaction cleanup
8115
8116 2002-08-08  John Levon  <levon@movementarian.org>
8117
8118         * BufferView2.C: small cleanup
8119
8120         * lyxfind.h:
8121         * lyxfind.C: move unnecessary header into the .C
8122
8123 2002-08-08  John Levon  <levon@movementarian.org>
8124
8125         * funcrequest.h: just tedious nonsense
8126
8127         * lyx_main.h:
8128         * lyx_main.C: cleanups
8129
8130         * buffer.C:
8131         * vspace.C: remove dead header lyx_main.h
8132
8133 2002-08-07  Angus Leeming  <leeming@lyx.org>
8134
8135         * Paragraph.[Ch]:
8136         * paragraph_pimpl.h:
8137         Forward declare class Counters in paragraph.h by moving the ctrs member
8138         variable into Paragraph::Pimpl.
8139         (counters): new method, returning a reference to pimpl_->ctrs.
8140
8141         * text2.C: ensuing changes.
8142
8143 2002-08-07  John Levon  <levon@movementarian.org>
8144
8145         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8146
8147         * BufferView_pimpl.C: announce X selection on double/triple
8148           click
8149
8150         * lyx_main.C: use correct bool in batch dispatch
8151
8152         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8153
8154 2002-08-07  André Pönitz <poenitz@gmx.net>
8155
8156         * funcrequest.h: new class to wrap a kb_action and its argument
8157
8158         * BufferView.[Ch]:
8159         * BufferView_pimpl[Ch]:
8160         * LaTeX.C:
8161         * LyXAction.[Ch]:
8162         * lyxfunc.[Ch]:
8163         * lyxrc.C: subsequent changes
8164
8165
8166 2002-08-07  John Levon  <levon@movementarian.org>
8167
8168         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8169           document options change.
8170
8171 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8172
8173         * counters.[Ch]
8174         * text2.C
8175         * paragraph.[Ch]
8176         * makefile.am: move counters functionality over from
8177         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8178
8179 2002-08-06  John Levon  <levon@movementarian.org>
8180
8181         * WordLangTuple.h: new file for word + language code tuple
8182
8183         * SpellBase.h:
8184         * pspell.h:
8185         * pspell.C:
8186         * ispell.h:
8187         * ispell.C:
8188         * lyxtext.h:
8189         * text.C:
8190         * text2.C:
8191         * BufferView.h:
8192         * BufferView2.C: use WordLangTuple
8193
8194         * layout.h:
8195         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8196
8197 2002-08-06  John Levon  <levon@movementarian.org>
8198
8199         * lyx_main.C: fix cmdline batch handling
8200
8201 2002-08-06  André Pönitz <poenitz@gmx.net>
8202
8203         * lyxrc.C: set default for show_banner to true
8204
8205 2002-08-06  John Levon  <levon@movementarian.org>
8206
8207         * pspell.C: fix a crash, and allow new aspell to work
8208
8209 2002-08-06  John Levon  <levon@movementarian.org>
8210
8211         * lyxfunc.C:
8212         * kbmap.C: small cleanup
8213
8214         * vspace.h:
8215         * vspace.C: add const
8216
8217 2002-08-05  John Levon  <levon@movementarian.org>
8218
8219         * LyXAction.C: back to tabular-insert
8220
8221 2002-08-04  John Levon  <levon@movementarian.org>
8222
8223         * BufferView.h:
8224         * BufferView.C: cosmetic change
8225
8226         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8227
8228         * bufferlist.C:
8229         * buffer.h:
8230         * buffer.C:
8231         * lyxcb.h:
8232         * lyxcb.C:
8233         * lyxserver.C:
8234         * lyxvc.C:
8235         * vc-backend.C:
8236         * BufferView2.C: purge all "Lyx" not "LyX" strings
8237
8238         * lyxcursor.h:
8239         * lyxcursor.C: attempt to add some documentation
8240
8241         * lyxfunc.C:
8242         * commandtags.h:
8243         * LyXAction.C:
8244         * ToolbarDefaults.C:
8245         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8246           merge with LFUN_TABULAR_INSERT
8247
8248         * Makefile.am:
8249         * SpellBase.h:
8250         * ispell.h:
8251         * ispell.C:
8252         * pspell.h:
8253         * pspell.C: split up i/pspell implementations into separate
8254           files, many cleanups
8255
8256         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8257
8258         * text2.C: some cleanup
8259
8260         * lyxfunc.C: don't check for isp_command == "none" any more, it
8261           didn't make any sense
8262
8263 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8264
8265         * counters.[Ch]
8266         * text2.C
8267         * paragraph.[Ch]
8268         * makefile.am: move counters functionality over
8269         from text2.C/paragraph.[Ch] to counters.[Ch], and
8270         make proper C++.
8271 2002-08-02  John Levon  <levon@movementarian.org>
8272
8273         * buffer.C: s/lyxconvert/lyx2lyx/
8274
8275 2002-08-02  Angus Leeming  <leeming@lyx.org>
8276
8277         * lyxlex.C: revert John's change as it breaks reading of the user
8278         preamble.
8279
8280 2002-08-02  Angus Leeming  <leeming@lyx.org>
8281
8282         * importer.C (Import):
8283         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8284         changes due to LyXView::view() now returning a boost::shared_ptr.
8285
8286 2002-08-02  John Levon  <levon@movementarian.org>
8287
8288         * lyxlex.C: small cleanup
8289
8290 2002-08-02  John Levon  <levon@movementarian.org>
8291
8292         * text2.C (status): small cleanup, no logic change
8293
8294 2002-08-01  John Levon  <levon@movementarian.org>
8295
8296         * buffer.h:
8297         * buffer.C (writeFile): don't output alerts, caller
8298           handles this
8299
8300         * bufferlist.C:
8301         * lyx_cb.C: from above
8302
8303         * lyxfunc.C: allow to open non-existent files
8304
8305 2002-07-31  John Levon  <levon@movementarian.org>
8306
8307         * lyxserver.C: don't let incidental errors get
8308           in the way (errno)
8309
8310 2002-07-30  John Levon  <levon@movementarian.org>
8311
8312         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8313
8314 2002-07-30  John Levon  <levon@movementarian.org>
8315
8316         * lyxserver.h:
8317         * lyxserver.C: remove I/O callback too
8318
8319 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8320
8321         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8322         log.
8323
8324 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * many files: strip,frontStrip -> trim,ltrim,rtrim
8327
8328 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * PrinterParams.h: remove extern containsOnly, and include
8331         support/lstrings.h instead.
8332
8333         * LaTeX.C (scanAuxFile): modify because of strip changes
8334         (deplog): ditto
8335         * buffer.C (makeLaTeXFile): ditto
8336         * bufferparams.C (writeFile): ditt
8337         * lyxfont.C (stateText): ditto
8338         * lyxserver.C (read_ready): ditto
8339         * vc-backend.C (scanMaster): ditto
8340
8341         * BufferView_pimpl.h: ws changes
8342
8343         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8344
8345 2002-07-26  André Pönitz <poenitz@gmx.net>
8346
8347         * kb_sequence.C: remove unnedred usings
8348
8349 2002-07-26  Juergen Vigna  <jug@sad.it>
8350
8351         * lyxfind.C (LyXReplace): we have to check better if the returned
8352         text is not of theLockingInset()->getLockingInset().
8353
8354 2002-07-25  Juergen Vigna  <jug@sad.it>
8355
8356         * lyxfind.C (LyXReplace): don't replace if we don't get the
8357         right LyXText.
8358
8359         * undo_funcs.C (createUndo): remove debugging code.
8360
8361 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8362
8363         * buffer.C (parseSingleLyXformat2Token): Use default placement
8364         when reading old floats.
8365
8366         * FloatList.C (FloatList): Change the default placement of figure
8367         and tables to "tbp".
8368
8369 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8370
8371         * MenuBackend.C: using std::max
8372
8373 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8374
8375         * MenuBackend.C (expandToc):
8376         (expandToc2): code moved from xforms menu frontend. It is now
8377         generic and TOCs are transparent to menu frontends.
8378
8379 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * toc.C (getTocList): protect against buf=0
8382
8383         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8384         Menu as first parameter. Now, this calls itself recursively to
8385         expand a whole tree (this will be useful for TOC handling)
8386         (expandFloatInsert): remove 'wide' version of floats
8387
8388         * MenuBackend.h (submenuname): returns the name of the submenu.
8389         (submenu): returns the submenu itself, provided it has been
8390         created by MenuBackend::expand
8391
8392 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8393
8394         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8395         insets which have noFontChange == true. (bug #172)
8396
8397 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8398
8399         * BufferView_pimpl.C: add connection objects and use them...
8400         (Pimpl): here.
8401
8402 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8403
8404         * MenuBackend.C (expandLastfiles):
8405         (expandDocuments):
8406         (expandFormats):
8407         (expandFloatListInsert):
8408         (expandFloatInsert):
8409         (expand): split expand in parts
8410
8411 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8412
8413         * lyx_gui.C: use lyx_gui::exit()
8414
8415 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * LyXAction.C: show the failing pseudo action
8418
8419 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8420
8421         * buffer.C (readFile): Run the lyxconvert script in order to read
8422         old files.
8423
8424 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * LyXAction.C:
8427         * commandtags.h:
8428         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8429
8430 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8431
8432         * LyXAction.C:
8433         * commandtags.h:
8434         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8435
8436 2002-07-22  Herbert Voss  <voss@lyx.org>
8437
8438         * lengthcommon.C:
8439         * lyxlength.[Ch]: add support for the vertical lengths
8440
8441 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * toc.[Ch]: std:: fixes
8444
8445 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8446
8447         * lyxrc.C: do not include lyx_main.h
8448
8449         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8450         for layouts
8451
8452         * lyxrc.C:
8453         * encoding.C:
8454         * bufferlist.C:
8455         * BufferView2.C: include "lyxlex.h"
8456
8457         * tabular.h:
8458         * bufferparams.h: do not #include "lyxlex.h"
8459
8460         * lyxtextclasslist.C (Add): remove method
8461         (classlist): renamed to classlist_
8462
8463         * paragraph_pimpl.C:
8464         * paragraph.C:
8465         * text2.C:
8466         * CutAndPaste.C:
8467         * bufferview_funcs.C:
8468         * bufferlist.C:
8469         * text.C:
8470         * LaTeXFeatures.C:
8471         * buffer.C:
8472         * toc.C (getTocList): use BufferParams::getLyXTextClass
8473
8474         * toc.C (getTocList): use InsetFloat::addToToc
8475
8476         * toc.[Ch]: new files, containing helper functions to handle table
8477         of contents
8478
8479         * lyxfunc.C (dispatch): no need to remove spaces around command
8480         given as a string
8481         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8482         first command of the sequence; it is not very clever, but I do not
8483         have a better idea, actually
8484
8485         * LyXAction.C (LookupFunc): make sure to remove space at the
8486         beginning and end of the command
8487
8488 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8489
8490         * MenuBackend.C (getMenubar): new method: return the menubar of
8491         this menu set
8492         (read): treat differently reading of menu and menubar (in
8493         particular, the menubar has no name now)
8494         (Menu::menubar): remove
8495
8496         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8497         saving is finished
8498
8499 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8500
8501         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8502         a bibitem inset in a RTL paragraph.
8503
8504 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8505
8506         * paragraph_pimpl.C: constify
8507
8508         * BufferView_pimpl.C:
8509         * LaTeX.C:
8510         * lyxfunc.C: fix dispatch in a nicer way
8511
8512 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8513
8514         * lyxfunc.C (dispatch):
8515         * BufferView_pimpl.C:
8516         * BufferView_pimpl.h:
8517         * BufferView.C:
8518         * BufferView.h: rename Dispatch() to dispatch()
8519
8520         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8521
8522         * lyxlayout.C (Read): honor DependsOn tag
8523
8524         * lyxlayout.[Ch] (depends_on): new method
8525
8526         * version.C.in: update lyx_docversion
8527
8528         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8529
8530         * paragraph.C (validate): remove from here...
8531         * paragraph_pimpl.C (validate): ... and move here
8532         (isTextAt): make it const
8533
8534         * buffer.C (getLists): ws cleanup
8535
8536 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8537
8538         * language.C (read): Use iso8859-1 encoding in latex_lang
8539         (this prevents LyX from crashing when using iso10646-1 encoding).
8540
8541 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8542
8543         * text2.C (toggleInset): if cursor is inside an inset, close the
8544         inset and leave cursor _after_ it
8545
8546 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8547
8548         * lyxfunc.C: move minibuffer completion handling out of here
8549
8550 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8551
8552         * BufferView_pimpl.C:
8553         * LaTeX.C: fix dispatch calls
8554
8555 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8556
8557         * text.C (drawChars): Fix Arabic text rendering.
8558
8559 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8560
8561         * LyXAction.C:
8562         * commandtags.h:
8563         * lyxfunc.C: remove message-push/pop
8564
8565         * lyxserver.C:
8566         * lyxfunc.h:
8567         * lyxfunc.C: rationalise some code by removing verboseDispatch
8568           in favour of a bool argument to dispatch()
8569
8570 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8571
8572         * lyx_main.C (init): make sure to read symlinks as absolute paths
8573
8574 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * lyxfunc.h:
8577         * lyxfunc.C: no need for commandshortcut to be a member
8578
8579 2002-07-15  André Pönitz <poenitz@gmx.net>
8580
8581         * converter.C: add support for $$s (scripts from lib/scripts dir)
8582         * lyx_main.C: white space
8583
8584 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8585
8586         * bufferlist.C:
8587         * lyxrc.h:
8588         * lyxrc.C: remove second exit confirmation
8589
8590 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8591
8592         * BufferView.h:
8593         * BufferView.C:
8594         * BufferView2.C:
8595         * BufferView_pimpl.h:
8596         * BufferView_pimpl.C:
8597         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8598
8599 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8600
8601         * MenuBackend.C (expand): add numeric shortcuts to document menu
8602
8603         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8604
8605 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8606
8607         * lyxfont.C (setLyXFamily):
8608         (setLyXSeries):
8609         (setLyXShape):
8610         (setLyXSize):
8611         (setLyXMisc):
8612         (lyxRead):
8613         * debug.C (value):
8614         * buffer.C (asciiParagraph): use ascii_lowercase
8615
8616 2002-07-15  Mike Fabian  <mfabian@suse.de>
8617
8618         * lyxlex_pimpl.C (search_kw):
8619         * lyxlex.C (getLongString):
8620         * converter.h (operator<):
8621         * converter.C (operator<):
8622         * buffer.C (parseSingleLyXformat2Token):
8623         (asciiParagraph):
8624         * ToolbarDefaults.C (read):
8625         * MenuBackend.C (checkShortcuts):
8626         (read):
8627         * LColor.C (getFromGUIName):
8628         (getFromLyXName): use the compare_ascii_no_case instead of
8629         compare_no_case, because in turkish, 'i' is not the lowercase
8630         version of 'I', and thus turkish locale breaks parsing of tags.
8631
8632 2002-07-16  Angus Leeming  <leeming@lyx.org>
8633
8634         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8635         now takes a Buffer const & argument.
8636
8637 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8638
8639         * BufferView.C (resize): check there's a buffer to resize
8640
8641 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8642
8643         * lyxfunc.C: remove dead code
8644
8645         * lyxserver.h:
8646         * lyxserver.C: use lyx_guii::set_read_callback
8647
8648 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8649
8650         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8651         an inset in a RTL paragraph.
8652
8653 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8654
8655         * lyxfunc.C: repaint after a font size update
8656
8657 2002-07-15  André Pönitz <poenitz@gmx.net>
8658
8659         * lyxlength.C: inBP should be able to return negative values
8660
8661 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8662
8663         * lyxfunc.C: use lyx_gui::update_fonts()
8664
8665 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8666
8667         * lyxfunc.C: use lyx_gui::update_color()
8668
8669 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * bufferlist.C:
8672         * lyxfunc.h:
8673         * lyxfunc.C:
8674         * lyxrc.h:
8675         * lyxrc.C: remove file->new asks for name option, and let
8676           buffer-new take an argument
8677
8678 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * BufferView_pimpl.C: remove unneeded extra repaint()
8681
8682 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8683
8684         * LyXAction.C: allow command-sequence with NoBuffer
8685
8686         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8687
8688 2002-07-10  Angus Leeming  <leeming@lyx.org>
8689
8690         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8691
8692 2002-07-09  Angus Leeming  <leeming@lyx.org>
8693
8694         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8695
8696 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * lengthcommon.h: whitespace
8699
8700         * lyxfunc.C: update scrollbar after goto paragraph
8701
8702         * lyxtext.h: factor out page break drawing, and fix it so
8703           page break/added space paints as selected nicely
8704
8705 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8706
8707         * BufferView_pimpl.C: add FIXMEs, clean up a little
8708
8709 2002-07-09  André Pönitz <poenitz@gmx.net>
8710
8711         * lyxfont.[Ch]: support for wasy symbols
8712
8713 2002-07-08  André Pönitz <poenitz@gmx.net>
8714
8715         * BufferView_pimpl.C: apply John's patch for #93.
8716
8717 2002-07-05  Angus Leeming  <leeming@lyx.org>
8718
8719         * BufferView_pimpl.C (buffer): generate previews if desired.
8720
8721         * LColor.h: add "preview" to the color enum.
8722
8723         * LColor.C (LColor): add a corresponding entry to the items array.
8724
8725         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8726         with this buffer.
8727
8728 2002-07-05  Angus Leeming  <leeming@lyx.org>
8729
8730         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8731         The body of the code is now in the method that is passed an ostream &
8732         rather than a file name.
8733         Pass an additional only_preamble parameter, useful for the forthcoming
8734         preview stuff.
8735
8736 2002-07-03  André Pönitz <poenitz@gmx.net>
8737
8738         * lyxfunc.C: simplify getStatus() a bit for math stuff
8739
8740 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8741
8742         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8743
8744 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8745
8746         * text.C (changeRegionCase): do not change case of all the
8747         document when region ends at paragraph end (bug #461)
8748
8749 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8750
8751         * paragraph.C (startTeXParParams):
8752         (endTeXParParams): add \protect when necessary
8753
8754 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8755
8756         * BufferView_pimpl.C (workAreaExpose): remove warning
8757
8758 2002-06-27  Angus Leeming  <leeming@lyx.org>
8759
8760         * Makefile.am: add lyxlayout_ptr_fwd.h.
8761
8762 2002-06-26  André Pönitz <poenitz@gmx.net>
8763
8764         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8765
8766 2002-06-25  Angus Leeming  <leeming@lyx.org>
8767
8768         * lyxfunc.C (dispatch): Comment out the call to
8769         grfx::GCache::changeDisplay. The method no longer exists now that the
8770         pixmap generation part of the graphics loader has been moved into
8771         InsetGraphics.
8772
8773 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8774
8775         * text2.C: layout as layout
8776
8777         * text.C: layout as layout
8778
8779         * tabular.C (OldFormatRead): layout as layout
8780
8781         * paragraph_pimpl.C (TeXDeeper): layout as layout
8782         (realizeFont): layout as layout
8783
8784         * paragraph.C (writeFile): layout as layout
8785         (validate): layout as layout
8786         (getFont): layout as layout
8787         (getLabelFont): layout as layout
8788         (getLayoutFont): layout as layout
8789         (breakParagraph): layout as layout
8790         (stripLeadingSpaces): layout as layout
8791         (getEndLabel): layout as layout
8792         (getMaxDepthAfter): layout as layout
8793         (applyLayout): layout as layout
8794         (TeXOnePar): layout as layout
8795         (simpleTeXOnePar): layout as layout
8796         (TeXEnvironment): layout as layout
8797         (layout): layout as layout
8798         (layout): layout as layout
8799
8800         * lyxtextclass.C (compare_name): new functor to work with
8801         shared_ptr, layout as layout
8802         (Read): layout as layout
8803         (hasLayout): layout as layout
8804         (operator): layout as layout
8805         (delete_layout): layout as layout
8806         (defaultLayout): layout as layout
8807
8808         * lyxlayout_ptr_fwd.h: new file
8809
8810         * lyxlayout.C (Read): layout as layout
8811
8812         * lyx_cb.C (MenuInsertLabel): layout as layout
8813
8814         * bufferlist.C (newFile): layout as layout
8815
8816         * buffer.C (readLyXformat2): layout as layout
8817         (parseSingleLyXformat2Token): layout as layout
8818         (insertStringAsLines): layout as layout
8819         (asciiParagraph): layout as layout
8820         (latexParagraphs): layout as layout
8821         (makeLinuxDocFile): layout as layout
8822         (simpleLinuxDocOnePar): layout as layout
8823         (makeDocBookFile): layout as layout
8824         (simpleDocBookOnePar): layout as layout
8825         (getLists): layout as layout
8826
8827         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8828
8829         * CutAndPaste.C (cutSelection): layout as layout
8830         (pasteSelection): layout as layout
8831         (SwitchLayoutsBetweenClasses): layout as layout
8832
8833         * BufferView_pimpl.C (Dispatch): layout as layout
8834         (smartQuote): layout as layout
8835
8836         * BufferView2.C (unlockInset): layout as layout
8837
8838 2002-06-24  André Pönitz <poenitz@gmx.net>
8839
8840         * lyxfunc.C: fix #487
8841
8842 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8843
8844         * lyxrc.h:
8845         * lyxrc.C:
8846         * lyxfunc.C: remove display_shortcuts, show_banner
8847
8848 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8849
8850         * Buffer_pimpl.C: oops, update on resize
8851
8852 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8853
8854         * buffer.C:
8855         * converter.C:
8856         * exporter.C:
8857         * lyxfunc.C:
8858         * BufferView.h:
8859         * BufferView.C: use repaint()
8860
8861         * BufferView_pimpl.h:
8862         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8863           as it's a clearer description. Remove superfluous
8864           redraws.
8865
8866 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8867
8868         * text.C: fix bug 488. Not ideal, but getting
8869           getWord() to work properly for the insets that
8870           matter is more difficult ...
8871
8872 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8873
8874         * BufferView_pimpl.C:
8875         * LyXAction.C:
8876         * commandtags.h:
8877         * lyxfunc.C: remove the six million index lyxfuncs to just
8878           one, and DTRT (bug 458)
8879
8880 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8881
8882         * BufferView.h:
8883         * BufferView.C:
8884         * BufferView_pimpl.h:
8885         * BufferView_pimpl.C: clean up resize() stuff,
8886           and unnecessary updateScreen()s
8887
8888 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * BufferView.h:
8891         * BufferView.C:
8892         * BufferView_pimpl.h:
8893         * BufferView_pimpl.C:
8894         * lyxfind.h:
8895         * lyxfind.C:
8896         * minibuffer.C: remove focus management of workarea,
8897           not needed. Use screen's greyOut()
8898
8899 2002-06-17  Herbert Voss  <voss@lyx.org>
8900
8901         * converter.C: (convert) do not post a message, when converting
8902         fails, let the calling function decide what to do in this case
8903
8904 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8905
8906         * lyxfunc.C: tidy up a little
8907
8908 2002-06-16    <alstrup@diku.dk>
8909
8910         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8911         Got rid of FORMS_H_LOCATION include. Now we are
8912         GUII.
8913
8914 2002-06-15  LyX Development team  <lyx@rilke>
8915
8916         * buffer.[Ch] (sgmlOpenTag):
8917         (sgmlCloseTag): Added support for avoiding pernicious mixed
8918         content. Return number of lines written.
8919
8920         (makeLinuxDocFile):
8921         (makeDocBookFile): Fixed calls to sgml*Tag.
8922         Simple white space clean.
8923
8924         (simpleDocBookOnePar): Simple white space clean.
8925
8926         * tabular.[Ch] (docBook): Renamed to docbook and got another
8927         argument to related with the pernicious mixed content.
8928
8929         (docbookRow): Fixed calls for docbook inset method.
8930
8931 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8932
8933         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8934         so it's X11 independent.
8935
8936         * kb*.[Ch]: ditto.
8937
8938         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8939
8940 2002-06-15  Lyx Development team  <lyx@electronia>
8941
8942         * intl.h: Renamed getTrans to getTransManager.
8943
8944 2002-06-14  Angus Leeming  <leeming@lyx.org>
8945
8946         * Makefile.am: nuke forgotten stl_string_fwd.h.
8947
8948 2002-06-12  Angus Leeming  <leeming@lyx.org>
8949
8950         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8951
8952 2002-06-13  Angus Leeming  <leeming@lyx.org>
8953
8954         * LaTeX.C:
8955         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8956
8957 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8958
8959         * kbmap.C (getiso): add support for cyrillic and greek
8960
8961 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8962
8963         * BufferView.h:
8964         * BufferView.C:
8965         * BufferView_pimpl.h:
8966         * BufferView_pimpl.C: move bogus scrolling logic
8967           to xforms
8968
8969 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8970
8971         * lyxfunc.C:
8972         * BufferView_pimpl.C: view->resize() change
8973
8974 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * BufferView_pimpl.C: topCursorVisible
8977           prototype change
8978
8979 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8980
8981         * Makefile.am:
8982         * lyx_gui.h:
8983         * lyx_gui.C: move to frontends/
8984
8985         * main.C:
8986         * lyx_main.h:
8987         * lyx_main.C: changes from above
8988
8989 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8990
8991         * intl.C:
8992         * intl.h:
8993         * kbmap.C:
8994         * kbsequence.C:
8995         * lyx_cb.C:
8996         * lyx_main.C: minor tidy
8997
8998 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8999
9000         * BufferView_pimpl.h:
9001         * BufferView_pimpl.C:
9002         * BufferView.h:
9003         * BufferView.C: make painter() const,
9004           remove dead code
9005
9006         * BufferView2.C: use screen() accessor
9007
9008         * lyx_main.h:
9009         * lyx_main.C: some minor cleanup
9010
9011 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9012
9013         * BufferView_pimpl.h:
9014         * BufferView_pimpl.C: remove enter/leaveView,
9015           use workHeight()
9016
9017 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9018
9019         * BufferView.h:
9020         * BufferView.C:
9021         * BufferView2.C:
9022         * BufferView_pimpl.h:
9023         * BufferView_pimpl.C: only construct screen once,
9024           rename
9025
9026         * lyxrc.C: remove pointless comment
9027
9028 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * BufferView.h:
9031         * BufferView.C: remove active() and belowMouse()
9032
9033         * BufferView_pimpl.h:
9034         * BufferView_pimpl.C: use workarea() not workarea_,
9035           and make it use a scoped_ptr instead
9036
9037 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * lyx_gui.C: add debug message on BadWindow
9040
9041 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9042
9043         * sp_spell.C: fdopen is not part of the C++ standard.
9044
9045         * paragraph.C (InsetIterator): use >= instead of ==
9046
9047 2002-06-07  Angus Leeming  <leeming@lyx.org>
9048
9049         Fixes needed to compile with Compaq cxx 6.5.
9050         * BufferView_pimpl.C:
9051         * DepTable.C:
9052         * buffer.C:
9053         * converter.C:
9054         * encoding.C:
9055         * lyx_gui.C:
9056         * lyx_main.C:
9057         * lyxtextclasslist.C:
9058         * minibuffer.C:
9059         * sp_spell.C:
9060         * tabular_funcs.C:
9061         * vc-backend.C:
9062         all c-library variables have been moved into namespace std. Wrap
9063         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9064
9065         * lyxlength.C:
9066         * tabular-old.C:
9067         * tabular.C:
9068         Add a using std::abs declaration.
9069
9070         * kbmap.h (modifier_pair):
9071         * paragraph.h (InsetTable, InsetList):
9072         * lyxfont.h (FontBits):
9073         type definition made public.
9074
9075         * bufferlist.C (emergencyWriteAll): the compiler complains that
9076         there is more than one possible lyx::class_fun template to choose from.
9077         I re-named the void specialisation as lyx::void_class_fun.
9078
9079         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9080
9081         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9082         the compiler is is unable to find tostr in write_attribute.
9083
9084 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9085
9086         * buffer.C (sgmlError): hide #warning
9087
9088 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9089
9090         * xtl/*: get rid of xtl, which is not in use anyway
9091
9092         * LyXAction.C (init):
9093         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9094         were unimplemented xtl experimentation
9095
9096 2002-06-04  André Pönitz <poenitz@gmx.net>
9097
9098         * lyxfunc.C: disable array operation on simple formulae
9099
9100 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9101
9102         * converter.C: constify a bit
9103
9104 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * lyx_gui.C: check xforms version correctly
9107
9108 2002-04-30  Herbert Voss  <voss@lyx.org>
9109
9110         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9111         "keep" option
9112
9113 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9116           attempt to register it with a VCS)
9117
9118 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9119
9120         * lyx_main.C (init): honor variables LYX_DIR_13x and
9121         LYX_USERDIR_13x
9122
9123 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * buffer.h:
9126         * buffer.C:
9127         * lyx_main.C: fix a crash on bad command line,
9128           and give a useful exit status on error
9129
9130         * lyxfunc.C (doImport): allow -i lyx to work
9131
9132 2002-03-30  André Pönitz <poenitz@gmx.net>
9133
9134         * lyxfunc.C: mathed font changes
9135
9136 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9137
9138         * LaTeX.C:
9139         * importer.h:
9140         * importer.C:
9141         * lyx_sty.h:
9142         * lyx_sty.C:
9143         * lyxlex.C:
9144         * lyxrow.h:
9145         * lyxtext.h:
9146         * paragraph.h:
9147         * paragraph.C:
9148         * texrow.h:
9149         * texrow.C:
9150         * text.C:
9151         * trans_mgr.h: srcdocs, and some minor cleanups
9152
9153 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9154
9155         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9156         call getFont all the time)
9157
9158 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9159
9160         * switch from SigC signals to boost::signals
9161
9162 2002-05-29  André Pönitz <poenitz@gmx.net>
9163
9164         * paragraph_pimpl.C (getChar): don't call size() too often...
9165
9166 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * paragraph_pimpl.C (insertChar): do not try to update tables when
9169         appending (pos == size())
9170
9171         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9172         in order to reduce drastically the number of comparisons needed to
9173         parse a large document
9174
9175 2002-05-29  André Pönitz <poenitz@gmx.net>
9176
9177         * text.C:
9178         * text2.C:
9179         * lyxtextclass.C:
9180         * sp_pspell.h:
9181         * textclasslist.[Ch]:
9182         * sp_ispell.h: whitespace change
9183
9184 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9185
9186         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9187         lyxaction directly now.
9188
9189 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * trans.C:
9192         * lyxfont.C:
9193         * lyxvc.C: remove unused headers
9194
9195 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9196
9197         * Makefile.am:
9198         * buffer.h:
9199         * undostack.h:
9200         * undostack.C:
9201         * undo_funcs.h:
9202         * undo_funcs.C: some cleanups. Use shared_ptr
9203           and a template for the undo stacks.
9204
9205 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9206
9207         * BufferView_pimpl.h:
9208         * BufferView_pimpl.C:
9209         * kbmap.h:
9210         * kbmap.C:
9211         * kbsequence.h:
9212         * kbsequence.C:
9213         * lyxfunc.h:
9214         * lyxfunc.C:
9215         * text2.C: use key_state/mouse_state
9216
9217 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9218
9219         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9220         and LSubstring
9221
9222         * chset.C: change include order
9223         (loadFile): use boost regex and get rid of LRegex and LSubstring
9224
9225         * Makefile.am (BOOST_LIBS): new variable
9226         (lyx_LDADD): use it
9227
9228         * LaTeX.C: change include order.
9229         (scanAuxFile): use boost regex and get rid of LRegex and
9230         LSubstring
9231         (deplog): ditto
9232
9233 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * ColorHandler.h:
9236         * ColorHandler.C:
9237         * FontInfo.h:
9238         * FontInfo.C: moved to frontends/xforms/
9239
9240         * FontLoader.h:
9241         * FontLoader.C: moved into frontends for GUIIzation
9242
9243         * Makefile.am:
9244         * lyx_gui.C:
9245         * lyxfont.C:
9246         * lyxfunc.C: changes from above
9247
9248 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * LColor.C: remove spurious X include
9251
9252         * BufferView_pimpl.C:
9253         * Makefile.am:
9254         * font.h:
9255         * font.C:
9256         * text.C:
9257         * text2.C: move font metrics to frontends/
9258
9259 2002-05-24  Juergen Vigna  <jug@sad.it>
9260
9261         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9262         setting the undo_cursor.
9263
9264         * ParagraphParameters.h: include local includes first.
9265
9266 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9267
9268         * BufferView_pimpl.C:
9269         * BufferView_pimpl.h:
9270         * Makefile.am:
9271         * WorkArea.h:
9272         * WorkArea.C:
9273         * screen.C: move WorkArea into frontends/
9274
9275         * lyxscreen.h:
9276         * screen.C:
9277         * text.C:
9278         * BufferView.C:
9279         * BufferView2.C: move LyXScreen into frontends/
9280
9281         * lyxlookup.h:
9282         * lyxlookup.C:
9283         * lyx_gui.C: move lyxlookup into frontends/xforms/
9284
9285 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9286
9287         * BufferView2.C:
9288         * BufferView_pimpl.C:
9289         * FontLoader.C:
9290         * LyXView.h:
9291         * LyXView.C:
9292         * Makefile.am:
9293         * WorkArea.C:
9294         * XFormsView.h:
9295         * XFormsView.C:
9296         * buffer.C:
9297         * bufferlist.C:
9298         * bufferview_funcs.C:
9299         * converter.C:
9300         * importer.C:
9301         * lyx_cb.C:
9302         * lyx_gui.C:
9303         * lyx_main.C:
9304         * lyx_find.C:
9305         * lyxfunc.C:
9306         * lyxvc.C:
9307         * minibuffer.C:
9308         * text.C:
9309         * text2.C:
9310         * trans.C:
9311         * vc-backend.C: move LyX/XFormsView into frontends/
9312
9313 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * Makefile.am:
9316         * PainterBase.C:
9317         * PainterBase.h:
9318         * Painter.C:
9319         * Painter.h:
9320         * WorkArea.C:
9321         * WorkArea.h:
9322         * screen.C:
9323         * tabular.C:
9324         * text.C:
9325         * text2.C: move Painter to frontends/
9326
9327 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9328
9329         * buffer.C: comment out some some code that depend upon lyx_format
9330         < 220
9331
9332         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9333         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9334
9335         * buffer.h (NO_COMPABILITY): turn off compability
9336
9337         * ColorHandler.C: include scoped_array.hpp
9338
9339         * font.C: Use more specific smart_ptr header.
9340         * Painter.C: ditto
9341         * gettext.C: ditto
9342         * ShareContainer.h: ditto
9343         * lyx_main.h: ditto
9344         * kbmap.h: ditto
9345         * FontInfo.h: ditto
9346         * BufferView_pimpl.h: ditto
9347         * ColorHandler.h: ditto
9348
9349         * kbmap.C (defkey): change call to shared_ptr::reset
9350
9351 2002-05-21  Juergen Vigna  <jug@sad.it>
9352
9353         * buffer.C (insertErtContents): fix to insert ert asis if it is
9354         non empty. Skip it completely if it contains only whitespaces.
9355
9356 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9357
9358         * BufferView_pimpl.C:
9359         * BufferView2.C: clear selection on paste (bug 393)
9360
9361 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9362
9363         * DepTable.C: include ctime
9364
9365 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9366
9367         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9368
9369 2002-05-14  Juergen Vigna  <jug@sad.it>
9370
9371         * text.C (breakParagraph): fixed function to honor the keepempty
9372         layout in the right maner and also to permit the right breaking
9373         algorithm on empty or non empyt keepempty paragraphs.
9374
9375         * paragraph.C (breakParagraph): we have to check also if the par
9376         is really empty (!size()) for isempty otherwise we do the wrong
9377         paragraph break.
9378
9379 2002-05-10  Juergen Vigna  <jug@sad.it>
9380
9381         * buffer.[Ch] : The following are only changes to the ert
9382         compatibility read reading old LaTeX layout and font stuff and
9383         convert it to ERTInsets.
9384
9385         * buffer.h: added isErtInset().
9386
9387         * buffer.C (struct ErtComp): add a fromlayout bool to check
9388         if we're inside a LaTeX layout.
9389         (isErtInset): new helper function.
9390         (insertErtContents): look for other ert insets before this one
9391         and insert the contents there, so that we don't have subsequent
9392         ERT insets with nothing between them. This way we create only one
9393         inset with multiple paragraphs. Also check if we don't insert only
9394         spaces ' ' as they are ignored anyway afterwards in the .tex file
9395         so if we have only spaces we will ignore this latex part in the
9396         new file.
9397         (parseSingleLyXformat2Token \\layout): better compatibility when
9398         reading layout-latex stuff.
9399         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9400         language tag.
9401         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9402         stuff after reading the inset only get the information back from
9403         the stack.
9404
9405 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9406
9407         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9408
9409         * LaTeXFeatures.C (getBabelOptions): New method.
9410
9411 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9412
9413         * BufferView_pimpl.C (Dispatch): work around missing argument for
9414         'layout'
9415
9416 2002-05-08  Juergen Vigna  <jug@sad.it>
9417
9418         * text.C (leftMargin): handle paragraph leftindent.
9419
9420         * paragraph.C (writeFile): write the new \\leftindent tag.
9421         (validate): handle leftindent code.
9422         (TeXEnvironment): handle paragraphleftindent code again.
9423
9424         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9425
9426         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9427         for paragrap_extra indent code and new token \\leftindent.
9428         (latexParagraphs): handle the leftindent as environment.
9429
9430         * ParameterStruct.h: added leftindent support.
9431
9432         * ParagraphParameters.C (leftIndent): added support functions for
9433         the paragraph left indent.
9434
9435         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9436         more appropriate.
9437
9438 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9439
9440         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9441         inside insetERT.
9442
9443         * text.C (computeBidiTables): No bidi in insetERT.
9444
9445         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9446         in RTL documents.
9447
9448 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * version.C.in: pre 5
9451
9452 2002-05-02  José Matos  <jamatos@fep.up.pt>
9453         * buffer.C (makeDocBookFile): white space changes, add newline to
9454         command styles.
9455         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9456
9457         * tabular.C (docBook): fix typo.
9458
9459 2002-05-03  Juergen Vigna  <jug@sad.it>
9460
9461         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9462         change in LyXText as we can not be sure it was not freed.
9463         (drawOneRow): remove unused code.
9464
9465         * text.C (drawInset): redo the calculation of the need_break_row as
9466         it could have a row which was already freed.
9467         (draw): look at the return value of drawInset and return false if
9468         it also returned false.
9469         (paintRowText): look at the return value of draw and return false if
9470         it also returned false.
9471
9472         * lyxtext.h: added bool return type to drawInset() and draw() so that
9473         if we have a change in the row so that the rowbreak has to be redone
9474         we abort drawing as it will be called again.
9475
9476 2002-05-02  Juergen Vigna  <jug@sad.it>
9477
9478         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9479         a change in the maintext also if we're inside an inset.
9480         (Dispatch): set the cursor again after a break line and after the
9481         screen has been updated as it could be we're in a different row.
9482
9483         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9484         to set the cursor behind the pargraph with > size().
9485         (setCursor): check also for the same paragraph when checking where
9486         to put the cursor if we have a NFR inset.
9487
9488         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9489         parts of layout read further up as it still was in the wrong
9490         position.
9491
9492 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9493
9494         * screen.C (drawFromTo): change sine fullRebreak always return
9495         true.
9496
9497         * buffer.C (parseSingleLyXformat2Token): reindent some
9498
9499         * BufferView_pimpl.C (update): change since fullRebreak always
9500         return true.
9501         (Dispatch): git rid of the last hardcoded "Standard"s.
9502
9503 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9504
9505         * text2.[Ch] (fullRebreak): make it return void now that we always
9506         returned true.
9507
9508 2002-04-30  Juergen Vigna  <jug@sad.it>
9509
9510         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9511         ert compatibility check for "latex" layout.
9512
9513 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9514
9515         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9516         minipages: use col% instead of p%, and also use the current font.
9517         (makeLaTeXFile): Fix use babel condition.
9518         (parseSingleLyXformat2Token): Correct font when reading old floats.
9519
9520 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9521
9522         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9523         inserting list of floats.
9524
9525 2002-04-25  Herbert Voss  <voss@lyx.org>
9526
9527         * MenuBackend.C (expand): don't add the graphics extensions to the
9528         export menu
9529
9530 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9533         non-existing layout, do not complain if it was the default layout
9534         of the original class (bug #342)
9535
9536 2002-04-24  Juergen Vigna  <jug@sad.it>
9537
9538         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9539         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9540
9541 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9542
9543         * buffer.C (getBibkeyList): If using \bibliography, return the
9544         option field with the reference itself. Enables us to provide natbib
9545         support when using \bibliography.
9546
9547 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9548
9549         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9550
9551         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9552         natbib is provided by the LaTeX class.
9553
9554 2002-04-23  Juergen Vigna  <jug@sad.it>
9555
9556         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9557         Wakeup functions.
9558
9559         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9560
9561 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9564
9565         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9566         ensuremath around textordmasculine, textordfeminine and
9567         textdegree.
9568
9569 2002-04-19  Juergen Vigna  <jug@sad.it>
9570
9571         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9572         reinitializing the buffer otherwise row-dimensions may be wrong.
9573         (update): reset also the selection cursors if they do exits otherwise
9574         their x/y positions may be wrong.
9575
9576         * text2.C (cursorDown): don't enter the inset if we came from a row
9577         above and are one row over the inset.
9578
9579         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9580         really leaving an inset.
9581
9582 2002-04-18  Juergen Vigna  <jug@sad.it>
9583
9584         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9585         of the selected paragraph does not have the selected layout also if
9586         the last one had!
9587
9588         * text2.C (setLayout): fixed bug which did not change last selected
9589         paragraph.
9590
9591         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9592         changed the read and substituted \\end_float with \\end_inset!
9593
9594         * BufferView_pimpl.C (cursorPrevious):
9595         (cursorNext): fixed to make it work with rows heigher than the work
9596         area without moving the cursor only the draw of the row.
9597         (workAreaMotionNotify): fix jumping over high rows.
9598
9599 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9600
9601         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9602         Ressler.
9603
9604 2002-04-16  Juergen Vigna  <jug@sad.it>
9605
9606         * text2.C (setCursor): set also the irow().
9607         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9608         (cursorUp):
9609         (cursorDown): support for locking an inset if the x_fix value goes
9610         inside it. That way I can transverse insets too with cursor up/down.
9611
9612         * lyxrow.h: added irow helper function same as other (i) functions.
9613
9614         * BufferView_pimpl.C (cursorPrevious):
9615         (cursorNext): fixed for insets!
9616
9617 2002-04-15  Juergen Vigna  <jug@sad.it>
9618
9619         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9620         position otherwise it is wrong in some cases.
9621
9622         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9623         inside the inset before the call.
9624
9625 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9626
9627         * buffer.[Ch] (getBibkeyList): make it const.
9628
9629 2002-04-12  Juergen Vigna  <jug@sad.it>
9630
9631         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9632
9633         * text2.C (getCursorX): new helper function
9634         (setCursor): compute also ix_
9635         (setCursorFromCoordinates): set also ix.
9636
9637         * lyxcursor.h: added ix_ and helper functions.
9638
9639         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9640
9641         * buffer.C (insertStringAsLines): dont break paragraph if the this
9642         paragraph is inside an inset which does not permit it!
9643
9644         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9645         also with no chars on this paragraph.
9646         (paintRowText): only paint stuff if it's inside the workarea!
9647
9648         * paragraph.C (breakParagraph): honor keepempty flag and break the
9649         paragraph always below not above.
9650
9651         * BufferView2.C (unlockInset): update the paragraph layout on inset
9652         unlock as we changed paragraph in such a case.
9653
9654         * lyxfind.C (LyXFind): clear the former selection if not found!
9655
9656         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9657         again called in insertChar().
9658
9659         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9660         an inset which uses the whole row!
9661         (rightMargin): ditto.
9662         (insertChar): force a rebreak if we inserted an inset!
9663
9664 2002-03-28  Herbert Voss  <voss@lyx.org>
9665
9666         * lyxlength.[Ch]: add inBP() to get the right PS-point
9667         units (BigPoint). With inPixels we have rounding errors
9668
9669 2002-04-11  Juergen Vigna  <jug@sad.it>
9670
9671         * text2.C (setCursorFromCoordinates): set iy to the right value.
9672         (setCursor): add check if row->previous exists!
9673
9674         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9675         an old float_type as this was the case in the old code!
9676
9677         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9678
9679         * BufferView2.C (showLockedInsetCursor): use iy
9680         (fitLockedInsetCursor): ditto
9681
9682         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9683         locked insets as there we have the right value now.
9684
9685         * lyxcursor.C: added iy_ variable and iy functions to set to the
9686         baseline of cursor-y of the locked inset.
9687
9688         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9689         (setCursor): fixed for insets which need a full row.
9690
9691         * text.C (rowLastPrintable): don't ignore the last space when before
9692         an inset which needs a full row.
9693         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9694         as last character of a row when before a inset which needs a full row.
9695
9696 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9697
9698         * version.C.in: update date
9699
9700         * text2.C (fullRebreak): try to always return true and see what
9701         happens...
9702
9703 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * MenuBackend.C (expand): use Floating::listName
9706
9707         * FloatList.C (FloatList): add listName argument to the built-in
9708         floats
9709
9710         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9711         text associated with the float.
9712
9713 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9716
9717 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9718
9719         * ShareContainer.h: add a couple of missing typenames.
9720
9721 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9722
9723         * lyxrc.C (getDescription): use _() correctly rather than N_().
9724
9725 2002-03-28  Herbert Voss  <voss@lyx.org>
9726
9727         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9728         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9729
9730 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9733         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9734
9735 2002-03-29  Juergen Vigna  <jug@sad.it>
9736
9737         * lyxfunc.C (dispatch): add a missing fitCursor call.
9738
9739         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9740         it was scrolled by a cursor move, so return the bool status.
9741
9742         * BufferView.C (fitCursor): return the bool flag also to the outside
9743         world as this is needed.
9744
9745         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9746
9747         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9748         call the edit() as it is not needed (and wrong) IMO.
9749         (workAreaButtonPress): set the screen_first variable before evt.
9750         unlock the inset as this may change screen_first and then we have
9751         a wrong y position for the click!
9752
9753 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9754
9755         * MenuBackend.C (expand): another translation that I missed
9756
9757 2002-03-28  Juergen Vigna  <jug@sad.it>
9758
9759         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9760
9761         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9762
9763 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9766
9767         * MenuBackend.C (expand): fix export/view/update when there is no
9768         document open.
9769
9770 2002-03-27  Herbert Voss  <voss@lyx.org>
9771
9772         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9773         and text%
9774
9775 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9776
9777         * bufferview_funcs.C (currentState): only show paragraph number
9778         for is DEVEL_VERSION is set.
9779
9780         * lyxfunc.C (dispatch): put warning in INFO channel
9781
9782         * MenuBackend.C (expand): translate the name of floats
9783
9784         * FloatList.C (FloatList): mark the float names for translation
9785
9786         * converter.C (convert): use LibScriptSearch
9787
9788 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9789
9790         * MenuBackend.C (defaults): fix default menu (we might as well get
9791         rid of it...)
9792
9793 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9794
9795         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9796         directory.
9797
9798 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9799
9800         * lyxvc.C: reorder includes.
9801
9802 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9805           properly
9806
9807 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * CutAndPaste.C: change layouts earlier on paste
9810           to avoid crashing when calling getFont()
9811
9812 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9813
9814         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9815         irritating #error.
9816
9817 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9818
9819         * WorkArea.C: remove 'Pending' debug message.
9820
9821         * most files: ws cleanup
9822
9823         * buffer.[Ch]: ws changes
9824
9825         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9826
9827 2002-03-21  Juergen Vigna  <jug@sad.it>
9828
9829         * tabular.C (SetMultiColumn): collapse also the contents of the
9830         cells and set the last border right. Added a Buffer const * param.
9831
9832 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9833
9834         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9835         linking or not.
9836
9837 2002-03-19  Juergen Vigna  <jug@sad.it>
9838
9839         * text2.C (clearSelection): reset also xsel_cache.
9840
9841         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9842         where it needs to be called (John tells us to do so too :)
9843         (selectionLost): reset sel_cache.
9844
9845         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9846
9847 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9848
9849         * text2.C (setCursorIntern): put debuging code in INSETS channel
9850
9851 2002-03-19  André Pönitz <poenitz@gmx.net>
9852
9853         * lyxfunc.C: tiny whitespace change
9854
9855 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * ToolbarDefaults.C (init):
9858         * LyXAction.C (init):
9859         * commandtags.h:
9860         * BufferView_pimpl.C (Dispatch):
9861         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9862
9863 2002-03-19  Allan Rae  <rae@lyx.org>
9864
9865         * exporter.C (Export): removeAutoInsets before doing anything else.
9866         While I've just introduced a dependency on BufferView this really is
9867         the best place to clean the buffer otherwise you need to cleanup in
9868         a dozen places before calling export or cleanup in a dozen functions
9869         that export calls.
9870
9871         * converter.C (runLaTeX):
9872         (scanLog): Better handling of removeAutoInsets and screen updates.
9873
9874         * lyxfunc.C (dispatch): small whitespace changes
9875
9876 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9877
9878         * WorkArea.C (C_WorkAreaEvent): return a value.
9879         (event_cb): return 1 if we handled the event, 0 otherwise.
9880
9881         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9882
9883 2002-03-18  Juergen Vigna  <jug@sad.it>
9884
9885         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9886         (GetAdditionalWidth): ditto.
9887         (RightLine): ditto.
9888         (LeftLine): ditto.
9889
9890         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9891         inset if we're there actually (probably not used right now but this
9892         is the direction to go for unifying code).
9893         (paste): disable code to clear the selection.
9894
9895         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9896         inside an InsetText and move the check further up as it is in the
9897         wrong place.
9898
9899         * text2.C (pasteSelection): set a selection over the pasted text.
9900
9901 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9902
9903         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9904         and libgraphics to build on Cygwin.
9905
9906 2002-03-15  Juergen Vigna  <jug@sad.it>
9907
9908         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9909         inserting an Inset into the paragraph. I know this is not the best
9910         fix but we already use current_view in CutAndPaste so we will remove
9911         all of it's using at the same time.
9912
9913         * buffer.C (sgmlError): deactivated function till it is rewritten in
9914         the right mode, now it can create problems.
9915
9916         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9917         before accessing it.
9918
9919 2002-03-14  Juergen Vigna  <jug@sad.it>
9920
9921         * undo_funcs.C (textHandleUndo): do the right thing when updating
9922         the inset after the undo/redo.
9923
9924         * text2.C (setCursor): just some testcode for #44 not ready yet.
9925
9926         * undo_funcs.C (textHandleUndo): set the next() and previous()
9927         pointers of the paragraph to 0 before deleting otherwise we have
9928         problems with the Paragraph::[destructor].
9929
9930         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9931         on a paragraph insertion.
9932
9933 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9934
9935         * buffer.C (asciiParagraph): use += operator for char append to
9936         string.
9937
9938         * paragraph.C (getFontSettings): compare >= not just >
9939         (highestFontInRange): ditto
9940         (setFont): ditto
9941
9942 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9943
9944         * paragraph.C: change several algorithm to be more appripriate for
9945         the problem domain. This is lookip in FontList and in the InsetList.
9946
9947 2002-03-13  André Pönitz <poenitz@gmx.net>
9948
9949         * commandtags.h:
9950         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9951
9952 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * commandtags.h:
9955         * LyXAction.C:
9956         * lyxfunc.C:
9957         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9958
9959 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9960
9961         * Painter.C (display): anon helper function, adjust code for this
9962         change.
9963         (pixmap): remove function.
9964
9965         * Painter.h: remove private display variable.
9966
9967         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9968
9969 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9970
9971         * WorkArea.[Ch]: remove figinset_canvas cruft.
9972
9973 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9974
9975         * lyxtextclass.C (operator): add one item cache optimization.
9976
9977         * bufferlist.h: doxy changes
9978
9979         * bufferlist.C: ws changes
9980
9981         * DepTable.[Ch] (ext_exist): place const in the right spot.
9982
9983         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9984         call resizeInsets.
9985         (workAreaExpose): call resizeInsets when the with BufferView changes.
9986         (Dispatch): adjust for protectedBlank removal
9987         (specialChar): call updateInset if the insert went ok.
9988
9989         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9990         specialChar instead.
9991
9992         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9993
9994         * BufferView.h: doxy change
9995
9996         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9997
9998         * lyxtextclass.C (operator[]): remove non-const version
9999         (defaultLayout): remove non-const version
10000
10001 2002-03-12  Juergen Vigna  <jug@sad.it>
10002
10003         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10004         did resize the LyXText too.
10005
10006         * buffer.C (readLyXformat2): set layout information on newly allocated
10007         paragraphs.
10008
10009         * tabular.C (OldFormatRead): set layout information on the paragraph.
10010
10011 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10012
10013         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10014
10015 2002-03-11  Juergen Vigna  <jug@sad.it>
10016
10017         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10018         plainly wrong.
10019         (resizeCurrentBuffer): force also the insets to resize themselfes.
10020         (moveCursorUpdate): fixed up for InsetText.
10021
10022 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10023
10024         * commandtags.h:
10025         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10026         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10027         value of Dialogs::tooltipsEnabled().
10028         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10029
10030 2002-03-08  Juergen Vigna  <jug@sad.it>
10031
10032         * BufferView_pimpl.C (updateInset): update inset inside inset also
10033         if it isn't inside theLockingInset().
10034
10035 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10036
10037         * buffer.C (asciiParagraph): redo some of the word and line length
10038         handling.
10039         (getLists): look for Caption instead of caption.
10040
10041 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10042
10043         * buffer.C (Buffer): initialize niceFile to true
10044         (makeLaTeXFile):
10045         (makeLinuxDocFile):
10046         (makeDocBookFile): make sure niceFile is true on exit
10047
10048 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10049
10050         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10051
10052 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10053
10054         * LyXSendto.C: remove.
10055         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10056         * lyx_gui.C: remove now-redundant comment.
10057         * ColorHandler.h: remove forward declaration of class WorkArea.
10058         * lyxfunc.C: remove #include "WorkArea.h".
10059
10060 2002-03-07  Juergen Vigna  <jug@sad.it>
10061
10062         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10063         got moved away with the DEPM and also set the inset_owner always
10064         right which before could have been omitted.
10065
10066 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10067
10068         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10069         wanted layout is not found.
10070
10071 2002-03-07  Juergen Vigna  <jug@sad.it>
10072
10073         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10074
10075 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10076
10077         * paragraph.C (breakParagraph): use default layout not layout of
10078         prev paragraph.
10079         (Paragraph): clear ParagraphParameters.
10080
10081 2002-03-06  Juergen Vigna  <jug@sad.it>
10082
10083         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10084         otherwise it would not be a valid lenght. Fixed a special case in
10085         the minipage compatibility read where we end the document with a
10086         minipage.
10087
10088         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10089         was set as it could be 0 for InsetTexts first entry.
10090
10091 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10092
10093         * paragraph.C (writeFile): if layout is empty write out
10094         defaultLayoutName().
10095
10096         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10097         file without named layout we set layout to defaultLayoutName().
10098
10099 2002-03-06  Juergen Vigna  <jug@sad.it>
10100
10101         * CutAndPaste.C (copySelection): set layout for new paragraph.
10102
10103         * text.C (prepareToPrint): leave ERT inset left aligned
10104         (leftMargin): don't indent paragraphs inside ERT insets
10105
10106 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10107
10108         * paragraph.C (breakParagraph): dont call clear do the work manually
10109
10110         * paragraph.[Ch] (clear): remove function
10111
10112 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10113
10114         * paragraph.C (Paragraph): dont call clear, the work has already
10115         been done.
10116
10117         * lyxtextclass.C (operator): assert if n is empty
10118
10119         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10120         work manually instead.
10121
10122 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * BufferView_pimpl.C: protect selectionLost against text == 0
10125
10126 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10127
10128         * text.C (breakParagraph): fix a setting layout to '0' problem.
10129
10130 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10131
10132         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10133         final location of file, for the included files, and graphics.
10134
10135 2002-03-05  Juergen Vigna  <jug@sad.it>
10136
10137         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10138
10139 2002-03-04  Juergen Vigna  <jug@sad.it>
10140
10141         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10142
10143         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10144         last column of multicolumn cells.
10145         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10146
10147 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10148
10149         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10150         file if it doesn't go to a temporary file.
10151
10152         * buffer.C (sgmlOpenTag):
10153         (sgmlCloseTag):  remove extra newline insertion.
10154
10155 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10156
10157         * text.C (getRowNearY): comment out debug msg
10158
10159 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10160
10161         * text2.C: first -> first_y
10162
10163         * text.C (getRowNearY): add some attemts at a possible
10164         optimization, not working.
10165
10166         * tabular.[Ch]: add BufferParams to several function so that newly
10167         created paragraph can be initialized to he default layotu for the
10168         buffers textclass.
10169
10170         * tabular-old.C (ReadOld): add buf->params to call of Init
10171
10172         * screen.C: rename text->first to text->first_y
10173
10174         * paragraph.C (breakParagraph): always set layout in the broken
10175         paragraph
10176
10177         * lyxtextclass.C (Read): remove lowercase
10178         (hasLayout): ditto
10179         (operator): ditto
10180         (delete_layout): ditto
10181
10182         * lyxtext.h: rename first -> first_y
10183
10184         * lyxlayout.C (Read): remove lowercase
10185         (name): ditto
10186         (setName): ditto
10187         (obsoleted_by): ditto
10188
10189         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10190
10191         * buffer.C (insertErtContents): add params are to InsetERT
10192         (parseSingleLyXformat2Token): add code to check if a paragraphs
10193         layout really exist.
10194         (parseSingleLyXformat2Token): add params to several inset
10195         constructors
10196         (asciiParagraph): remove lowercase, do the layout comparisons with
10197         no_case
10198
10199         * BufferView_pimpl.C (cursorNext): first -> first_y
10200         (resizeCurrentBuffer): first -> first_y
10201         (updateScrollbar): first -> first_y
10202         (scrollCB): first -> first_y
10203         (workAreaMotionNotify): first -> first_y
10204         (workAreaButtonPress): first -> first_y
10205         (checkInsetHit): first -> first_y
10206         (cursorPrevious): first -> first_y
10207         (cursorNext): first -> first_y
10208         (Dispatch): add buffer_->params to severl inset contructors
10209
10210 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10211
10212         * lyxlayout.C (Read): remove some debug info that I forgot.
10213
10214         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10215         clean up the code slightly.
10216         (makeLinuxDocFile): ditto
10217         (makeDocBookFile): ditto
10218
10219         * text2.C: layout as string
10220
10221         * text.C: layout as string
10222
10223         * paragraph_pimpl.C: layout as string
10224
10225         * paragraph.[Ch]: layout as string
10226
10227         * lyxtextclasslist.[Ch]: layout as string
10228
10229         * lyxtextclass.[Ch]: layout as string
10230
10231         * lyxtext.h: layout as string
10232
10233         * lyxlayout.[Ch]: layout as string
10234
10235         * lyx_cb.C: layout as string
10236
10237         * bufferview_funcs.C: layout as string
10238
10239         * bufferparams.C: layout as string
10240
10241         * buffer.C: layout as string
10242
10243         * LyXView.[Ch]: layout as string
10244
10245         * LaTeXFeatures.[Ch]: layout as string
10246
10247         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10248
10249         * BufferView_pimpl.C: change current_layout to string, remove
10250         lyx::layout_type.
10251         (Dispatch):
10252         (smartQuote):
10253         (insertInset):
10254         (workAreaButtonRelease): layout as string
10255
10256         * BufferView2.C (unlockInset): adjust
10257
10258         * vspace.C (asLatexCommand): use an explict temp variable.
10259
10260 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * Makefile.am: use FRONTEND_*
10263
10264 2002-03-01  Juergen Vigna  <jug@sad.it>
10265
10266         * tabular.C (SetWidthOfMulticolCell): changed to something better
10267         I hope but still work in progress.
10268         (recalculateMulticolumnsOfColumn): renamed function from
10269         recalculateMulticolCells as it is more appropriate now.
10270         (SetWidthOfCell): calculate multicols better.
10271
10272 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10273
10274         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10275
10276         * lyxfunc.C (processKeySym): print sequence also if it is
10277         `deleted' (complete)
10278
10279         * kbsequence.C (print): print sequence even if it is deleted
10280         (complete would be a better word, actually).
10281
10282         * lyxfunc.C (dispatch): print complete options after a prefix key
10283
10284         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10285
10286 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10287
10288         * text2.C (setCharFont): eliminate setCharFont code duplication.
10289
10290 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10293         LFUN_TABULAR_FEATURE (bug #177)
10294
10295 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10296
10297         * Makefile.am: remove figure.h
10298
10299 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10300
10301         * Bufferview_pimpl.C:
10302         * CutAndPasteC:
10303         * LaTeX.C:
10304         * LyXSendto.C:
10305         * buffer.C:
10306         * bufferlist.C:
10307         * converter.C:
10308         * language.C:
10309         * lyxfunc.C:
10310         * lyxvc.C:
10311         * paragraph.C:
10312         * text.C:
10313         * text2.C: remove #include "lyx_gui_misc.h".
10314
10315         * LaTeX.C: added #include <cstdio>
10316
10317 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10320         that the paragraph following this one can have.
10321
10322         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10323
10324         * vspace.C (asLatexCommand): fix bogus gcc warning
10325
10326         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10327
10328 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10329
10330         * text2.C (setLayout): get rid of redundant code
10331
10332 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10333
10334         * text2.C (incDepth): make sure depth cannot be increased beyond
10335         reasonable values.
10336
10337 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10338
10339         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10340         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10341
10342         * PainterBase.h (image):
10343         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10344         a LyXImage const *.
10345
10346 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * BufferView.C:
10349         * BufferView.h:
10350         * BufferView_pimpl.C:
10351         * BufferView_pimpl.h:
10352         * LaTeXFeatures.C:
10353         * LyXAction.C:
10354         * LyXView.C:
10355         * Makefile.am:
10356         * UpdateList.h:
10357         * UpdateList.C:
10358         * buffer.C:
10359         * figure.h:
10360         * figureForm.C:
10361         * figureForm.h:
10362         * figure_form.C:
10363         * figure_form.h:
10364         * lyx_cb.C:
10365         * lyx_gui.C:
10366         * lyx_gui_misc.C:
10367         * lyxfunc.C:
10368         * sp_base.h:
10369         * sp_ispell.h:
10370         * sp_pspell.h:
10371         * sp_spell.C: remove fig inset, and the crap house of
10372           cards that follows it
10373
10374 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * Makefile.am:
10377         * lyxserver.C:
10378         * os2_defines.h:
10379         * os2_errortable.h:
10380         * nt_defines.h: move .h into support/
10381
10382         * vms_defines.h: remove
10383
10384         * WorkArea.C: add space in debug output
10385
10386         * text2.C:
10387         * paragraph.C:
10388         * buffer.C: add WITH_WARNINGS
10389
10390         * vc-backend.h:
10391         * vc-backend.C:
10392         * bufferlist.C: s/retrive/retrieve/, add docs
10393
10394         * vspace.h:
10395         * vspace.C:
10396         * kbmap.h:
10397         * lyxlength.h:
10398         * lyxgluelength.h:
10399         * length_common.h:
10400         * chset.h:
10401         * chset.C: add docs
10402
10403         * lyxgui.C: add ID to X error handler
10404
10405         * lyxtestclass.c: fix typo
10406
10407 2002-02-26  Juergen Vigna  <jug@sad.it>
10408
10409         * tabular_funcs.C (write_attribute): changed so that some default
10410         attributes are not written at all.
10411         (getTokenValue): set default values before trying to read the
10412         value so we have the return value always set as default if we don't
10413         find the token we search for.
10414
10415         * tabular.C (Write): write bools as bools not as strings!
10416
10417 2002-02-22  Juergen Vigna  <jug@sad.it>
10418
10419         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10420         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10421
10422         * text.C (leftMargin): don't add an indent for paragraphs inside
10423         tabular cells (fix #208).
10424
10425 2002-02-21  José Matos  <jamatos@fep.up.pt>
10426
10427         * tabular.C (docBook): fixed support for long tables.
10428
10429 2002-02-20  Juergen Vigna  <jug@sad.it>
10430
10431         * text2.C (getFont): get the drawing font of the Inset if this
10432         paragraph is inside an inset (only important for InsetERT for now).
10433
10434         * buffer.C (insertErtContents): use new lanugage params in ERT
10435         constructor.
10436
10437         * CutAndPaste.C: commenting out seemingly uneeded code.
10438
10439 2002-02-19  Allan Rae  <rae@lyx.org>
10440
10441         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10442         Iterators might be simple to use but they also get invalidated.
10443         (removeAutoInsets): renamed saved cursor tracking variables and added
10444         some comments to clarify what everything does.
10445
10446 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10447
10448         * Chktex.C:
10449         * LaTeX.C:
10450         * LyXSendto.C:
10451         * converter.C:
10452         * lyx_cb.C:
10453         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10454         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10455
10456         * lyxfunc.C:
10457         * vc-backend.h: remove #include "support/syscall.h"
10458
10459         * LaTeX.C:
10460         * LyXSendto.C:
10461         * converter.C: rearrange #includes in Lars' approved fashion.
10462
10463         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10464         forward declare class Timeout in the header file.
10465
10466         * XFormsView.C: changes due to the above.
10467
10468         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10469         similar to LyXView.
10470
10471         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10472         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10473
10474 2002-02-18  José Matos  <jamatos@fep.up.pt>
10475
10476         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10477         insets contents.
10478
10479 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10480
10481         * a lot of small ws changes
10482         * add a lot of using std::XXX
10483         * use std construcs some places where approp.
10484         * use some exisint stuff from lyxfunctional where approp.
10485         * Make file changes to use partial linking (lets test this now...)
10486
10487 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10488
10489         * Chktex.C:
10490         * buffer.C:
10491         remove #include "support/syscontr.h" as it's redundant. Always has been.
10492
10493         * Chktex.C:
10494         * LaTeX.C:
10495         * LyXSendto.C:
10496         * converter.C:
10497         * lyx_cb.C:
10498         * vc-backend.C:
10499         change Systemcalls::System to Systemcalls::Wait and
10500         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10501         No change of functionality, just reflects the stripped down Systemcalls
10502         class.
10503
10504 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10505
10506         * debug.[Ch]: add a GRAPHICS type to the enum.
10507
10508 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10509
10510         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10511
10512         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10513         there is an inset.
10514
10515 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10516
10517         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10518         match the changes below.
10519
10520         * text2.C (toggleInset): if there is not editable inset at cursor
10521         position, try to see if cursor is _inside_ a collapsable inset
10522         and close it.
10523
10524 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10525
10526         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10527         document menu has a nice checkbox
10528
10529 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10530
10531         * lyxlength.C (asLatexString): change PW to output as percent of
10532         \textwidth.
10533
10534         * lengthcommon.C: change '%' to 't%'
10535
10536         * lyxfunc.C (dispatch): a few comments from Martin
10537
10538 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * WorkArea.h:
10541         * WorkArea.C:
10542         * BufferView_pimpl.h:
10543         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10544           the X selection.
10545
10546 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * vspace.C (inPixels): fix compiler warning
10549
10550 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10551
10552         * lyxfunc.C (getStatus): fix status message for disabled commands.
10553
10554 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * BufferView_pimpl.C: fix crash on close buffer
10557         during selection (#227)
10558
10559 2002-01-27  Herbert Voss  <voss@lyx.org>
10560
10561         * buffer.C: link old Figure to new graphic inset
10562
10563 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10564
10565         * FontLoader.C (getFontinfo): Change the latex font names in order
10566         to match the names of type1inst.
10567
10568 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10569
10570         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10571
10572         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10573         (extchanged): ditto
10574         (ext_exist): ditto
10575         (remove_files_with_extension): ditto
10576         (remove_file): ditto
10577         (write): ditto
10578
10579         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10580         document is smaller than the work area height. Do not initialize
10581         static variables to 0.
10582
10583 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10584
10585         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10586
10587         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10588         LFUN_LAYOUT_PARAGRAPHS.
10589
10590         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10591         tabular. It is possible to provide a possible cell, which will
10592         typically be the actcell from the corresponding insettabular
10593
10594         * lyxfunc.C (getStatus): small cleanup; disable
10595         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10596         true
10597
10598 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10599
10600         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10601
10602         * paragraph.C (startTeXParParams):
10603         (endTeXParParams): new methods. The LaTeX code to
10604         start/end paragraph formatting
10605         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10606         empty (fixes bug #200)
10607
10608         * vspace.C (inPixels): adapt to the change below
10609         (inPixels): [later] more cleanups (remove unused variables)
10610
10611         * lyxlength.C (inPixels): change to use a width and a height as
10612         parameter.
10613
10614 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10615
10616         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10617         Replaced with \paperwidth
10618
10619         * DepTable.C (insert): add std:: qualifier
10620
10621 2002-01-18  Allan Rae  <rae@lyx.org>
10622
10623         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10624         updated also?
10625
10626         * text.C (drawInset): Turned out I didn't know enough about how
10627         rebreaking worked.  This fixes most of the redraw problems.  I see
10628         an occasional cursor trail when a line is broken now and the cursor
10629         placement can seem out by a few pixels also after a rebreak.
10630
10631 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * buffer.C (parseSingleLyXformat2Token): update because minipage
10634         width is now a LyXLength
10635
10636         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10637
10638         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10639         math insets
10640
10641 2002-01-17  Juergen Vigna  <jug@sad.it>
10642
10643         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10644
10645         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10646         is set correctly and the inset is updated correctly.
10647
10648 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10651         the beginning of the loop.
10652
10653 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * lyxrc.C: improve help for use_scalable_fonts
10656
10657 2002-01-17  Allan Rae  <rae@lyx.org>
10658
10659         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10660
10661 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10664         make sure to set their inset_owner to the right value (bug #171)
10665
10666 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10667
10668         * DepTable.h
10669         * DepTable.C: Implement mtime checking to reduce time spent doing
10670         CRCs.
10671
10672 2002-01-16  Juergen Vigna  <jug@sad.it>
10673
10674         * tabular.C (GetAdditionalHeight): one of error fixed.
10675
10676         * lyxrc.C (output): small fix in writing use_pspell.
10677
10678 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10679
10680         * sp_base.h: #include LString.h
10681
10682 2002-01-16  Allan Rae  <rae@lyx.org>
10683
10684         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10685         Can someone check this please?
10686
10687         * text.C (drawInset): It was possible that p.row would be removed by
10688         breakAgainOneRow upsetting a few other settings.  There may be another
10689         small tweak possible by setting need_break_row = 0 when p.row has been
10690         removed but I don't know enough about the logic here.
10691
10692 2002-01-15  Allan Rae  <rae@lyx.org>
10693
10694         * text.C (insertChar): removed conditional truism.
10695
10696         * BufferView2.C (removeAutoInsets): More tweaks.
10697         cur_par_prev could be a stray pointer.  Check for trailing empty line
10698         in case last line was cur_par and only had an error inset on it.
10699
10700 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10703         absolute
10704
10705         * vc-backend.C (most methods):
10706         * exporter.C (Export):
10707         * converter.C (convert):
10708         (runLaTeX):
10709         * LyXSendto.C (SendtoApplyCB):
10710         * lyxfunc.C (dispatch):
10711         (menuNew):
10712         (open):
10713         (doImport):
10714         * lyx_cb.C (AutoSave):
10715         (InsertAsciiFile):
10716         * BufferView_pimpl.C (MenuInsertLyXFile):
10717         * buffer.C (runChktex): use Buffer::filePath().
10718
10719         * buffer.h: rename filename to filename_; rename filepath to
10720         filepath_ and make it private
10721         (filePath): new method
10722
10723         * buffer.C (writeFile): use fileName()
10724         (getLatexName):
10725
10726         * lyx_main.C (init): fix starting  of LyX when the binary is a
10727         link from so,ewhere else.
10728
10729         * minibuffer.C: include <cctype> for isprint
10730
10731 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10732
10733         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10734         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10735         name clash with InsetCollapsable's width function.
10736
10737 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * lastfiles.C: include <iterator>
10740
10741 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10742
10743         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10744         std::count.
10745
10746         * buffer.C (makeLaTeXFile): ditto.
10747         Also make loop operation more transparent.
10748
10749 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10750
10751         * ToolbarDefaults.C: remove trailing comma closing namespace.
10752
10753         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10754
10755         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10756         as in WorkArea.
10757
10758         * trans.C (Load): comment out unused variable, allowed.
10759
10760 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10761
10762         * minibuffer.[Ch] (append_char): new method to recieve input from the
10763         drop-down completion browser. If a key was pressed, then recieve this
10764         char and append it to the existing string.
10765         (peek_event): modify the positioning data passed to the completion
10766         browser so that it can be placed above the minibuffer rather than below.
10767 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * LyXAction.C (init): alloe error-next for readonly documents.
10770
10771         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10772         count.
10773
10774 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * bufferlist.C (readFile): create the buffer _after_ checking that
10777         the file exists.
10778
10779         * lyxfunc.C (verboseDispatch): fix handling of arguments
10780
10781         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10782
10783         * lyxrc.C: use string::erase() instead of initializing to "".
10784
10785
10786 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * BufferView_pimpl.h:
10789         * BufferView_pimpl.C:
10790         * WorkArea.h:
10791         * WorkArea.C:
10792         * text2.C: tell X when we have made a selection for copying
10793
10794 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * BufferView_pimpl.C (MenuInsertLyXFile):
10797         * lyxfunc.C (menuNew):
10798         (open):
10799         (doImport): add shortcuts to directory buttons
10800
10801         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10802         open a float)
10803
10804         * lyxfunc.C (setStatusMessage):
10805         (getStatusMessage): new methods
10806         (getStatus):use setStatusMessage instead of setErrorMessage
10807         (dispatch): when function is disabled, set error message here
10808         [instead of in getStatus previously]
10809
10810         * BufferView_pimpl.C (workAreaButtonRelease): update
10811         toolbar/menubar here too.
10812
10813 2002-01-13  Allan Rae  <rae@lyx.org>
10814
10815         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10816         Now seems indestructible.  Remaining task is to audit all other
10817         code affected by deleteEmptyParagraphMechanism.  One small quirk
10818         left is that an empty document with an error in the preamble can
10819         be made to report an error but no error box appears.  I don't know
10820         where it goes.
10821         (removeAutoInsets): Improved comments.
10822
10823 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * Thesaurus.h:
10826         * Thesaurus.C: update for Aiksaurus 0.14
10827
10828 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * text2.C (firstParagraph): removed member function, all uses
10831         replaces with ownerParagraph
10832         (redoParagraphs): here
10833         (updateInset): here
10834         (toggleAppendix): here
10835         * BufferView2.C (insertErrors): here
10836         (setCursorFromRow): here
10837
10838 2002-01-13  Allan Rae  <rae@lyx.org>
10839
10840         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10841         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10842         There is still a way to segfault this although you may have to do this
10843         multiple times: Have an InsetERT with an unknown command in it.
10844         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10845         <down-arrow>, <Enter> again, View->DVI, BANG!
10846
10847         * text2.C (setCursor):
10848         (deleteEmptyParagraphMechanism):
10849         * lyxtext.h (setCursor):
10850         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10851         Making use of the return value may help fix other bugs.
10852
10853 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10856
10857         * LyXView.C (updateMenubar): call MenuBar::update here
10858         (updateToolbar): but not here
10859         (showState): do not update toolbar/menubar
10860
10861         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10862         should need to care about that.
10863
10864         * lyxfunc.C (verboseDispatch): simplify a bit
10865         (getStatus): have a version which takes a pseudoaction, and
10866         another which requires a (kb_action,string).
10867
10868         * LyXAction.C (retrieveActionArg): make it work also when action
10869         is not a pseudo-action.
10870         (getActionName): simplify a bit
10871         (helpText):
10872
10873 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10874
10875         * lyxfunc.C (verboseDispatch): new families of methods with
10876         several ways to specify a command and a bool to indicate whether
10877         the command name and shortcut should be displayed in minibuffer
10878         (eventually, we could extend that to a finer bitmask like
10879         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10880         (dispatch): the pristine dispatch command which just, well,
10881         dispatchs! Note it still sets its result to minibuffer; I'm not
10882         sure we want that.
10883
10884         * lyxfunc.h: remove setHintMessage
10885
10886         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10887
10888 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * BufferView_pimpl.C (specialChar): delete new inset if we have
10891         not been able to insert it.
10892
10893         * kbmap.C: revert to using int instead of kb_action, since all we
10894         are dealing with is pseudo-actions.
10895
10896         * LyXAction.C (searchActionArg): change to return int instead of
10897         kb_action, since the result is a pseudoaction.
10898
10899 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10900
10901         * buffer.C (insertErtContents): Fix (partially) the font bug.
10902
10903 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10904
10905         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10906         as the other one is broken on my machine!
10907
10908 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10909
10910         * commandtags.h:
10911         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10912
10913 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10914
10915         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10916         reflect their actual use. Provide compatibility code for older lyxrc
10917         files.
10918
10919         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10920         FL_NORMAL_STYLE.
10921         change names of popup font variables in line with the changes to lyxrc.C
10922
10923 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * buffer.C (asciiParagraph): avoid outputing a word twice after
10926         an inset.
10927
10928         * lyxrc.C (getDescription): document that document_path and
10929         template_path can be empty.
10930
10931 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * LaTeXFeatures.C (getMacros):
10934         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10935
10936         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10937
10938         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10939         getPackages.
10940         (getPackages): rename feature "floats" to "float". Use an array to
10941         iterate over 'simple' features (i.e. just a \usepackage). Add
10942         handling of "amsmath" (renamed from "amsstyle").
10943
10944 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10945
10946         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10947         features list.
10948
10949 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10950
10951         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10952         FuncStaus::FuncStatus & FuncStaus::some_method().
10953
10954 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10955
10956         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10957         of the func_satus stuff. Edited and massaged in various ways by
10958         JMarc.
10959
10960         * lyxfunc.C (getStatus): use FuncStatus
10961
10962 2002-01-08  Juergen Vigna  <jug@sad.it>
10963
10964         * text.C (nextBreakPoint): use function Inset::isChar().
10965
10966         * paragraph.C (TeXOnePar): use function
10967         Inset::forceDefaultParagraphs.
10968
10969         * buffer.C (latexParagraphs): use function
10970         Inset::forceDefaultParagraphs.
10971
10972 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10973
10974         * lyx_gui.C (init): set the style of the menu popups to
10975         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10976
10977 2002-01-07  Juergen Vigna  <jug@sad.it>
10978
10979         * text.C (setHeightOfRow): small fix
10980         (prepareToPrint): don't look at alignment if we don't have the place
10981         for doing it.
10982
10983 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10984
10985         * box.C: New file. Move the Box methods and functions out of box.h,
10986         following Lars' suggestion.
10987
10988 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10989
10990         * box.h: #include "support/LOstream.h", needed for inlined function.
10991
10992         * lyxtextclass.C:
10993         * lyxtextclasslist.C: added some using std declarations.
10994
10995 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * box.h: make signed dimensions to allow insets wider than
10998           the screen (bug #162)
10999
11000         * BufferView_pimpl.C: add some insetHit debug
11001
11002 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * vc-backend.C: add FIXME
11005
11006 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * lyxfunc.C (getStatus): enable code for showing math font status
11009         in toolbar/menu.
11010
11011 2002-01-07  Juergen Vigna  <jug@sad.it>
11012
11013         * text.C (nextBreakPoint): removed debug output not needed anymore.
11014
11015 2002-01-06  Juergen Vigna  <jug@sad.it>
11016
11017         * text.C (nextBreakPoint): fixed up this function we had this bug
11018         since ever but now hopefully we break row better.
11019         (insertChar): we have to check if an inset is the next char as it
11020         could now happen that a large inset is causing a break.
11021
11022 2002-01-05  Juergen Vigna  <jug@sad.it>
11023
11024         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11025         if it doesn't like to be drawed.
11026
11027 2002-01-04  Juergen Vigna  <jug@sad.it>
11028
11029         * BufferView2.C (lockInset): forgot to set a cursor.
11030
11031         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11032
11033 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11034
11035         * FormMathsPanel.C:
11036         * FormMathsPanel.h
11037         * MathsSymbols.C:
11038         * form_maths_panel.C:
11039         * form_maths_panel.h:
11040         * form_maths_panel.fd: implemented sub- and super- buttons in math
11041         panel.
11042
11043         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11044         (or ^ space) to be used as in TeX (req'd by André).
11045
11046         * lyxfunc.C: Allow ^ and _ again to be used both as
11047         super/subscript (mathed) and as themselves (in text).
11048
11049 2002-01-03  Allan Rae  <rae@lyx.org>
11050
11051         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11052         "LyX" or the filename of the current buffer if it has one.  This is a
11053         modified form of John Levon's patch.
11054
11055         * XFormsView.C (setWindowTitle): also set icon title.
11056
11057         * LyXView.h (setWindowTitle): signature changed.
11058         * XFormsView.h (setWindowTitle): ditto.
11059
11060 2002-01-02  Juergen Vigna  <jug@sad.it>
11061
11062         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11063
11064 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * screen.C (topCursorVisible): introduce a temp var for
11067         text->cursor.row(), handle the case where this row is null. (kindo
11068         hachish)
11069
11070         * text2.C (setCursor): add a couple of asserts.
11071
11072         * paragraph.h (inset_iterator): add -> operator
11073
11074         * paragraph.[Ch] (autoDeleteInsets): remove member function
11075
11076         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11077         cursor pos correctly and handle inset deletion by itself.
11078         (insertErrors): move iterator declaration out of for expression
11079
11080         * lyxtextclass.C: add <algorithm>
11081
11082         * Makefile.am: added the new files to sources, removed layout.C
11083
11084         * layout.C: removed file
11085
11086         * layout.h: remove LYX_DUMMY_LAYOUT
11087
11088         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11089         layout.
11090
11091         * lyxlayout.[Ch]:
11092         * lyxtextclass.[Ch]:
11093         * lyxtextclasslist.[Ch]: new files
11094
11095         * include order changes to a lot of files, also changes because of
11096         the six new files.
11097
11098 2001-12-27  Juergen Vigna  <jug@sad.it>
11099
11100         * buffer.C (asciiParagraph): more fixes.
11101
11102         * tabular.C (ascii): make ascii export support export of only the
11103         data separated by a column-delimiter.
11104         (ascii): better support for ascii export.
11105
11106         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11107
11108 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11109
11110         * tabular_funcs.C: use a "using std::getline" instead of the
11111         previous fix from Angus (necessary for cxx + lyxstring)
11112
11113 2001-12-24  Juergen Vigna  <jug@sad.it>
11114
11115         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11116
11117         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11118         problems. First check a minipage also if we have some ert-contents
11119         (not only on par->size(), second set the right depth of the paragraph
11120         on the relink to the root-paragraph-list!
11121
11122         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11123         which then did not anymore update the main paragraphs on undo/redo!
11124
11125 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11126
11127         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11128         code. Support all font-changing funcs (even those which are not in
11129         menu currently). Support for reporting font settings in
11130         mathed (disabled until Andre provides a function on mathed's side).
11131
11132         * func_status.h (toggle): small helper function to set toggle
11133         state on a flag.
11134
11135 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11136
11137         * tabular_funcs.C: getline -> std::getline
11138
11139 2001-12-21  Juergen Vigna  <jug@sad.it>
11140
11141         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11142         accessed and could be 0 (I couldn't generate this but it seems
11143         Michael could!).
11144
11145 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11146
11147         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11148         * tabular_funcs.h: here and include iosfwd
11149
11150 2001-12-20  Juergen Vigna  <jug@sad.it>
11151
11152         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11153         inside inset but undo_par was.
11154
11155 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11156
11157         * Thesaurus.C: always include <config.h> in sources.
11158
11159         * Painter.h:
11160         * lyxlookup.h:
11161         * box.h: do not include <config.h> in header files
11162
11163         * text.C (paintLastRow): remove unused variable
11164
11165         * text.C (transformChar):
11166         (insertChar):
11167         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11168
11169         * Painter.C (text):
11170         * font.C (width): rewrite to use uppercase() instead of
11171         islower/toupper.
11172
11173         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11174
11175 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * lyxfind.C: clean up of find failure position change
11178
11179 2001-12-20  Juergen Vigna  <jug@sad.it>
11180
11181         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11182
11183         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11184         (TeXRow): added to LaTeX a single tabular row.
11185         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11186         (Latex): simplified and finally good LT-h/f support.
11187         (various_functions): just small adaptions for LT-h/f support.
11188
11189         * tabular_funcs.[hC]: added and moved here all not classfunctions
11190         of LyXTabular.
11191
11192 2001-12-19  Juergen Vigna  <jug@sad.it>
11193
11194         * tabular.[Ch]: better support for longtabular options (not finished
11195         yet!)
11196
11197 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * text.C (paintLastRow): use the label font instead of the font of
11200         the last character to compute the size of *_BOX. This makes more
11201         sense and avoids a crash with empty paragraphs.
11202         Use Painter::rectangle to draw EMPTY_BOX.
11203
11204 2001-12-19  Juergen Vigna  <jug@sad.it>
11205
11206         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11207         the paragraphs if the replaced paragraph is not the first one!
11208         Tried to delete not used paragraphs but does not work yet so for
11209         now it's inside #ifdef's and by default off!
11210
11211 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * MenuBackend.C: include "lyx_main.h" instead of declaring
11214         lastfiles (actually was declared as LastFiles* instead of a
11215         scoped_ptr).
11216
11217 2001-12-17  Juergen Vigna  <jug@sad.it>
11218
11219         * tabular.C (AppendColumn): applied John's fix
11220
11221 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11222
11223         * BufferView.h:
11224         * BufferView.C:
11225         * BufferView_pimpl.h:
11226         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11227
11228         * Makefile.am:
11229         * box.h: new start of class for above
11230
11231         * lyxfunc.C: ignore space-only minibuffer dispatches.
11232           Show the command name when it doesn't exist
11233
11234         * minibuffer.C: don't add empty lines to the history
11235
11236         * minibuffer.C: add a space on dropdown completion
11237
11238 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * text.C: fix line above/below drawing in insets
11241
11242 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11243
11244         * lyxlength.C (LyXLength): Initialize private variables.
11245
11246 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11247
11248         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11249         when inserting error insets.
11250
11251 2001-12-13  Juergen Vigna  <jug@sad.it>
11252
11253         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11254         actually sometimes the before-paragraph.
11255         (setUndo): don't clear the redostack if we're not actually undoing!
11256
11257 2001-12-06  Juergen Vigna  <jug@sad.it>
11258
11259         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11260         and fixed redoing of main paragraph, so we can use it now ;)
11261
11262         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11263
11264 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11267         Juergen's request
11268
11269 2001-12-13  André Pönitz <poenitz@gmx.net>
11270
11271         * undostack.[Ch]:
11272         * undo_func.C: minor cleanup
11273
11274 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11275
11276         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11277         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11278         font in urw-fonts package which is marked as -urw-fontspecific and
11279         does not work (incidentally, changing the encoding in the
11280         fonts.dir of this package to -adobe-fontspecific fixes the
11281         problem).
11282
11283         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11284         is a crash when undoing first paragraph (Juergen, please take a
11285         look). THis does not mean the undo fix is wrong, just that it
11286         uncovers problems.
11287
11288         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11289         the (Paragraph*) version when needed instead of duplicating the
11290         code.
11291
11292         * text.C (workWidth): use Inset::parOwner to find out where the
11293         inset has been inserted. This is a huge performance gain for large
11294         documents with lots of insets. If Inset::parOwner is not set, fall
11295         back on the brute force method
11296
11297         * paragraph_pimpl.C (insertInset):
11298         * paragraph.C (Paragraph):
11299         (cutIntoMinibuffer): set parOwner of insets when
11300         inserting/removing them
11301
11302         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11303
11304 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11305
11306         * commandtags.h:
11307         * LyXAction.C:
11308         * lyx_main.C:
11309         * lyxfunc.C:
11310         * mathed/formulabase.C:
11311         * mathed/math_cursor.[Ch]:
11312         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11313
11314
11315 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * lyxlength.[Ch] (operator!=): new function
11318
11319 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * text.C (workWidth): use Inset::parOwner to find out where the
11322         inset has been inserted. This is a huge performance gain for large
11323         documents with lots of insets. If Inset::parOwner is not set, fall
11324         back on the brute force method
11325
11326         * paragraph_pimpl.C (insertInset):
11327         * paragraph.C (Paragraph):
11328         (cutIntoMinibuffer): set parOwner of insets when
11329         inserting/removing them
11330
11331         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11332
11333 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11334
11335         * tabular-old.C (getTokenValue):
11336         * tabular.C (getTokenValue):
11337         (write_attribute): new versions for LyXLength
11338         (everywhere): adjust the use of widths
11339
11340         * tabular.h: change the type of widths from string to LyXLength
11341
11342 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11343
11344         * paragraph.C: fixed missing line number count when exporting
11345         Environments to LaTeX file
11346
11347         * buffer.C: added informational message for checking line numbers.
11348
11349 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11352         paragraph, do the 'double space' part, but not the 'empty
11353         paragraph' one.
11354
11355         * text.C (workWidth): small optimization
11356         (getLengthMarkerHeight): use minimal size for negative lengths.
11357
11358 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11359
11360         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11361
11362         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11363
11364 2001-12-11  André Pönitz <poenitz@gmx.net>
11365
11366         * FontLoader.C:
11367         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11368
11369 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * text2.C: keep selection on a setFont()
11372
11373 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * lyx_cb.C: another bv->text misuse, from insert label
11376
11377 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * kbsequence.h:
11380         * kbsequence.C: re-instate nmodifier mask
11381
11382 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11383
11384         * lyx_main.h: make lyxGUI private.
11385
11386 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * lyxfind.C: place the cursor correctly on failed search
11389
11390 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11391
11392         * text.C (getLengthMarkerHeight): for small heights, the arrows
11393         are not always on top/bottom of the text
11394         (drawLengthMarker): smaller arrows; take the left margin in
11395         account; draw also vfills.
11396         (paintFirstRow):
11397         (paintLastRow): remove special code for vfill and standard spaces,
11398         since everything is handled in drawLengthMarker now.
11399
11400 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11401
11402         * buffer.C (insertErtContents): try to handle font and language
11403         interaction a bit better.g
11404
11405         * ColorHandler.C (updateColor): change the hash to cover the whole
11406         LColor enum, ws cleanup
11407         (getGCLinepars): ditto
11408         (getGCLinepars): only lookup in the linecache once.
11409
11410 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11411
11412         * iterators.C (operator++): Make the iterator more robust
11413
11414         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11415         (John's patch)
11416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11417
11418 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * lyxtext.h:
11421         * text.C: better added space drawing
11422
11423 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * LyXView.C:
11426         * BufferView2.C: fix layout combo update on inset unlock
11427
11428 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * Makefile.am: don't compile unused files
11431
11432 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * lyxfunc.C:
11435         * commandtags.h:
11436         * LyXAction.C: remove old LFUN_LAYOUTNO
11437
11438 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * paragraph_pimpl.h:
11441         * paragraph_pimpl.C: isTextAt() doesn't need font param
11442
11443 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11444
11445         * lyxlex.h:
11446         * lyxlex.C: little cleanup
11447
11448 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * BufferView_pimpl.C: fix insertAscii for insets
11451
11452 2001-12-05  Juergen Vigna  <jug@sad.it>
11453
11454         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11455         set the right font on the "multi" paragraph paste!
11456
11457 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * trans_decl.h:
11460         * trans_mgr.[Ch]:
11461         * trans.[Ch]:
11462         * lyxgluelength.C:
11463         * lyxlength.C: remove out-commented code.
11464
11465         * BufferView_pimpl:
11466         * CutAndPaste.C:
11467         * DepTable.C:
11468         * buffer.C:
11469         * chset.C:
11470         * lastfiles.C:
11471         * lyxlex.C:
11472         * lyxlex_pimpl.C:
11473         * lyxserver.C:
11474         * screen.C:
11475         * tabular-old.C:
11476         * tabular.C:
11477         * text.C:
11478         * trans_mgr.C:
11479         * vc-backend.C: change "while(" to "while ("
11480
11481         * lyxlength.[Ch]: add zero function to check if length is zero or
11482         not
11483         * lyxgluelength.C: use it
11484
11485 2001-12-05  Allan Rae  <rae@lyx.org>
11486
11487         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11488         Works for 2.95.3, from what I understand of Garst's reports this should
11489         work for other g++ versions.  We're screwed if the abs(int) definition
11490         changed between bugfix releases of gcc.
11491
11492 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * text.C: fix chapter label offset !
11495
11496 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxtext.h:
11499         * text.C: fix hfill at end of line, clean up
11500
11501 2001-12-04  Juergen Vigna  <jug@sad.it>
11502
11503         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11504         that we force an update of the inset and it's owners if neccessary.
11505
11506 2001-12-03  Juergen Vigna  <jug@sad.it>
11507
11508         * text.C (rowLast): simplified code
11509
11510 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * lyxfunc.C: fix show options on timeout
11513
11514 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * screen.C (topCursorVisible): scroll half a page when the cursor
11517         reached top of bottom of screen
11518
11519 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * minibuffer.C: deactivate on loss of focus
11522
11523 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * vspace.[Ch] (operator!=): add operator.
11526
11527 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11528
11529         * BufferView_pimpl.C: refuse to open an inset when
11530         there's a selection.
11531
11532 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * BufferView_pimpl.C: allow to click on RHS of full row insets
11535
11536 2001-11-30  Juergen Vigna  <jug@sad.it>
11537
11538         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11539         insets for undo reasons.
11540
11541 2001-11-28  André Pönitz <poenitz@gmx.net>
11542
11543         * vspace.[Ch]: cosmetical changes
11544
11545 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * LyXAction.h:
11548         * LyXAction.C:
11549         * lyxfunc.h:
11550         * lyxfunc.C:
11551         * kbmap.h:
11552         * kbmap.C:
11553         * lyxrc.C:
11554         * kbsequence.h:
11555         * kbsequence.C: part re-write of old kb code
11556
11557         * Painter.C:
11558         * WorkArea.C: remove Lgb_bug_find_hack
11559
11560 2001-11-30  José Matos <jamatos@fep.up.pt>
11561
11562         * buffer.C (makeDocBookFile): add a comment to point a hack.
11563         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11564         Fixed a double write of labels.
11565
11566 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11567
11568         * LaTeX.C:
11569         * LaTeX.h Fixed bug in LaTeX class where it would not
11570         re-run latex if no depfiles were changed, but the .dvi was removed.
11571
11572 2001-11-28  André Pönitz <poenitz@gmx.net>
11573
11574         * all the files from the change on 2001/11/26:
11575         use lyx::layout_type instead of LyXTextClass::size_type
11576         use lyx::textclass_type instead of LyXTextClassList::size_type
11577
11578 2001-11-29  Juergen Vigna  <jug@sad.it>
11579
11580         * text.C: added support for paragraph::isFreeSpacing()
11581
11582         * buffer.C: same as above
11583
11584         * paragraph.h: inserted isFreeSpacing() function to enable
11585         FreeSpacing inside InsetERT.
11586
11587         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11588         of the paragraph's in the cut/copy buffer to 0!
11589
11590         * text2.C (removeRow): remove the assert as it can!
11591
11592         * lyxtext.h: added helper function firstRow returning firstrow and
11593         made firstrow private again.
11594
11595         * BufferView2.C (lockInset): don't relock if we're already locked!
11596
11597         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11598         the only paragraph.
11599         (removeRow): added Assert::(firstrow)
11600
11601         * debug.C: forgot to add INSETTEXT here.
11602
11603 2001-11-28  Juergen Vigna  <jug@sad.it>
11604
11605         * sp_spell.C (initialize): changed error text to more general
11606         spellchecker command use (not only ispell!)
11607
11608         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11609
11610         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11611
11612 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * vspace.C: initialise lyxgluelength on failure
11615
11616 2001-11-28  Allan Rae  <rae@lyx.org>
11617
11618         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11619         declaration & definition that looks like a function declaration.
11620
11621 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11622
11623         * BufferView2.C (copy):
11624         (copyEnvironment): do not clear the selection when doing a copy.
11625
11626         * text.C (paintFirstRow): compilation fix
11627
11628 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11629
11630         * tabular.C (Latex): correct line count when writing latex.
11631
11632 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11633
11634         * paragraph_pimpl.h:
11635         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11636           bug a bit
11637
11638 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * text.C:
11641         * LColor.h:
11642         * LColor.C: change vfillline->added_space
11643
11644         * text.C: add markers and text for added space
11645
11646         * vspace.C: fix comment
11647
11648 2001-11-28  André Pönitz <poenitz@gmx.net>
11649
11650         * paragraph.C: whitespace changes
11651         * all the other files from the change on 2001/11/26:
11652         change *::pos_type into lyx::pos_type
11653
11654 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11657         language of the document when inserting error insets.
11658
11659 2001-11-26  André Pönitz <poenitz@gmx.net>
11660
11661         * BufferView_pimpl.[Ch]:
11662         *       CutAndPaste.C:
11663         * buffer.[Ch]:
11664         * lyxcursor.[Ch]:
11665         * lyxfind.C:
11666         * lyxfunc.C:
11667         * lyxrow.[Ch]:
11668         * paragraph.[Ch]:
11669         * paragraph_pimpl.[Ch]:
11670         * sp_spell.C:
11671         * text.C:
11672         * text2.C: reduce header dependencies, introduce type for positions
11673
11674 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11675
11676         * <various>: change to use Alert.h
11677
11678 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11679
11680         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11681         when encountering an unknown token.
11682         (readLyXformat2): Show an error message if there were unknown tokens.
11683
11684 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * BufferView2.C:
11687         * BufferView_pimpl.C:
11688         * buffer.C:
11689         * paragraph.h:
11690         * text.C:
11691         * text2.C: use par->isInset()
11692
11693 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11694
11695         * paragraph_pimpl.h:
11696         * paragraph_pimpl.C: cleanup
11697
11698 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11699
11700         * text2.C (removeRow):
11701         * text.C (setHeightOfRow): remove useless (and costly) call to
11702         getRow.
11703
11704 2001-11-20  Allan Rae  <rae@lyx.org>
11705
11706         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11707         Now need Inset*::checkInsertChar() to return true for appropriate
11708         cases so that the characters in the minibuffer will actually be
11709         inserted.
11710
11711 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * text.C: change the order of the includes.
11714         (workWidth): initialize it at once.
11715         (workWidth): make maxw unsigned
11716         (setHeightOfRow): remove unused variable (inset)
11717         (selectSelectedWord): remove unused variable (inset)
11718         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11719
11720 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11721
11722         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11723         server is not running.
11724         (openConnection):
11725         (closeConnection): add debug info when server is disabled.
11726
11727         * ColorHandler.C (getGCForeground): send debug message to GUI
11728         channel.
11729
11730         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11731
11732         * kbmap.C (bind): modify because return conventions of
11733         kb_sequence::parse have changed.
11734
11735         * kbsequence.C (parse): only ignore spaces and not any stupid
11736         control character. This avoids tests like s[i] <= ' ', which are
11737         guaranteed to fail with 8bit characters and signed chars.
11738         Change return code to string::npos when there have been no error
11739         (0 was a bad idea when error is at first character)
11740
11741 2001-11-14  José Matos  <jamatos@fep.up.pt>
11742
11743         * buffer.h:
11744         * buffer.C (simpleDocBookOnePar): removed unused argument.
11745
11746 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11747
11748         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11749         insets which are part of a word. Paragraph::isLetter takes care of
11750         that now. Use Paragraph::isInset to identify insets.
11751         (selectSelectedWord): do not test for hyphenation break.
11752
11753         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11754         that protected spaces are considered as spaces.
11755
11756         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11757         Inset::isLetter.
11758
11759 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * lyxserver.h:
11762         * lyxserver.C: fix it. and small cleanup.
11763
11764 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * BufferView_pimpl.C: use inline helpers
11767
11768         * LaTeXFeatures.h:
11769         * LaTeXFeatures.C: fix typos
11770
11771         * Spacing.h:
11772         * Spacing.C: move spacing_string into class
11773
11774         * ToolbarDefaults.C: move stuff into namespace anon
11775
11776         * layout.h: update enum
11777
11778         * lyxfunc.C: use better debug
11779
11780         * minibuffer.h: fix typo
11781
11782         * debug.h:
11783         * debug.C:
11784         * WorkArea.C: add and use Debug::WORKAREA
11785
11786         * lyxtext.h:
11787         * text.C:
11788         * text2.C: code re-organisation, inline helpers
11789
11790 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11791
11792         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11793         std::vector.empty().
11794
11795 2001-11-09  Allan Rae  <rae@lyx.org>
11796
11797         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11798         '\n's after tables.  Tabular and ERT inset work now makes this no
11799         longer necessary.
11800
11801 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * minibuffer.h:
11804         * minibuffer.C: fix crash, improve drop-down completion
11805
11806 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * lyxserver.h:
11809         * lyxserver.C: invalidate fd's when doing endPipe()
11810
11811 2001-11-08  José Matos  <jamatos@fep.up.pt>
11812
11813         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11814         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11815
11816         * paragraph.h:
11817         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11818
11819 2001-11-07  José Matos  <jamatos@fep.up.pt>
11820
11821         * buffer.h:
11822         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11823         const qualifier.
11824
11825         * buffer.C (sgmlOpenTag):
11826         * buffer.C (sgmlCloseTag): removed debug info.
11827
11828         * buffer.h (sgmlOpenTag):
11829         * buffer.h (sgmlCloseTag): made public.
11830
11831 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11832
11833         * buffer.C (saveParamsAsDefaults):
11834         * lyx_cb.C (MenuLayoutSave): remove
11835
11836         * LyXAction.C (init):
11837         * commandtags.h:
11838         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11839
11840 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11841
11842         * buffer.C (setPaperStuff): removed from here...
11843
11844         * bufferparams.C (setPaperStuff): ... and moved there.
11845
11846 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * minibuffer.h:
11849         * minibuffer.C:
11850         * XFormsView.C: add support for drop-down completion
11851
11852 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11853
11854         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11855         commands.
11856
11857 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11858
11859         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11860         disabled.
11861
11862 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * lyx_main.C: change ref to known bugs
11865
11866 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11867
11868         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11869         to work around older babel problems.
11870
11871 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11872
11873         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11874
11875 2001-10-24  Juergen Vigna  <jug@sad.it>
11876
11877         * tabular-old.C (ReadOld): below variable changes reflected.
11878
11879         * tabular.[Ch]: added ltType struct for longtable header/footer
11880         defines and changed all instances where they are used. Added
11881         future support for double top/bottom rows.
11882
11883 2001-10-24  José Matos  <jamatos@fep.up.pt>
11884
11885         * buffer.h (docbookHandleCaption):
11886         * buffer.C (docbookHandleCaption): removed unused function.
11887         (makeDocBookFile): moved docbook supported version to v4.1.
11888
11889 2001-10-24  José Matos  <jamatos@fep.up.pt>
11890
11891         * tabular.h:
11892         * tabular.C (docbookRow): new function to export docbook code of a row.
11893         (DocBook): now honors the longtable flags.
11894
11895 2001-10-23  José Matos  <jamatos@fep.up.pt>
11896
11897         * LaTeXFeatures.h:
11898         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11899         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11900
11901         * buffer.C (makeLinuxDocFile):
11902         (makeDocBookFile): reworked the preamble, more clean, and with
11903         support for lyx defined entities. Changed the document declaration
11904         to be more XML friendly.
11905
11906         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11907         if we need to output XML that should be done with a filter.
11908
11909 2001-10-22  Juergen Vigna  <jug@sad.it>
11910
11911         * sp_pspell.h (class PSpell): add alive function needed in the
11912         controller to see if the spellchecker could be started.
11913
11914 2001-10-22  Juergen Vigna  <jug@sad.it>
11915
11916         * buffer.C (insertStringAsLines): modify the font for inserting
11917         chars in certain conditions by calling checkInsertChar(font).
11918
11919 2001-10-19  Juergen Vigna  <jug@sad.it>
11920
11921         * text.C (workWidth): use getRow instead of wrong algorithm.
11922         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11923
11924 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * lyxserver.h:
11927         * lyxserver.C:
11928         * lyx_main.h:
11929         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11930
11931 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11932
11933         * text.C (workWidth): do not search for the exact row when
11934         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11935         optimization for big documents.
11936
11937 2001-10-18  Juergen Vigna  <jug@sad.it>
11938
11939         * text.C (workWidth): new function with added Inset * parameter.
11940
11941 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11942
11943         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11944
11945         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11946         change return type of getColumnNearX.
11947
11948
11949         * text.C (changeRegionCase): use uppercase/lowercase instead of
11950         toupper/tolower.
11951         (leftMargin):
11952         (rightMargin): simplify code by factoring out the uses of
11953         textclasslist.
11954         (labelFill):
11955         (numberOfHfills):
11956         (setHeightOfRow):
11957         (appendParagraph): use Paragraph::size_type
11958
11959 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11960
11961         * vspace.C (asLatexString): add a missing break
11962
11963 2001-10-15  Herbert Voss  <voss@perce.de>
11964
11965         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11966
11967 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11968
11969         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11970         is not available.
11971
11972 2001-10-10  André Pönitz <poenitz@gmx.net>
11973
11974         * lyxfunc.C: removed greek_kb_flag.
11975
11976 2001-10-10  Herbert Voss  <voss@perce.de>
11977
11978         * lyx_main.C: delete global string help_lyxdir.
11979
11980 2001-10-09  Herbert Voss  <voss@perce.de>
11981
11982         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11983
11984         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11985
11986         * lyx_main.C: added global string help_lyxdir.
11987
11988         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11989
11990 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11991
11992         * lyxrc.C (set_font_norm_type): support iso8859-4
11993
11994 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11995
11996         * LaTeX.C (deplog): add another regex for MikTeX
11997
11998 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11999
12000         * lyxrc.C (set_font_norm_type): support iso8859-3
12001
12002 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12003
12004         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12005
12006         * LaTeXFeatures.C: remove special case of french and index
12007
12008         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12009         before \begin{document}). This solves several incompatibilities.
12010
12011 2001-10-03  Garst Reese  <reese@isn.net>
12012
12013         * lyx_cb.C: change CheckTex error msg.
12014
12015 2001-10-03  José Matos  <jamatos@fep.up.pt>
12016
12017         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12018
12019 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12020
12021         * .cvsignore: update
12022
12023         * lyx_main.C (commandLineVersionInfo): use new style version info.
12024
12025         * buffer.C (writeFile):
12026         (makeLaTeXFile):
12027         (makeLinuxDocFile):
12028         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12029
12030         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12031
12032         * version.h: update to use stuff in version.C
12033
12034         * version.C.in: new file. Contains version information determined
12035         at compile time. This is a merging of version.h and
12036         version_info.h.in.
12037
12038 2001-10-03  Juergen Vigna  <jug@sad.it>
12039
12040         * BufferView_pimpl.C (update): don't change "dirty" status in
12041         updateInset call.
12042
12043 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12044
12045         * WorkArea.C (c-tor): re-position version string slightly.
12046
12047 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12048
12049         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12050         revert to previous code.
12051
12052         WorkArea.[Ch]: (show, destroySplash): methods removed.
12053
12054         WorkArea.C: rework code so that it's an amalgam of the codes before and
12055         after the splash screen was moved to WorkArea.
12056
12057 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12058
12059         * lyxrc.C (read):
12060         * vspace.C (inPixels):
12061         (lyx_advance):
12062         * kbmap.C (bind):
12063         * buffer.C (insertStringAsLines):
12064         (asciiParagraph): fix types to be large enough
12065
12066         * lyxlex_pimpl.h: change member status from short to int
12067
12068         * layout.h: fix type of endlabeltype
12069
12070         * kbmap.C (bind):
12071         * kbsequence.C (parse): change return type to string::size_type
12072
12073         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12074         variable
12075
12076         * Bullet.C (bulletSize):
12077         (bulletEntry): do not use short ints as parameters
12078
12079         * BufferView2.C (insertLyXFile): change a char to an int.
12080
12081         * WorkArea.C (WorkArea): remove unneeded floats in computation
12082
12083 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12084
12085         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12086
12087         * paragraph.C (asString): Do not ignore newline/hfill chars when
12088         copying to the clipboard.
12089
12090 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12093         after a multi-line inset.
12094
12095 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12096
12097         * paragraph.C (validate): Set NeedLyXFootnoteCode
12098
12099 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12100
12101         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12102         and decrease-error to decrease.
12103
12104 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12105
12106         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12107         it more readable (should be equivalent)
12108
12109 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12110
12111         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12112
12113 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12114
12115         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12116         of a cursor (row, etc.) after a character has been deleted
12117         (deleteEmptyParagraphMechanism): call the method above on _all_
12118         cursors held by the LyXText when a double space has been
12119         detected/deleted.
12120
12121 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12124         pixmap.
12125         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12126
12127         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12128         background. Use greyOut() and the new show() methods to toggle between
12129         the foreground and background. Add code to remove the splash after
12130         its initial showing.
12131
12132         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12133         (create_forms): no longer call Dialogs::showSplash.
12134
12135 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12136
12137         * .cvsignore: add version_info.h
12138
12139 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12140
12141         * version_info.h.in: new file
12142
12143         * Makefile.am: add version_info.h.in
12144
12145         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12146         version_info.h instead of VERSION_INFO
12147
12148 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12149
12150         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12151         The ERT inset now returns string().
12152
12153 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12154
12155         * lyxtext.h, text.C (selectNextWord): renamed as
12156         selectNextWordToSpellcheck.
12157
12158         * text.C (selectNextWordToSpellcheck): Modified to not select
12159         words inside an ERT inset.
12160
12161 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12162
12163         * lyx_cb.C (MenuLayoutSave): change a bit the question
12164
12165         * sp_base.h: include <sys/types.h>
12166
12167 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12168
12169         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12170
12171 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12172
12173         * several files: fix typos in user-visible strings
12174
12175 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12176
12177         * text2.C (pasteSelection): do not set the selection, since it
12178         will be cleared later. Actually, the intent was to fix the way the
12179         selection was set, but I figured rmoving the code was just as good.
12180
12181 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12182
12183         * FontLoader.C (available): Check if font is available without
12184         loading the font.
12185
12186 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12187
12188         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12189
12190 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12191
12192         * lyxrc.[Ch]: added display_graphics variable and associated code.
12193
12194 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12195
12196         * bufferparams.C (hasClassDefaults): new method. Returns true if
12197         the buffer parameters correspond to known class defaults
12198
12199 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12200
12201         * XFormsView.C (show): set minimum size to the main window.
12202
12203 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12204
12205         * text2.C (copySelection):
12206         (cutSelection):
12207         * lyxfind.C (LyXReplace):
12208         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12209         LyXText::selectionAsString.
12210
12211         * paragraph.C (asString): add "label" argument to the second form
12212
12213         * text2.C (selectionAsString): add "label" argument and pass it to
12214         Paragraph::asString.
12215
12216 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12217
12218         * lyx_main.C (commandLineHelp): remove version information
12219
12220 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12221
12222         * lyx_main.C: add -version commandline option
12223
12224 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * paragraph.h: make the optional constructor arg required instead.
12227         some modifications to other files because of this.
12228
12229         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12230
12231         * lyxserver.C (C_LyXComm_callback): make it static
12232
12233         * lyx_main.C (error_handler): make it static
12234
12235         * lyx_gui.C (LyX_XErrHandler): make it static
12236
12237         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12238
12239         * WorkArea.C: make the extern "C" methods static.
12240
12241         * Makefile.am (lyx_LDADD): simplify
12242
12243 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12244
12245         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12246         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12247
12248         * LyXAction.C (init):
12249         * lyxfunc.C (dispatch): associated code removal.
12250
12251 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * lyxfont.h (isSymbolFont): shut off warning
12254
12255         * text.C (setHeightOfRow):
12256         (getVisibleRow): fix crash with empty paragraphs which have a
12257         bottom line
12258
12259 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12260
12261         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12262         code.
12263
12264 2001-09-04  José Matos  <jamatos@fep.up.pt>
12265         * buffer.C
12266         * buffer.h
12267         * tabular.C (docbook): rename docBook method to docbook.
12268
12269 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12270
12271         * Makefile.am: add dependencies to main.o.
12272
12273 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12274
12275         * FontLoader.C (available): Return false if !lyxrc.use_gui
12276
12277 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12278
12279         * FontInfo.C (query):
12280         * converter.C (view):
12281         * importer.C (Import):
12282         * exporter.C (Export): Can not -> cannot.
12283
12284 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * BufferView_pimpl.C: allow to create index inset even if
12287           string is empty
12288
12289 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12290
12291         * buffer.C (getLists): replace boost::tie code with an explicit pair
12292         as boost::tie can break some compilers.
12293
12294         * iterators.h: Added a std:: declaration to the return type of
12295         ParIterator::size.
12296
12297 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12300           case.
12301
12302 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12303
12304         * iterators.[Ch]: New files. Provide paragraph iterators.
12305
12306         * buffer.C (changeLanguage): Use paragraph iterators.
12307         (isMultiLingual): ditto
12308
12309         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12310
12311 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12312
12313         * FontLoader.C: Support for cmr font.
12314
12315 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12316
12317         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12318         (available): New method.
12319
12320         * FontInfo.C (getFontname): Use scalable fonts even when
12321         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12322         found.
12323
12324 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12325
12326         * converter.C (Formats::view): reverted! Incorrect fix.
12327
12328 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12329
12330         * converter.C (Formats::view): only output the -paper option
12331         if the dvi viewer is xdvi, thereby fixing bug #233429.
12332
12333 2001-08-23  Herbert Voss  <voss@perce>
12334
12335         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12336
12337 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12338
12339         * Spacing.h (Spacing): Set space to Default on in the default
12340         constructor.
12341
12342 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12343
12344         * vc-backend.h (RCS::versionString): add RCS to version
12345         (CVS::versionString): add CVS to version
12346
12347         * vc-backend.C (scanMaster): do not add CVS to version.
12348         (scanMaster): do not add RCS to version
12349
12350         * lyxvc.C (versionString): new method
12351
12352         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12353
12354 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * Spacing.C (set): initialize fval
12357
12358 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12359
12360         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12361         " or \.
12362
12363 2001-08-16  Juergen Vigna  <jug@sad.it>
12364
12365         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12366
12367 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * BufferView_pimpl.C:
12370         * figureForm.C:
12371         * lyxtext.h:
12372         * text2.C: setParagraph takes linespacing now
12373
12374 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12375
12376         * LyxAction.C: add internal LFUN_CITATION_INSERT
12377
12378         * LyXView.C: actually apply fix
12379
12380         * bufferlist.C: fix open non-existent file
12381
12382         * lyxfind.C: fix indentation
12383
12384         * lyxfunc.C: remove unneeded assert, fix typo
12385
12386 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * MenuBackend.C: use "Floatname List"
12389
12390 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12391
12392         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12393         when converting LaTeX layout to insetERT.
12394         Generate a non-collapsed float when reading old float
12395
12396 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12397
12398         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12399         ERT insets.
12400
12401 2001-08-13  Juergen Vigna  <jug@sad.it>
12402
12403         * text.C (fill): return 0 instead of 20 as this seems to be the more
12404         correct value.
12405
12406 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12407
12408         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12409         lyxrc.font_norm.
12410
12411 2001-08-13  Juergen Vigna  <jug@sad.it>
12412
12413         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12414         casesensitive off.
12415         (SearchBackward): comment out the unlocking of the inset_owner this
12416         should not be needed!
12417
12418 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12419
12420         * Many files: Remove inherit_language, and add latex_language
12421
12422         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12423         collapsible insets.
12424
12425 2001-08-10  Juergen Vigna  <jug@sad.it>
12426
12427         * text.C (prepareToPrint): fixed hfill-width in draw!
12428
12429         * BufferView2.C (selectLastWord): save the selection cursor as this
12430         now is cleared in the function LyXText::clearSelection!
12431
12432 2001-08-08  Juergen Vigna  <jug@sad.it>
12433
12434         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12435         BACKSPACE type functions.
12436
12437         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12438         is only cutted from the document but not put in the cut-buffer, where
12439         still the old stuff should be.
12440
12441         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12442
12443         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12444
12445         * tabular.C (SetWidthOfCell): fixed special case where the width
12446         was not updated!
12447         (LeftLine): handle '|' in align_special.
12448         (RightLine): ditto
12449         (LeftAlreadyDrawed): ditto
12450         (SetWidthOfCell): ditto
12451
12452 2001-08-07  Juergen Vigna  <jug@sad.it>
12453
12454         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12455
12456 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12459         * lyxlex.[hC]: ditto
12460
12461 2001-08-06  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C (getVisibleRow): fix up row clearing a bit.
12464
12465 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12466
12467         * minibuffer.C: make sure the X server sees the changes in the input.
12468
12469 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12470
12471         * paragraph.C (getFont): split into...
12472         (getLabelFont): this
12473         (getLayoutFont): and this
12474         * paragraph_pimpl.C (realizeFont): calling this
12475
12476         * text2.C (getFont): split into...
12477         (getLayoutFont): this
12478         (getLabelFont): and this
12479         (realizeFont): all three calling this
12480
12481         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12482         files where used.
12483
12484 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12485
12486         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12487
12488 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12489
12490         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12491         layouts from the Quote inset insertion.
12492
12493 2001-08-03  Juergen Vigna  <jug@sad.it>
12494
12495         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12496
12497         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12498         only if status not is already CHANGED_IN_DRAW (second level).
12499
12500         * text.C (draw): don't set the need_break_row when inside an
12501         InsetText LyXText.
12502
12503 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * buffer.C (parseSingleLyXformat2Token): handle more latex
12506         conversion cases.
12507
12508         * bufferview_funcs.[hC]: change function names to
12509         begin with small char, adjust other files.
12510
12511 2001-08-02  André Pönitz <poenitz@gmx.net>
12512
12513         * lyxfunc.C:
12514         BufferView_pimpl.C: remove broken special code for math-greek
12515
12516 2001-08-02  Juergen Vigna  <jug@sad.it>
12517
12518         * BufferView_pimpl.C (update): redone this function so that we
12519         update the text again if there was a CHANGE_IN_DRAW.
12520
12521         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12522         (drawFromTo): added a new internal bool which is used by draw() and
12523         redraw() function.
12524         (general): some cursor drawing problems fixed.
12525
12526 2001-08-01  Juergen Vigna  <jug@sad.it>
12527
12528         * lyxfind.C (LyXFind): fixed
12529         (SearchForward): ditto
12530         (SearchBackward): ditto
12531
12532         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12533         spurius drawing of the cursor in the main area.
12534
12535         * text2.C (status): small fix which could lead to a segfault!
12536         (clearSelection): remove unneeded BufferView param.
12537
12538 2001-08-01  André Pönitz <poenitz@gmx.net>
12539
12540         * lyxfunc.C: small change due to changed mathed interface
12541
12542 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12545
12546 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12547
12548         * lyxfunc.c: fail gracefully if file doesn't exist
12549
12550         * LyXSendto.C:
12551         * buffer.C:
12552         * lyxfunc.C:
12553         * BufferView_pimpl.C: IsDirWriteable() proto changed
12554
12555         * LyXView.C: fix updateWindowTitle() to store the last title
12556
12557 2001-07-31  Juergen Vigna  <jug@sad.it>
12558
12559         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12560         the font (wrong since using of Paragraph::highestFontInRange).
12561
12562         * paragraph.C (highestFontInRange): added a default_size parameter.
12563
12564         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12565         (setHeightOfRow): reformat
12566
12567 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * converter.[hC] + affected files: move to (inital-char)lowercase
12570         function names.
12571
12572         * ParagraphParameters.C (ParagraphParameters): remove commented code
12573
12574         * PainterBase.[Ch]: remove commented code
12575
12576         * LaTeXFeatures.h: add "bool floats" for float.sty
12577
12578         * LaTeXFeatures.C (LaTeXFeatures): init floats
12579         (require): handle float
12580         (getPackages): do it with floats
12581
12582 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12583
12584         * BufferView_pimpl.C (Dispatch): improve handling of
12585         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12586
12587         * commandtags.h: #include lyxfont.h here temporarily to avoid
12588         keybinding bug.
12589
12590         * bufferlist.h: include LString.h here.
12591
12592 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * text2.C (getStringToIndex): new method.
12595
12596 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12597
12598         * *: Reduced header file dependencies all over.
12599
12600 2001-07-30  Baruch Even  <baruch@lyx.org>
12601
12602         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12603
12604 2001-07-29  Baruch Even  <baruch@lyx.org>
12605
12606         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12607
12608 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * ParameterStruct.h (endif): add a default constructor to make
12611         sure that all variables is initialized.
12612
12613         * ParagraphParameters.C (ParagraphParameters): adjust
12614
12615 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12616
12617         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12618         index; also, check that there is something to index, and that it
12619         does not span over several paragraphs.
12620         (doubleClick): use WHOLE_WORD_STRICT for double click.
12621
12622         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12623
12624         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12625         scheme.
12626
12627 2001-07-26  Baruch Even  <baruch@lyx.org>
12628
12629         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12630         an InsetFig figure, backwards compatible reading of old figure code.
12631
12632 2001-07-27  Juergen Vigna  <jug@sad.it>
12633
12634         * text2.C: font.realize function adaption.
12635
12636         * text.C (draw): add a warnings lyxerr text if needed.
12637
12638         * layout.C: font.realize function adaption.
12639
12640         * language.C: add inherit_language and implement it's handlings
12641
12642         * bufferview_funcs.C (StyleReset): remove language parameter from
12643         font creation (should be language_inherit now).
12644
12645         * bufferparams.C (writeFile): handle ignore_language.
12646
12647         * paragraph.C (getFontSettings): the language has to be resolved
12648         otherwise we have problems in LyXFont!
12649
12650         * lyxfont.C (lyxWriteChanges): added document_language parameter
12651         (update): removed unneeded language parameter
12652
12653         * paragraph.C (validate): fixed wrong output of color-package when
12654         using interface colors for certain fonts in certain environments,
12655         which should not seen as that on the final output.
12656
12657 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * BufferView_pimpl.C:
12660         * Thesaurus.h:
12661         * Thesaurus.C:
12662         * Makefile.am:
12663         * commandtags.h:
12664         * LyXAction.C: add thesaurus support
12665
12666         * lyxfind.h:
12667         * lyxfind.C: add "once" parameter, for thesaurus, to not
12668           move to the next match
12669
12670 2001-07-26  Juergen Vigna  <jug@sad.it>
12671
12672         * lyxfont.C (realize): honor ignore_language too!
12673         (resolved): ditto.
12674
12675         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12676
12677         * text.C (draw): one place more for ignore_language to not draw
12678         itself!
12679
12680 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12681
12682         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12683
12684 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12687         the minipage conversion problem.
12688
12689 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12690
12691         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12692         insert an inset.
12693
12694 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * BufferView.h: don't forward declare WorkArea
12697
12698         * BufferView.C: don't include WorkArea.h
12699
12700 2001-07-25  André Pönitz <poenitz@gmx.net>
12701
12702         * commandtags.h:
12703         * LyXAction.C:
12704         * lyxfunc.C:  new LFUN 'math-space'
12705
12706         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12707
12708 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * text2.C (toggleInset): call open/close
12711
12712 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12713
12714         * lyxfunc.C (dispatch): add debug for the disabled case
12715
12716         * font.C (buttonText): make similar to rectText
12717
12718         * buffer.C (readInset): comment out parsing of insetlist and
12719         insttheorem
12720
12721         * PainterBase.C (rectText): small correction
12722
12723         * BufferView_pimpl.C: comment out insettheorem and insetlist
12724         * LyXAction.C: ditto
12725         * commandtags.h: ditto
12726
12727 2001-07-24  Juergen Vigna  <jug@sad.it>
12728
12729         * text.C (draw): honor the ignore_language.
12730
12731         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12732
12733 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12734
12735         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12736         char inset.
12737
12738 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12739
12740         * lyxtext.h: remove unused (and unimplemented) methods
12741
12742 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12743
12744         * text.C (getVisibleRow): honor background color
12745
12746         * PainterBase.h:
12747         * Painter.h: remove default color argument for fillRectangle
12748
12749         * text.C (backgroundColor): new method
12750
12751 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12752
12753         * text.C (getVisibleRow): adjust
12754
12755         * font.[Ch] (rectText): new method, metrics
12756         (buttonText): new method, metrics
12757
12758         * PainterBase.[hC]: make rectText and buttonText always draw and take
12759         fewer paramteres.
12760
12761 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12762
12763         * ToolbarDefaults.C (read):
12764         * MenuBackend.C (read): allow escaping in all strings
12765
12766         * BufferView_pimpl.C (insertAndEditInset): new method.
12767         (Dispatch): use insertAndEditInset whenever appropriate.
12768
12769         * BufferView_pimpl.C (insertNote): removed
12770
12771         * BufferView_pimpl.C (smartQuote): new method, moved from
12772         BufferView; if an insetquote cannot be inserted, insert a '"'
12773         character instead.
12774
12775         * BufferView2.C: remove insertCorrectQuote();
12776
12777         * lyxfunc.C (getStatus): Add support for all remaingin
12778         inset-insert lfuns.
12779
12780         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12781
12782         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12783         command (necessary to pass " as parameter of self-insert.
12784
12785         * text.C (selectWordWhenUnderCursor):
12786         (selectWord): add word_location parameter
12787         (selectWordWhenUnderCursor): same + remove special code for word
12788         boundary.
12789         (selectNextWord): use kind() to guess type of insetspecialchar,
12790         not latex().
12791
12792         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12793         (insertErtContents): create ert insets as collapsed.
12794         (readInset): better compatibility code for Info inset.
12795
12796 2001-07-20  Juergen Vigna  <jug@sad.it>
12797
12798         * lyxfunc.C (dispatch): use always LyXFind now!
12799
12800         * text2.C (init): add a reinit flag so that the LyXText can be
12801         reinited instead of deleted and reallocated (used in InsetText).
12802
12803         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12804
12805         * text.C: ditto
12806
12807         * text2.C: ditto
12808
12809 2001-07-18  Juergen Vigna  <jug@sad.it>
12810
12811         * text.C (selectNextWord): handle insets inside inset by calling
12812         always the bv->text functions so that we can go up the_locking_inset!
12813
12814         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12815         in strange locations when inside an inset!
12816
12817         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12818         handling to include insets.
12819
12820         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12821
12822 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12823
12824         * LyXAction.C (init):
12825         * commandtags.h:
12826         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12827         LIGATURE_BREAK, since the name is so stupid.
12828
12829 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12830
12831         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12832         InsetInfos.
12833
12834         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12835
12836         * sp_form.[Ch]: remove.
12837
12838         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12839
12840         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12841         InsetInfo.
12842
12843         * src/buffer.C (readInset): ditto.
12844
12845 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12846
12847         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12848         menuSeparator(), endOfSentenceDot(), ldots() and
12849         hyphenationPoint(), which are therefore removed.
12850         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12851
12852         * LyXAction.C (init):
12853         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12854
12855         * paragraph.C (getWord): removed.
12856
12857         * BufferView_pimpl.C (Dispatch): use last word or selection for
12858         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12859
12860         * lyx_main.C (queryUserLyXDir): do not ask before creating
12861         user_dir, except if it has been named explicitely.
12862
12863 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12864
12865         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12866         a document of zero size.
12867
12868 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12869
12870         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12871         approriately in the c-tor and in require().
12872         (getPackages): output the appropriate LaTeX for natbib support.
12873
12874         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12875         variables "use_natbib" and "use_numerical_citations" when reading the
12876         LyX file.
12877         (readInset): read the various natbib cite commands.
12878         (validate): white-space change.
12879
12880         * bufferparams.[Ch]: new variables "bool use_natbib" and
12881         "bool use_numerical_citations".
12882         (writeFile): output them in the LyX file.
12883
12884 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12885
12886         * lyxfunc.C (getStatus): add support for all the inset insertion
12887         commands.
12888
12889         * text2.C (insertInset):
12890         * paragraph.C (insetAllowed):
12891         * BufferView_pimpl.C (insertInset): update to take in account the
12892         renaming of insertInsetAllowed
12893
12894         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12895
12896         * text2.C (getInset): new method. returns inset at cursor position.
12897
12898         * BufferView_pimpl.C (Dispatch): changes because of this.
12899
12900         * LyXAction.C (init): rename open-stuff to inset-toggle.
12901
12902         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12903
12904         * text2.C (toggleInset): renamed from openStuff; use
12905         Inset::open().
12906
12907 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12908
12909         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12910
12911         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12912
12913 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12914
12915         * buffer.C (readLyXformat2): Add filename to the error dialog
12916
12917 2001-07-18  Juergen Vigna  <jug@sad.it>
12918
12919         * tabular.C (GetCellNumber): put an assert here instead of the check!
12920
12921 2001-07-17  Juergen Vigna  <jug@sad.it>
12922
12923         * BufferView_pimpl.C (toggleSelection): adapted too.
12924
12925         * text.C (selectNextWord): adapted for use with insets.
12926         (selectSelectedWord): ditto
12927
12928 2001-07-17  Juergen Vigna  <jug@sad.it>
12929
12930         * sp_spell.C (PSpell): fix initialitation order.
12931
12932 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * paragraph.C: spacing
12935
12936 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12937
12938         * sp_spell.C: repair language selection for pspell
12939
12940 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * lyxfunc.h: change more methods to begin with lower char.
12943
12944 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12945
12946         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12947         for unknown layouts.
12948
12949 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12950
12951         * buffer.C (readLyXformat2): Generate an error dialog if there are
12952         unknown layouts.
12953
12954 2001-07-16  Juergen Vigna  <jug@sad.it>
12955
12956         * sp_spell.C: always compile ISpell part.
12957
12958         * lyxrc.C: added use_pspell entry and it's handling.
12959
12960 2001-07-13  Juergen Vigna  <jug@sad.it>
12961
12962         * sp_spell.C: removed double includes.
12963
12964 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12965
12966         Consistent use of Lsstream.h:
12967         * Lsstream.h: added using std::stringstream for consistencies sake.
12968
12969         * buffer.C: removed using std::stringstream
12970
12971         * lyxfont.C (stateText):
12972         * paragraph.C (asString):
12973         * text.C (selectNextWord, selectSelectedWord):
12974         * text2.C (setCounter):
12975         * vspace.C (asString, asLatexString):
12976         std::ostringstream -> ostringstream.
12977
12978 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12979
12980         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12981         * commandtags.h: add LFUN_HELP_ABOUTLYX
12982         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12983
12984 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12985
12986         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12987         cursorToggle()
12988         * lyx_gui_misc.C: remove spellchecker
12989         * lyxfunc.C: showSpellchecker
12990         * sp_base.h: added
12991         * sp_ispell.h: added
12992         * sp_pspell.h: added
12993         * sp_spell.C: added
12994         * sp_form.[Ch]: removed
12995         * spellchecker.[Ch]: removed
12996
12997 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12998
12999         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13000         is set.
13001         (simpleTeXSpecialChars): Simply print the input character without
13002         any special translation if pass_thru is set.
13003
13004         * layout.h: Added bool pass_thru to layout class for being able to
13005         implement pass through of a paragraph for Literate Programming.
13006
13007         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13008         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13009         * layout.C (Read): add "passthru" to list of layout tags and add
13010         code to set the pass_thru boolean when it is read.
13011
13012 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * trans_decl.h: remove allowed from KmodInfo
13015
13016         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13017         remove allowed code
13018         (Load): adjust
13019
13020         * paragraph_pimpl.C (erase): use boost::prior
13021
13022         * Painter.C (text): use data() instead of c_str() when length is
13023         also provided.
13024         * WorkArea.C (putClipboard): ditto
13025         * font.h (width): ditto
13026
13027         * BufferView2.C: use it-> instead of (*it). for iterators
13028         * texrow.C: ditto
13029         * paragraph_pimpl.C: ditto
13030         * paragraph.C: ditto
13031         * minibuffer.C: ditto
13032         * language.C: ditto
13033         * kbmap.C: ditto
13034         * encoding.C: ditto
13035         * counters.C: ditto
13036         * converter.C: ditto
13037         * chset.C: ditto
13038         * Variables.C: ditto
13039         * TextCache.C: ditto
13040         * MenuBackend.C: ditto
13041         * LyXAction.C: ditto
13042         * LColor.C: ditto
13043         * FloatList.C: ditto
13044         * DepTable.C: ditto
13045         * ColorHandler.C (LyXColorHandler): ditto
13046
13047 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13048
13049         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13050
13051         * text2.C (openStuff): reintroduce this method (which had been
13052         nuked in NEW_INSETS frenzy).
13053
13054         * lyxfunc.C (Dispatch): when an action has not been handled, use
13055         its name in the error message, not its number.
13056
13057         * paragraph.C (inInset): change method name to begin with lowercase.
13058
13059         * undo_funcs.C:
13060         * text2.C: updates because of this.
13061
13062 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13063
13064         * ToolbarDefaults.C (add): add spaces in error message
13065
13066 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13069         (readLyXformat2): rename return_par to first_par, use lyxlex's
13070         pushToken and remove the manual push handling.
13071         (parseSingleLyXformat2Token): add another ert comp. variable:
13072         in_tabular, rename return_par to first_par. handle newlines better
13073
13074 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13077
13078 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13079
13080         * text2.C (getParFromID): removed
13081
13082         * buffer.C (getParFromID): new method moved form lyxtext.
13083         * BufferView2.C (insertErrors): adjust
13084         (setCursorFromRow): adjust
13085         * BufferView_pimpl.C (restorePosition): adjust
13086         * lyxfunc.C (Dispatch): adjust
13087         * undo_funcs.C (textUndo): adjust
13088         (textRedo): adjust
13089         (textHandleUndo): adjust
13090         (textHandleUndo): adjust
13091
13092 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * buffer.C: up' the LYX_FORMAT
13095
13096         * lyxfont.h: turn NO_LATEX on as default
13097
13098         * buffer.C (insertErtContents): new methods of tex style compability.
13099         (parseSingleLyXformat2Token): use it several places.
13100         * tabular.C (OldFormatRead): and here
13101
13102 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * text2.C: remove some commented code.
13105         reindent file.
13106
13107         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13108         * trans.C: changes because of the above.
13109
13110 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13111
13112         * text2.C (setCounter): Fix counters bug with bibliography layout.
13113
13114 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13117         own member functions
13118         (simpleTeXSpecialChars): ditto
13119
13120 2001-07-06  Juergen Vigna  <jug@sad.it>
13121
13122         * a lot of files: changed the access to LyXText::status and the
13123         call of undo-functions.
13124
13125         * undo.[Ch]: added a inset_id to the undo informations.
13126
13127         * undo_funcs.[Ch]: added and moved here all undo functions.
13128
13129         * lyxtext.h: give the status enum a weight, made status_ a private
13130         variable and made accessor functions for it, removed the whole bunch
13131         of undo-functions as they are now in their own file, make some
13132         functions publically available. Added function ownerParagraph with
13133         int parameter.
13134
13135         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13136         made InInset() a const function, added getParFromID() function.
13137
13138         * buffer.[Ch]: added const version for inset_iterator functions,
13139         added getInsetFromID() function.
13140
13141         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13142         changed undo functions for new version.
13143
13144 2001-07-05  Juergen Vigna  <jug@sad.it>
13145
13146         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13147         unknow mechanism does not call the proper constructor but only this
13148         one also if I request the other!?
13149
13150 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13153
13154         * text2.C (LyXText): use initialization lists.
13155
13156         * lyxtext.h (Selection): initialize set_ and mark_
13157         (init): remove method
13158
13159 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13162
13163 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * screen.[Ch]: change method names to begin with lowercase
13166
13167         * BufferView_pimpl.C (updateScrollbar): simplify further and
13168         hopefully make it a bit faster.
13169
13170 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13173         calling directly xforms functions.
13174
13175         * Painter.C (Painter):
13176         * lyx_cb.C (MenuWrite):
13177         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13178         fl_display.
13179
13180         * lyx_gui.C: remove bogus guiruntime extern declaration.
13181
13182 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13183
13184         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13185         in NEW_INSETS
13186         (redoDrawingOfParagraph): ditto
13187         (redoParagraphs): ditto
13188         (cutSelection): don't create a object for CutAndPaste use the
13189         static method directly
13190         (pasteSelection): ditto
13191
13192         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13193         LyXview (+ rename)
13194
13195 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * modifications to some other files because of this.
13198
13199         * Makefile.am (lyx_SOURCES): add XFormsView
13200
13201         * XFormsView.[Ch]: new files
13202
13203         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13204         the main window. Move the gui dependent stuff to XFormsView
13205
13206 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13207
13208         * tabular.C (GetCellInset): update cur_cell also in the row/col
13209         version of this function.
13210
13211         * lyxfunc.C: no need to include figure_form.h here.
13212
13213         * FontLoader.h:
13214         * lyxfunc.h:
13215         * lyxscreen.h:
13216         * text2.C:
13217         * lyxvc.C: no need to include forms.h here.
13218
13219 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13222
13223         * lyxfunc.C (Dispatch):
13224         * Spacing.C (set):
13225         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13226         constructor argument.
13227
13228 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * paragraph.C (Paragraph): dont't clear, and just set layout.
13231         (makeSameLayout): use params's copy contructor.
13232
13233         * ParagraphParameters.[Ch] (makeSame): delete method
13234
13235 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * Variables.[Ch]: fix indentation, rename set to isSet
13238
13239 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * lyxfunc.C (Dispatch): fix typo
13242
13243 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13244
13245         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13246         upper_bound.
13247
13248         * bufferlist.C: include assert.h for emergencyWrite().
13249
13250 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13251
13252         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13253           give up at last (bug #425202) !
13254
13255 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13256
13257         * lyx_gui_misc.C:
13258         * sp_form.h:
13259         * sp_form.C:
13260         * spellchecker.h:
13261         * spellchecker.C: strip spellchecker options and bring up
13262           preferences tab instead
13263
13264 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13265
13266         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13267         the istringstream constructor
13268
13269 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13270
13271         * paragraph.C (getLayout): fix return value
13272
13273         * paragraph.h: do not declare getLayout as inline.
13274
13275         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13276
13277 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13278
13279         * lyxcursor.h (operator<): new func
13280         (operator>): new func
13281         (operator>=): new func
13282         (operator<=): new func
13283
13284         * text.C (changeCase): use selection.start and selection.end
13285         (changeRegionCase): require from to be <= to. Require par to be a
13286         valid paragraph.
13287
13288         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13289
13290 2001-06-27  Juergen Vigna  <jug@sad.it>
13291
13292         * text.C (cursorLeftOneWord): changed to return the cursor and added
13293         overlay with BufferView * parameter which calls this one.
13294         (getWord): added
13295         (selectWord): use new getWord function.
13296         (changeCase): renamed from changeWordCase as and extended to work
13297         also on selections.
13298
13299         * lyxtext.h: added enum word_location
13300
13301         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13302         changeCase as this operates now also on selections.
13303
13304 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13305
13306         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13307
13308         * many files: send debug output to Debug::INFO instead of
13309         Debug::ANY.
13310
13311         * converter.C (View):
13312         (Convert):
13313         (Move): send debug output to Debug::FILES instead of console.
13314
13315 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13316
13317         * lyxfunc.C (getStatus): use func_status
13318
13319         * func_status.h: new header, describing the results of
13320         LyXFunc::getStatus;
13321
13322         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13323         LFUN_MATH_HALIGN.
13324
13325 2001-06-25  The LyX Project  <jug@sad.it>
13326
13327         * buffer.C (sgmlOpenTag):
13328         (sgmlCloseTag):
13329         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13330
13331 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13332
13333         * text2.C: remove some dead code
13334
13335         * tabular.C (GetCellInset): store the last cell checked (gotten)
13336
13337         * tabular.h: add the helper for the speedup
13338
13339         * lyxtext.h: remove some dead code
13340
13341 2001-06-26  The LyX Project  <Asger>
13342
13343         * paragraph.C: Change export to LaTeX of alignment to
13344         \begin{center} and family for better roundtrip work with reLyX.
13345
13346         * Tune the math drawing a bit.
13347
13348 2001-06-25  The LyX Project  <Asger>
13349
13350         * LColor.C (LColor): New color for math background. New color
13351         for buttons.
13352
13353 2001-06-25  The LyX Project  <jug@sad.it>
13354
13355         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13356
13357         * lyxfunc.C (Open):
13358         * bufferlist.C (newFile): do not restrict to files ending with
13359         .lyx
13360
13361         * BufferView_pimpl.C (MenuInsertLyXFile):
13362
13363 2001-06-24  The LyX Project  <jug@sad.it>
13364
13365         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13366         of compare_no_case
13367
13368 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * lyxtext.h: rename most methods to begin with a small char.
13371         Lots of changes because of this.
13372
13373         * paragraph.C (Paragraph): do not call fitToSize
13374         (erase): call Pimpl::erase
13375         (insertChar): call Pimpl::insertChar
13376         (insertInset): call Pipl::insertInset
13377         (breakParagraph): do not call fitToSize
13378         (breakParagraphConservative): do not call fitToSize
13379         (fitToSize): remove method
13380
13381         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13382
13383 2001-06-24  The LyX Project  <Asger>
13384
13385         * Fix Qt compilation^2
13386
13387 2001-06-24  The LyX Project  <jug@sad.it>
13388
13389         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13390         depthHook(getDepth()-1).
13391
13392         * paragraph.h:
13393         * ParagraphParameters.h:
13394         * ParameterStruct.h: change type of depth to unsigned int ==
13395         depth_type. Many adaptations to other files before of that.
13396
13397 2001-06-24  The LyX Project  <Asger>
13398
13399         * Fix Qt compilation.
13400
13401 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * paragraph.h: renamed several methods to begin with small letter.
13404         several changes to many parts of the code because of this.
13405
13406 2001-06-23  The LyX Project  <jug@sad.it>
13407
13408         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13409         rewritten to discard all double spaces when KeepEmpty is off
13410         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13411         to only handle newlines but not fiddle with spaces and friends.
13412
13413         * lyxfunc.C (MenuNew): when doing 'new from template', use
13414         template_path as default directory
13415
13416 2001-06-23  The LyX Project  <Asger>
13417
13418         * Clean-up of header file includes all over
13419         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13420
13421 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * paragraph.h: renamed from lyxparagraph.h
13424
13425 2001-06-23  Asger  <lyx@violet.home.sad.it>
13426
13427         * Buffer.h: Removed Buffer::resize
13428         * BufferList.h: Removed BufferList::resize
13429         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13430         the document lazily when we change the width, or the font settings.
13431
13432 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13433
13434         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13435
13436 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * buffer.h: remove out of date comment
13439
13440 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13441
13442         * lyxscreen.h:
13443         * screen.C: fix "theoretical" GC leak
13444
13445 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13446
13447         * LaTeX.C (scanAuxFile):
13448         (deplog): remove trailing \r when reading stream (useful under
13449         win32)
13450
13451 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13454         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13455         and BufferView::theLockingInset(Inset*), so should use them and not
13456         access bv_->text->the_locking_inset directly.
13457
13458         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13459
13460 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * Makefile.am:
13463         * tex-defs.h: remove old unused file
13464
13465 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13466
13467         * BufferView_pimpl.C: fix typo, remove minibuffer message
13468           when buffer has loaded
13469
13470 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * lyxfunc.C (Dispatch): use stringstream
13473         (MenuNew): use stringstream
13474         (Open): use stringstream
13475
13476         * importer.C (Import): use stringstream
13477
13478         * bufferview_funcs.C (CurrentState): use stringstream
13479
13480         * LaTeX.C (run): use stringstream
13481
13482         * BufferView_pimpl.C (savePosition): use stringstream
13483         (restorePosition): use stringstream
13484         (MenuInsertLyXFile): use stringstream
13485
13486 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * BufferView.C:
13489         * Bullet.C:
13490         * ColorHandler.C:
13491         * FontInfo.C:
13492         * FontLoader.C:
13493         * LColor.C:
13494         * LaTeXFeatures.C:
13495         * Painter.C:
13496         * gettext.C:
13497         * lyx_gui_misc.C:
13498         * lyxserver.C:
13499         * vspace.C: removed // -*- C++ -*- as first line.
13500
13501         * lyxfind.h:
13502         * version.h: added // -*- C++ -*- as first line.
13503
13504 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13505
13506         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13507
13508         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13509         of string
13510
13511 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13514         of floats.
13515
13516 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13517
13518         * gettext.C: include LString.h even when --disable-nls is on.
13519
13520 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13521
13522         * converter.h (Get): changed argument type from int to
13523         FormatList::size_type to avoid unnecessary conversion.
13524
13525         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13526         before using it.
13527
13528 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13529
13530         * gettext.h: include LString.h even when --disable-nls is on.
13531
13532 2001-06-07  Juergen Vigna  <jug@sad.it>
13533
13534         * text.C (BreakAgain): subst spaces with tabs.
13535
13536         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13537         (resizeInsetsLyXText): set force on resizeLyXText.
13538
13539 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * gettext.h (gettext_init):
13542         (locale_init): use a real definition instead of a macro
13543
13544 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13545
13546         * Bufferview_pimpl.C:
13547         * LColor.h:
13548         * LColor.C: further lcolor tidies
13549
13550 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * BufferView_pimpl.C (updateScrollbar): simplify.
13553
13554         * BufferView2.C: don't include insets/insetinfo.h, change
13555         prototype for insertInset and call the Pimpl version. let
13556         updateInset call Pimpl version.
13557
13558         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13559         gotoInset to BufferView::Pimpl
13560
13561 2001-06-01  Juergen Vigna  <jug@sad.it>
13562
13563         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13564         inside a LockingInset (is the update needed at all?).
13565
13566 2001-05-31  Juergen Vigna  <jug@sad.it>
13567
13568         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13569         here not the old one otherwise how should we compare it afterwards
13570         if it's the same!
13571
13572 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13573
13574         * lyxfont.C:
13575         * tabular.C:
13576         * tabular-old.C:
13577         * FontInfo.C: bring C functions into global namespace when
13578         necessary
13579
13580 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13581
13582         * LString.h: make sure config.h has been loaded before LString.h.
13583
13584         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13585         (one for each char read by EatLine!).
13586
13587         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13588         variables.
13589
13590 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591
13592         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13593         to the same as the par we break from
13594
13595 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13598
13599         * MenuBackend.C (expand): also create menu entries for wide
13600         versions of the floats.
13601
13602         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13603
13604         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13605
13606         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13607         frontends/Makefile.am
13608
13609         * text2.C: adjust
13610         * text.C: adjust
13611
13612
13613         * tabular.C (getTokenValue): add std::
13614
13615         * tabular-old.C (getTokenValue): add std::
13616         (getTokenValue): ditto
13617         (getTokenValue): ditto
13618
13619         * screen.C (ToggleSelection): adjust
13620
13621         * lyxtext.h: put selection cursors inside a Selection struct.
13622
13623         * lyxfunc.C (moveCursorUpdate): adjust
13624
13625         * lyxfont.C (latexWriteStartChanges): add std::
13626
13627         * lyxfind.C: adjust
13628
13629         * font.h: delete with(char const *, LyXFont const &)
13630
13631         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13632
13633         * FontInfo.C (getFontname): add std::
13634
13635         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13636         (workAreaButtonPress): adjust
13637         (tripleClick): adjust
13638         (update): adjust
13639         (moveCursorUpdate): adjust
13640         (Dispatch): adjust
13641
13642         * BufferView2.C (gotoInset): adjust
13643
13644 2001-05-30  Juergen Vigna  <jug@sad.it>
13645
13646         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13647         to check pspell I add this as default as I now have new pspell
13648         libraries and they seem to use this.
13649
13650 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13651
13652         * text2.C (CutSelection): make the cursor valid before the call to
13653         ClearSelection.
13654
13655 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13658         relied on 0 terminated strings and other horrors. Bug found due to
13659         the new assert in lyxstring!
13660
13661         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13662         KP_ keys.
13663
13664 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13665
13666         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13667         to latinkeys.bind.
13668
13669         * lyxfunc.C (processKeySym): change method of getting to the
13670         self-insert char.
13671
13672         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13673         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13674         * BufferView_pimpl.[Ch]: here as private methods.
13675
13676 2001-05-28  Juergen Vigna  <jug@sad.it>
13677
13678         * text.C (SetHeightOfRow): added the update() call again as it is
13679         needed to initialize inset dimensions!
13680
13681 2001-05-16  Juergen Vigna  <jug@sad.it>
13682
13683         * text2.C (SetCharFont): Add new function with BufferView * and
13684         bool toggleall parameters for setting insets internal fonts.
13685         (SetFont): Freeze the undo as we may change fonts in Insets and
13686         all this change should be inside only one Undo!
13687
13688         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13689         setting font's in insets as for them we have the SetFont function!
13690
13691 2001-05-15  Juergen Vigna  <jug@sad.it>
13692
13693         * text2.C (ClearSelection): to be sure we REALLY don't have any
13694         selection anymore!
13695
13696         * tabular.C (TeXCellPreamble): fixed the left border problem for
13697         multicolumn cells.
13698
13699 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13702         dependancy file
13703
13704 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13705
13706         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13707         LFUN_BREAKPARAGRAPH.
13708
13709         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13710         help test to "internal only", similar for LFUN_INSERT_URL
13711
13712         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13713         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13714         auto_region_delete and deadkeys.
13715
13716 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * LColor.h:
13719         * LColor.C: remove some dead entries, tidy a little
13720
13721 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13724         commented code.
13725         (Dispatch): implement LFUN_ESCAPE
13726
13727         * commandtags.h: add LFUN_ESCAPE
13728
13729         * LyXAction.C (init): add entry for LFUN_ESCAPE
13730
13731         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13732         Remove commented code.
13733         (insertNote): moved here
13734         (open_new_inset): moved here
13735
13736         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13737         BufferView_pimpl
13738
13739 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * kbmap.C (findbinding): clean it up and make it work correctly.
13742
13743         * lyx_main.C (init): do not pass argc and argv as parameters
13744
13745 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13746
13747         * buffer.C: fix path for OS/2 & Win32
13748
13749         * lyx_gui.C:
13750         * lyx_main:
13751         * lyx_main.C: Added os:: class.
13752
13753         * os2_defines.h: update
13754
13755 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13758         better by trying again with reduced state.
13759
13760 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * lyxrc.C (read): print error about invalid key sequence only when
13763         debugging (because not all latinX keysyms are known to some X
13764         servers)
13765
13766         * kbsequence.C (getiso): add a few std:: qualifiers
13767         (getiso): comment out extra return statement.
13768
13769 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13770
13771         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13772         handling.
13773         (Dispatch): enhance the accent inset a bit. (not perfect)
13774
13775 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13776
13777         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13778
13779 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13780
13781         * bufferlist.C (emergencyWrite): fix assert() call
13782
13783 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13784
13785         * text.C (InsertChar): Added trivial patch to only send the "you
13786         can not do multiple spaces this way" message once during a
13787         session.
13788
13789 2001-05-08  Baruch Even  <baruch@lyx.org>
13790
13791         * Makefile.am: Changed order of libraries to get LyX to link properly
13792         with the gnome frontend.
13793
13794 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13795
13796         * LaTeXFeatures.h: add a std:: qualifier
13797
13798 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13799
13800         * paragraph.C (String): use stringstream
13801
13802 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * paragraph.C (writeFile): remove footflag arg
13805
13806         * buffer.C (makeLaTeXFile): use stringstream
13807         (latexParagraphs): remove footnot gurba
13808
13809         * LaTeXFeatures.C (getPackages): use stringstream
13810         (getMacros): likewise
13811         (getTClassPreamble): likewise
13812         (getFloatDefinitions): new method
13813
13814         * paragraph.C (writeFile): reindent
13815         (Erase): reindent
13816
13817         * WorkArea.h: revert the xpos + etc changes.
13818
13819         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13820
13821         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13822
13823         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13824         (pasteSelection): likewise
13825         * text2.C (CreateUndo): likewise
13826
13827 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13828
13829         * minibuffer.C (peek_event): temporarily reduce the functionality
13830         of the minibuffer (to allow args on lfuns)
13831
13832         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13833         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13834
13835         * buffer.C (readInset): add compability reading of old float
13836         lists, add reading of new style float list.
13837         (readInset): avoid reevaluation of inscmd.getCmdName()
13838         (getLists): reindent
13839
13840         * MenuBackend.C (MenuItem): implement parsing of
13841         md_floatlistinsert and md_floatinsert.
13842         (expand::LastFiles): move initalizaton of iterators out of loop,
13843         avoid reevaluation.
13844         (expand::Documents): introduce typdedef vector<string> Strings,
13845         and use it.
13846         (expand::ExportFormats): introduce typedef vector<Format const *>
13847         Formats, and use it.
13848         (expand): implement FloatListInsert and FloatInsert.
13849
13850         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13851         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13852         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13853
13854         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13855         handling.
13856         (Dispatch::LFUN_FLOAT_LIST): implement
13857
13858 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13859
13860         * LaTeX.C (run): Fix problem with --export code.
13861
13862 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * BufferView.[Ch] (workarea): removed.
13865         (getClipboard) new method; wrapper for workarea()->getClipboard()
13866
13867         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13868         bug.
13869
13870         * WorkArea.h (width, height, xpos, ypos): These methods all
13871         returned the dimensions of the work_area sub-area of WorkArea,
13872         resulting in a position error if the WorkArea were resized. Now
13873         return the dimensions of the entire WorkArea.
13874
13875         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13876
13877 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13878
13879         * LaTeX.C (deplog): correct the syntax of regex reg1
13880
13881 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13882
13883         * undo.C: remove !NEW_INSETS cruft
13884
13885 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * text2.C: remove !NEW_INSETS cruft
13888
13889         * text.C: remove !NEW_INSETS cruft
13890
13891         * tabular.C: remove !NEW_INSETS cruft
13892
13893         * spellchecker.C: remove !NEW_INSETS cruft
13894
13895         * lyxtext.h: remove !NEW_INSETS cruft
13896
13897         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13898
13899         * lyxfunc.C: remove !NEW_INSETS cruft
13900
13901         * lyxfind.C: remove !NEW_INSETS cruft
13902
13903         * lyx_cb.C: remove !NEW_INSETS cruft
13904
13905         * figureForm.C: remove  !NEW_INSETS cruft
13906
13907         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13908
13909         * buffer.[Ch]: remove !NEW_INSETS cruft
13910
13911         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13912
13913         * CutAndPaste.C: remove !NEW_INSETS cruft
13914
13915         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13916
13917         * BufferView2.C: remove !NEW_INSETS cruft
13918
13919         * BufferView.h: remove !NEW_INSETS cruft
13920
13921 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13922
13923         * Lsstream.h: include LString.h before the sstream headers to
13924         fix problem with gcc 2.95.3 and lyxstring
13925
13926 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * lyx_main.C: add using directives when needed for C functions
13929         declared in std:: namespace.
13930
13931 2001-04-27  Juergen Vigna  <jug@sad.it>
13932
13933         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13934         (SetHeightOfRow): comment out the update call should not be needed!
13935
13936 2001-04-13  Juergen Vigna  <jug@sad.it>
13937
13938         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13939         (LyXTabular): tried to minimize operator= operations (and realized
13940         hopfully Lars wish).
13941
13942 2001-04-27  Juergen Vigna  <jug@sad.it>
13943
13944         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13945
13946 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13947
13948         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13949
13950         * buffer.C (readInset): hack to make listof algorithm work
13951
13952         * BufferView_pimpl.C: hack to make listof algorithm work
13953
13954 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13955
13956         * LyXAction.C: removed all !NEW_INSETS cruft
13957         (init): moved lfun_item in method
13958
13959         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13960
13961 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13962
13963         * BufferView2.C (theLockingInset): white space.
13964
13965 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13966
13967         * minibuffer.C: include <iostream>
13968
13969         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13970
13971         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13972
13973         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13974
13975         * text.[Ch] (TransposeChars): new method
13976
13977 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * call message directly through LyXView instead of through LyXFunc
13980         * BufferView2.C: adjust
13981         * BufferView_pimpl.C: adjust
13982         * FontLoader.C: adjust
13983         * buffer.C: adjust
13984         * bufferview_funcs.C: adjust
13985         * converter.C: adjust
13986         * figureForm.C: adjust
13987         * importer.C: adjust
13988         * lyx_cb.C: adjust
13989         * lyx_gui_misc.C: adjust
13990         * lyxfunc.C: adjust
13991         * lyxvc.C: adjust
13992         * text2.C: adjust
13993         + more files in subdirs
13994
13995         * lyxparagraph.h (size): move up int file
13996         (GetLayout): ditto
13997
13998         * adjust all uses of Assert to lyx::Assert.
13999
14000         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14001         lyxfunctional in namespace lyx
14002         * layout.C (hasLayout): ditto
14003         (GetLayout): ditto
14004         (GetLayout): ditto
14005         (delete_layout): ditto
14006         (NumberOfClass): ditto
14007         * converter.C (GetFormat): ditto
14008         (GetNumber): ditto
14009         (Add): ditto
14010         (Delete): ditto
14011         (SetViewer): ditto
14012         * bufferlist.C (getFileNames): ditto
14013         (emergencyWriteAll): ditto
14014         (exists): ditto
14015         (getBuffer): ditto
14016         * MenuBackend.C (hasSubmenu): ditto
14017         (hasMenu): ditto
14018         (getMenu): ditto
14019         * BufferView_pimpl.C (getInsetByCode): ditto
14020
14021 2001-04-18  Juergen Vigna  <jug@sad.it>
14022
14023         * vspace.C (asLatexString): fixed the 100% problem.
14024
14025 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14026
14027         * lyxfunc.C (Dispatch):
14028         * minibuffer.C:
14029         * minibuffer.h: add a few std:: qualifiers
14030
14031 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14032
14033         * minibuffer.[Ch]: reimplement so that commands is initiated and
14034         run from lyxfunc, simplified som handling, and made the completion
14035         and history code for complete. wip.
14036
14037         * lyxfunc.C (processKeySym): call message
14038         (miniDispatch): new temporary method
14039         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14040         (LFUN_MESSAGE): implement
14041         (LFUN_MESSAGE_PUSH): implement
14042         (LFUN_MESSAGE_POP): implement
14043         (initMiniBuffer): the initial/defualt minibuffer message.
14044
14045         * lyxfont.[Ch]: inline some more getters
14046
14047         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14048
14049         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14050
14051         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14052         (AutoSave): use LFUN_MESSAGE
14053         (Reconfigure): ditto
14054
14055         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14056
14057         * figureForm.C: use LFUN_MESSAGE
14058
14059         * converter.C (runLaTeX): use LFUN_MESSAGE
14060
14061         * bufferview_funcs.C: use LFUN_MESSAGE
14062         (Melt): ditto
14063         (changeDepth): ditto
14064
14065         * bufferparams.h: use boost::
14066
14067         * bufferlist.h: inherit privately from noncopyable
14068
14069         * bufferlist.C (loadLyXFile): remove some commented code.
14070
14071         * buffer.C (runChktex): use LFUN_MESSAGE
14072
14073         * ShareContainer.h: inherit privately from noncopyable
14074
14075         * ParagraphParameters.[hC] (depth): inline it.
14076
14077         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14078         methods.
14079         (message): new method
14080         (messagePush): ditto
14081         (messagePop): ditto
14082         (show): init minibuffer
14083         (showState): direct call
14084
14085         * LaTeX.[Ch]: inherit privately from noncopyable
14086         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14087         instead of WriteStatus.
14088
14089         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14090
14091         * BufferView_pimpl.C (buffer): don't init minibuffer
14092         (workAreaButtonPress): use LFUN_MESSAGE
14093         (workAreaButtonRelease): ditto
14094         (savePosition): ditto
14095         (restorePosition): ditto
14096         (MenuInsertLyXFile): ditto
14097         (workAreaExpose): don't init minibuffer
14098         (update): remove commented code, simplify
14099
14100         * BufferView2.C (openStuff): use LFUN_MESSAGE
14101         (toggleFloat): ditto
14102         (menuUndo): ditto
14103         (menuRedo): ditto
14104         (copyEnvironment): ditto
14105         (pasteEnvironment): ditto
14106         (copy): ditto
14107         (cut): ditto
14108         (paste): ditto
14109         (gotoInset): ditto
14110         (updateInset): remove some commented code
14111
14112         * lastfiles.h: inherit privately from noncopyable
14113         * layout.h: ditto
14114         * lyx_gui.h: ditto
14115         * lyx_main.h: ditto
14116         * lyxlex.h: ditto
14117         * lyxlex_pimpl.h: ditto
14118
14119         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14120         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14121         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14122
14123         * LyXAction.h: inherit privately from noncopyable, add methods
14124         func_begin, func_end, returning iterators to the func map.
14125
14126         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14127         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14128         (func_begin): new method
14129         (func_end): new method
14130
14131         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14132         and not)
14133         (copySelection): ditto
14134         (pasteSelection): ditto
14135
14136         * BufferView.C: whitespace change
14137         * BufferView.h: inherit privately from noncopyable
14138
14139 2001-04-16  Allan Rae  <rae@lyx.org>
14140
14141         * tabular-old.C (l_getline):
14142         * spellchecker.C (sc_check_word):
14143         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14144         an unrecognised preprocessor directive.  So ensure they're wrapped.
14145
14146 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14147
14148         * src/exporter.C (Export): Give an error message when path to file
14149         contains spaces.
14150
14151 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14152
14153         * LaTeX.C (deplog): Always check that foundfile exists.
14154
14155 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * lyx_main.h:
14158         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14159
14160 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * tabular.[Ch] (getLabelList): implement new method
14163
14164         * minibuffer.h: comment ouf setTiimer
14165
14166         * minibuffer.C (ExecutingCB): constify res
14167         (peek_event): constify s
14168         (Set): constify ntext
14169         (Init): constify nicename
14170
14171         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14172
14173         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14174         (savePosition): use two params to Minibuffer::Set
14175         (restorePosition): ditto
14176
14177 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * lyx_main.C: include language.h
14180
14181         * Makefile.am (lyx_main.o): add language.h
14182
14183 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14184
14185         * exporter.C:
14186         * paragraph.C:
14187         * screen.C:
14188         * tabular.C:
14189         * CutAndPaste.C: include gettext.h
14190
14191         * lyxfont.h: remove old hack with ON and OFF.
14192
14193         * lyxparagraph.h:
14194         * lyxfont.h: do not include language.h...
14195
14196         * BufferView2.C:
14197         * LaTeXFeatures.C:
14198         * Painter.C:
14199         * bufferview_funcs.C:
14200         * font.C:
14201         * lyxfont.C:
14202         * text.C:
14203         * text2.C:
14204         * trans_mgr.C:
14205         * paragraph.C: ... but do it here instead
14206
14207 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14208
14209         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14210
14211         * tabular.C: small reformat
14212
14213         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14214         NEW_INSETS version
14215         (GetChar): ditto
14216         (BreakParagraph): ditto
14217         (SetOnlyLayout): ditto
14218         (SetLayout): ditto
14219
14220         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14221         with one arg less.
14222
14223         * lastfiles.C: removed most using decl, add std:: where needed
14224
14225         * buffer.C: ws changes
14226
14227         * MenuBackend.C (class compare_format): put into anon namespace
14228         (expand): constify label, names, action, action2
14229         (expand):
14230
14231         * text.C (SingleWidth): constify font
14232         (IsBoundary): constify rtl2
14233         (GetVisibleRow): constify ww
14234
14235         * LaTeX.C (deplog): constify logfile
14236
14237         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14238         start_x, end_x
14239         (workAreaExpose): constify widthChange, heightChange
14240
14241         * lyxrow.C (par): moved
14242         (height): moved
14243         (next): moved
14244         * lyxrow.h: as inlines here
14245
14246         * lyxfont.h (shape): moved from lyxfont.C
14247         (emph): moved from lyxfont.C
14248
14249         * lyxfont.C (LyXFont): use initialization list for all
14250         constructors
14251         (shape): move to lyxfont.h as inline
14252         (emph): move to lyxfont.h as inline
14253
14254
14255 2001-04-04  Juergen Vigna  <jug@sad.it>
14256
14257         * vspace.C: had to include stdio.h for use of sscanf
14258
14259 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14260
14261         * BufferView.h:
14262         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14263         independent of xforms.
14264
14265 2001-04-02  Juergen Vigna  <jug@sad.it>
14266
14267         * spellchecker.C: fixed namespace placing!
14268
14269 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14270
14271         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14272         the LyXParagraph * is 0.
14273
14274 2001-03-29  Juergen Vigna  <jug@sad.it>
14275
14276         * vspace.C: added support for %, c%, p%, l%.
14277         (stringFromUnit): added helper function.
14278         (asLatexString): changed to give right results for the %-values.
14279
14280         * buffer.C: convert the widthp in a width%.
14281
14282 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14283
14284         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14285         figureForm.[Ch].
14286
14287         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14288         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14289
14290         * lyx_cb.[Ch]: see above.
14291
14292         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14293         form1.[Ch].
14294
14295         * form1.[Ch]:
14296         * lyx.[Ch]: replaced by figure_form.[Ch].
14297
14298         * lyx_gui.C:
14299         * lyx_gui_misc.C:
14300         * lyxfunc.C: changed headers associated with above changes.
14301
14302 2001-03-27  Juergen Vigna  <jug@sad.it>
14303
14304         * BufferView_pimpl.C: set the temporary cursor right!
14305
14306 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14307
14308         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14309
14310 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14311
14312         * LString.h: removed "using std::getline"!
14313
14314         * BufferView_pimpl.C (Dispatch): changes due to changes in
14315         InsetInclude::Params.
14316
14317         * buffer.C (tag_name): removed redundant break statements as they were
14318         producing lots of warnings with my compiler.
14319
14320 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * LString.h: add "using std::getline" when using the real <string>.
14323
14324 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14325
14326         * buffer.C: removed bitset usage.
14327         PAR_TAG moved to an anonymous name space.
14328         (tag_name): new funtion, also in the anonymous namespace.
14329         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14330         (makeDocBookFile): clean code. Completed transition from string arrays
14331         to string vectors.
14332         (SimpleDocBookOnePar): code clean.
14333
14334 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14335
14336         * tabular.C: add some comments.
14337
14338 2001-03-22  Juergen Vigna  <jug@sad.it>
14339
14340         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14341         compatibility read a bit and fixed bug with minipage in different
14342         depth.
14343
14344 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14345
14346         * buffer.C (pop_tag): removed.
14347         (push_tag): removed.
14348         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14349         array replaced with vector. Added support for CDATA sections.
14350         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14351         at any nest level.
14352         (makeDocBookFile): XML conformant declaration of CDATA section,
14353         fixed bug related to <emphasis> in the first paragraph char.
14354         (sgmlOpenTag): exclude empty tags.
14355         (sgmlCloseTag): ditto.
14356
14357         * buffer.h (pop_tag): removed.
14358         (push_tag): removed.
14359
14360 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * language.h (Languages): added size_type and size().
14363
14364 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14365
14366         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14367         response on compability reading of minipages. One probliem is that
14368         the old usage of minipages was «flertydig»
14369
14370         * several files here and in subdirs: don't use static at file
14371         scope use anon namespaces instead.
14372
14373 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14374
14375         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14376         LaTeX output. This is necessary for Literate document
14377         processing.
14378
14379 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14380
14381         * buffer.C: insert hfill when needed.
14382
14383         * tabular.C (l_getline): use string::erase, small whitespace change.
14384
14385         * BufferView_pimpl.C: try the anon namespace.
14386         * WorkArea.C: ditto
14387
14388 2001-03-16  Juergen Vigna  <jug@sad.it>
14389
14390         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14391         otherwise it won't open options-dialogs.
14392
14393         * buffer.C: honor pextraWidth(p) on converting minipages.
14394
14395         * tabular.C (l_getline): changed the functions to strip trailing \r.
14396
14397 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * BufferView_pimpl.C:
14400         * minibuffer..C: added "using SigC::slot" declaration.
14401
14402 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14403
14404         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14405
14406         * text2.C: ditto
14407
14408         * text.C: ditto
14409
14410         * paragraph.C: ditto
14411
14412         * lyxtext.h: NO_PEXTRA
14413
14414         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14415
14416         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14417         * ParameterStruct.h: ditto
14418         * ParagraphParameters.h: ditto
14419         * lyxparagraph.h: ditto
14420
14421 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14422
14423         * buffer.C: add compability for minipage alignment.
14424         (latexParagraphs): remove unwanted pextra check.
14425
14426         * several files: remove CXX_WORKING_NAMESPACES
14427
14428         * buffer.C (pop_tag): tie is in namespace boost
14429
14430         * BufferView.h: noncopyable is in namespace boost
14431         * lyxlex.h: ditto
14432         * lyx_main.h: ditto
14433         * lyx_gui.h: ditto
14434         * layout.h: ditto
14435         * lastfiles.h: ditto
14436         * bufferlist.h: ditto
14437         * ShareContainer.h: ditto
14438         * LyXView.h: ditto
14439         * LyXAction.h: ditto
14440         * LaTeX.h: ditto
14441
14442 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14443
14444         * Merging changes from BRANCH_MVC back into HEAD.
14445
14446         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14447
14448 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14449
14450         * BufferView_pimpl.C: change from intl.C
14451
14452         * combox.h:
14453         * combox.C:
14454         * Makefile.am: move combox.*
14455
14456         * form1.h:
14457         * form1.C:
14458         * lyx_gui.C:
14459         * intl.h:
14460         * intl.C: remove dialog (covered by prefs)
14461
14462 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14463
14464         * lyxfunc.C (Dispatch): removed redundant break statement.
14465
14466 2001-03-14  Juergen Vigna  <jug@sad.it>
14467
14468         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14469
14470 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14471
14472         * buffer.C: add hack to fix compability reading of minipages.
14473
14474 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14475
14476         * buffer.C (getLists): Cleanup.
14477
14478 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14479
14480         * lyxfont.C (update): don't honor toggleall on font size.
14481
14482 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * bmtable.c:
14485         * bmtable.h:
14486         * Makefile.am: moved to frontends/xforms/
14487
14488         * lyx_gui_misc.C:
14489         * lyxfunc.C:
14490         * BufferView_pimpl.C: changes for moved mathpanel
14491
14492 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * gettext.h: fix gettext_init() in --disable-nls
14495
14496 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14497
14498         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14499
14500 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14501
14502         * lyx.C:
14503         * lyx.h: strip external form
14504
14505 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14506
14507         * BufferView_pimpl.C: add comment, destroySplash()
14508
14509 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * BufferView_pimpl.C:
14512         * LyXAction.C:
14513         * buffer.C:
14514         * commandtags.h:
14515         * lyxfunc.C: use re-worked insetinclude
14516
14517 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14518
14519         * buffer.C: add using std::stringstream.
14520
14521         * lyx_cb.C: readd using std::ios.
14522
14523         * buffer.C: add using std::map.
14524
14525         * BufferView_pimpl.C: add using std::vector.
14526
14527         * ShareContainer.h: add std:: to swap.
14528
14529         * buffer.h: add some typedefs
14530         * buffer.C (getLists): use them
14531         (getLists): renamed from getTocList.
14532         add a counter for the different float types and use it in the
14533         generated string.
14534         (getLists): use the same counter for the NEW_INSETS and the "non"
14535         NEW_INSETS
14536
14537         * lyx_cb.h: remove unused items, includes, using etc.
14538
14539         * ShareContainer.h: remove some commented code, add more comments
14540         and "documentation".
14541
14542 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14543
14544         * buffer.C (getTocList): make the list also when NEW_INSETS is
14545         defined.
14546
14547         * buffer.h: remove TocType
14548
14549         * buffer.C (getTocList): change to return a map<string,
14550         vector<TocItem> >, implement for dynamic number of list.
14551
14552         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14553         * text2.C (PasteSelection): adjust
14554         * CutAndPaste.C (pasteSelection): adjust
14555
14556         * FloatList.C (FloatList): update from the new_insets branch.
14557         * Floating.[Ch]: ditto
14558         * LaTeXFeatures.C: ditto
14559         * buffer.C: ditto
14560         * lyxlex_pimpl.C: ditto
14561
14562         * paragraph.C (Last): remove when NEW_INSETS is defined.
14563
14564         * other file: changes because of the above.
14565
14566 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14567
14568         * lyxparagraph.h: rename next to next_, previous to previous_,
14569         make them private for NEW_INSETS. Rename Next() to next(),
14570         Previous() to previous().
14571
14572         * other files: changes because of the above.
14573
14574 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14575
14576         * BufferView.h:
14577         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14578         problem.
14579
14580 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14581
14582         * main.C (main): pass lyx_localedir to gettext_init().
14583
14584         * gettext.h: remove locale_init and gettext_init macros
14585
14586         * gettext.C (locale_init): new function
14587         (gettext_init): new function
14588
14589         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14590         setlocale().
14591
14592 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14593
14594         * Moved credits to frontends:
14595         * credits.[Ch]: removed
14596         * credits_form.[Ch]: removed
14597         * lyx_gui_misc.C: remove credits stuff
14598         * Makefile.am:
14599
14600 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14601
14602         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14603
14604         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14605         unneeded destructor.
14606
14607         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14608         a standalone pointer again.
14609
14610         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14611
14612 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14613
14614         * Makefile.am:
14615         * filedlg.h:
14616         * filedlg.C:
14617         * LyXAction.C:
14618         * ToolbarDefaults.C:
14619         * bufferlist.C:
14620         * commandtags.h:
14621         * form1.C:
14622         * form1.h:
14623         * lyx_cb.C:
14624         * lyx_cb.h:
14625         * lyxfunc.h:
14626         * lyxfunc.C:
14627         * BufferView_pimpl.C: use new file dialog in GUII
14628
14629         * lyx_cb.h:
14630         * lyx_cb.C: remove LayoutsCB to Toolbar
14631
14632 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14633
14634         * ShareContainer.h (get): add std:: qualifier
14635
14636 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14637
14638         * ShareContainer.h: define a proper ShareContainer::value_type
14639         type (and use typename to please compaq cxx)
14640
14641 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14642
14643         * lyxparagraph.h: move serveral local vars to
14644         ParameterStruct/ParagraphParameters., use ShareContainer in
14645         FontTable., make vars in FontTable private and add getter and
14646         setter.
14647
14648         * paragraph.C: changes because of the above.
14649
14650         * lyxfont.h: remove copy constructor and copy assignment. (the
14651         default ones is ok), move number inside FontBits. move inlines to
14652         lyxfont.C
14653
14654         * lyxfont.C: add number to initializaton of statics, move several
14655         inlines here. constify several local vars. some whitespace
14656         cleanup. Dont hide outerscope variables.
14657
14658         * Spacing.h: add two new constructors to match the set methods.
14659
14660         * ShareContainer.h: new file, will perhaps be moved to support
14661
14662         * ParameterStruct.h: new file
14663
14664         * ParagraphParameters.h: new file
14665
14666         * ParagraphParameters.C: new file
14667
14668         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14669         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14670
14671         * BufferView_pimpl.C: ParagraphParameter changes.
14672         * buffer.C: Likewise.
14673         * bufferview_funcs.C: Likewise.
14674         * text.C: Likewise.
14675         * text2.C: Likewise.
14676
14677 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * lyxfind.C (LyXReplace): do not redefine default argument in
14680         implementation.
14681         (IsStringInText): ditto
14682         (SearchForward): ditto
14683         (SearchBackward): ditto
14684
14685 2001-03-06  Juergen Vigna  <jug@sad.it>
14686
14687         * lyxfind.C (IsStringInText): put parentes around expressions.
14688
14689 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14690
14691         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14692
14693 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14696
14697         * stl_string_fwd.h: add comment
14698
14699         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14700
14701         * tabular.h:
14702         * tabular.C: remove unused DocBook methods
14703
14704         * intl.C:
14705         * language.C:
14706         * paragraph.C:
14707         * buffer.C:
14708         killed DO_USE_DEFAULT_LANGUAGE
14709
14710 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14711
14712         * lyx_gui.C: do not include language.h.
14713
14714         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14715         arguments in function implementation.
14716
14717 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14718
14719         * BufferView_pimpl.C: add <ctime>
14720
14721 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14722
14723         * BufferView_pimpl.C: add using std::find_if
14724
14725 2001-02-27  José Matos  <jamatos@fep.up.pt>
14726
14727         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14728         by OnlyPath.
14729
14730 2001-02-11  José Matos  <jamatos@fep.up.pt>
14731
14732         * buffer.C (makeDocBookFile): command styles now have a parameter as
14733         "title" by default.
14734
14735 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14736
14737         * layout_forms.[Ch]: removed
14738         * lyx_cb.[Ch]: out character
14739         * lyx_gui.C: out character
14740         * lyx_gui_misc.C: out character
14741         * bufferview_funcs.C: : out character,
14742         added toggleall as parameter in ToggleAndShow
14743
14744 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14745
14746         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14747
14748         * text2.C (SetCurrentFont): Disable number property at boundary.
14749
14750 2001-02-26  Juergen Vigna  <jug@sad.it>
14751
14752         * lyxfunc.C (getStatus): added a string argument override function so
14753         that this is correctly called from LyXFunc::Dispatch if it contains a
14754         do_not_use_argument which is used!
14755         (Dispatch): added check for "custom" export and call appropriate func.
14756
14757 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14758
14759         * lyxrc.C: Add language_command_local, language_use_babel and
14760         language_global_options.
14761
14762         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14763
14764         * buffer.C (makeLaTeXFile): Use language_use_babel and
14765         language_global_options.
14766
14767 2001-02-23  Juergen Vigna  <jug@sad.it>
14768
14769         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14770         which works with LyXText and putted it inside BufferView. Here now we
14771         only call for that part the BufferView::Dispatch() function.
14772
14773         * BufferView.C (Dispatch): added.
14774
14775         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14776         functions which needs to use a LyXText over from LyXFunc.
14777         (MenuInsertLyXFile): added
14778         (getInsetByCode): added
14779         (moveCursorUpdate): added
14780         (static TEXT): added
14781
14782 2001-02-22  Juergen Vigna  <jug@sad.it>
14783
14784         * BufferView_pimpl.C (update): call a status update to see if LyXText
14785         needs it.
14786
14787 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14788
14789         * vc-backend.C (revert): implement for CVS
14790         (getLog): implement for CVS
14791
14792 2001-02-20  Juergen Vigna  <jug@sad.it>
14793
14794         * text2.C (ClearSelection): added BufferView param for inset_owner call
14795
14796         * lyxfunc.C (TEXT): added this function and use it instead of
14797         directly owner->view()-text of getLyXText().
14798
14799 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14800
14801         * src/layout_forms.C: out preamble
14802         * src/layout_forms.h: out preamble
14803         * src/lyx_cb.C: out preamble
14804         * src/lyx_cb.h: out preamble
14805         * src/lyx_gui.C: out preamble
14806         * src/lyx_gui_misc.C: out preamble
14807         * src/lyxfunc.C: connect with guii preamble
14808
14809 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14810
14811         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14812
14813 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14814
14815         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14816         whether to run bibtex.
14817
14818 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14819
14820         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14821
14822 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14823
14824         * Makefile.am (lyx_SOURCES): removed bibforms.h
14825
14826         * vspace.h: doxygen
14827
14828         * text.C (GetVisibleRow): make several local vars const
14829
14830         * tabular.C: small cleanup.
14831
14832         * lyxserver.C (callback): use compare instead of strncmp
14833
14834         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14835         inlines to after class or to paragraph.C
14836
14837         * lyxfont.h: remove friend operator!=
14838
14839         * converter.h: move friend bool operator< to non friend and after
14840         class def.
14841
14842         * combox.h: small cleanup
14843
14844         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14845         to inlines after class def.
14846
14847         * buffer.C (pop_tag): use string operations instead of strcmp
14848
14849         * bmtable.c: doxygen, small cleanup
14850
14851         * LaTeX.h: remove friend operator==
14852
14853 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14854
14855         * screen.C:
14856         * lyxrc.[Ch]:
14857         * lyxfunc.C:
14858         * lyxfont.[Ch]:
14859         * lyx_cb.C:
14860         * intl.[Ch]:
14861         * commandtags.h:
14862         * buffer.C:
14863         * WorkArea.[Ch]:
14864         * LyXAction.C:
14865         * BufferView_pimpl.C:
14866         * BufferView.[Ch]: remove cruft
14867
14868 2001-02-14  Juergen Vigna  <jug@sad.it>
14869
14870         * lyxfunc.C: removed #if 0 unused code
14871
14872         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14873
14874         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14875
14876         * text2.C (SetSelection): added a BufferView * parameter
14877
14878 2001-02-13  Juergen Vigna  <jug@sad.it>
14879
14880         * lyxfunc.C (Dispatch): fixed protected blank problem.
14881         * BufferView2.C (protectedBlank): added LyxText * parameter.
14882
14883         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14884         (AppendColumn): same as above for column_info.
14885
14886         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14887         (moveCursorUpdate): use a LyXText param for support of InsetText.
14888
14889         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14890         (tripleClick): ditto
14891
14892         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14893
14894         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14895
14896         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14897
14898         * text2.C (SetSelection): set correct update status if inset_owner
14899         (ToggleFree): ditto
14900
14901 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14902
14903         * tabular.C: remove some commented code.
14904
14905 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14906
14907         * BufferView_pimpl.C: call hideSplash()
14908
14909         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14910
14911         * include_form.h:
14912         * bibforms.h: remove
14913
14914         * lyxfunc.C:
14915         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14916           add LFUN_CHILD_CREATE
14917
14918         * counters.h: fix tiny typo
14919
14920         * lyx_cb.C:
14921         * lyx.h:
14922         * lyx_gui.C:
14923         * lyx.C: move splash to frontends/xforms/
14924
14925         * lyx_gui_misc.C: move Include and Bibform to frontends
14926
14927         * lyxvc.h: clarify comment
14928
14929         * vspace.C: tiny housekeeping
14930
14931 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14932
14933         * text.C (PrepareToPrint): RTL Fix.
14934
14935         * paragraph.C (GetUChar): New method.
14936         (String):  Use GetUChar.
14937
14938         * buffer.C (asciiParagraph): Use GetUChar.
14939
14940 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14941
14942         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14943
14944 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14945
14946         * buffer.h:
14947         * buffer.C: rename to getLogName(), handle
14948           build log / latex log nicely
14949
14950 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14951
14952         * MenuBackend.C:
14953         * MenuBackend.h: remove support for reference menuitem type.
14954
14955 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * BufferView_pimpl.C: housekeeping
14958         * BufferView_pimpl.h:
14959         * LyXView.h:
14960         * Makefile.am:
14961         * Timeout.C:
14962         * Timeout.h:
14963         * minibuffer.h: move Timeout GUI-I
14964
14965 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14966
14967         * lyxrc.C (read): Update converters data-structures.
14968
14969 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14970
14971         * LaTeX.h (operator!=): add operator != for Aux_Info
14972
14973 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14976
14977         * LaTeXLog.C: deleted, useful code moved to Buffer
14978
14979         * buffer.h:
14980         * buffer.C: new function getLatexLogName()
14981
14982         * lyx_gui_misc.C:
14983         * lyx_gui.C:
14984         * lyxvc.C:
14985         * lyxvc.h:
14986         * lyxfunc.C: use frontends for LaTeX and VC logs
14987
14988 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * LaTeX.h: yet another std:: that Allan forgot.
14991
14992         * Variables.C (set): renamed from isset(), because this clashes
14993         with some HP-UX macros (grr).
14994
14995 2001-02-06  Allan Rae  <rae@lyx.org>
14996
14997         * LaTeX.h: Another bug fix.  Missing std:: this time.
14998
14999 2001-02-04  Allan Rae  <rae@lyx.org>
15000
15001         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15002         floats problem. I've left it commented out because it's not quite
15003         correct.  It should also test that the current object is a table or
15004         figure inset.  But I haven't gotten around to figuring out how to do
15005         that.  I *think* it'll be something like: "table" == inset.type()
15006
15007         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15008         bool.
15009
15010 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15013         all the citation/databases/styles in the auxilary file.
15014         (run): Rerun latex if there was a babel language error.
15015
15016 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15017
15018         * text.C (Backspace): Preserve the font when changing newline char
15019         with a space.
15020         (BreakParagraph): If the cursor is before a space, delete the space.
15021
15022         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15023
15024 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15025
15026         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15027         new argument (code).
15028         (ChangeCitationsIfUnique): New method.
15029
15030         * paragraph.C (GetPositionOfInset): Handle bibkey.
15031
15032 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * BufferView_pimpl.h: change type of Position::par_pos to
15035         LyXParagraph::size_type.
15036
15037 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15038
15039         * BufferView_pimpl.C (savePosition, restorePosition): Write
15040         messages to minibuffer.
15041
15042 2001-01-28  José Matos  <jamatos@fep.up.pt>
15043
15044         * buffer.C (makeDocBookFile): adds support for document language.
15045         A silly restriction on the name of LatexCommand types where removed.
15046         Added support for CDATA sections, allows to chars unescaped, used
15047         among others in code, to avoid escape < and >.
15048
15049 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15050
15051         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15052         saved positions instrad of a stack. Furthermore, a position is
15053         stored using paragraph id/paragraph position.
15054
15055         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15056         Remove LFUN_REF_BACK.
15057
15058 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15059
15060         * converter.C (dvipdfm_options): New method.
15061
15062 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15063
15064         * vspace.C (isValidLength): Fix for empty input string.
15065
15066 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * LyXAction.C (init): change description of LFUN_FIGURE to
15069         "Insert Graphics"
15070
15071 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15072
15073         * LaTeX.C: add using directive
15074
15075 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15076
15077         * MenuBackend.C (expand): Fix the sorting of the formats.
15078
15079 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * lyx_main.C: tiny error message fix
15082
15083 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15084
15085         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15086         calling fl_initialize(). This fixes the problem with ',' as
15087         decimal separator in text files.
15088
15089 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15090
15091         * trans.C (process): Fix the keymap bug.
15092
15093 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15094
15095         * LaTeX.C (scanAuxFiles): New method. Provides support for
15096         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15097         (scanLogFile) Scan for "run BibTeX" messages.
15098
15099         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15100         OT1 font encoding. Also, load the aecompl package if the ae
15101         package is loaded.
15102
15103         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15104
15105 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15106
15107         * texrow.C (increasePos): turn two error messages into debug
15108         messages.
15109
15110 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * LaTeX.C (scanAux): Handle the \@input macro.
15113         (runBibTeX): Use scanAux().
15114
15115         * language.C (latex_options_): New field.
15116
15117         * LaTeXFeatures.C (getMacros): Add language macros.
15118
15119         * buffer.C (makeLaTeXFile): Small fix.
15120
15121 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15124
15125         * text2.C: add a using directive.
15126
15127 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15128
15129         * BufferView2.C:
15130         * lyx_gui_misc.h:
15131         * lyxfr1.C:
15132         * lyxfunc.C: kill LyXBell.
15133
15134 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15135
15136         * text.C (IsBoundary): Remove the error message
15137
15138         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15139
15140         * lyxrc.C (setDefaults): Correct initialization value for
15141         font_norm_type.
15142
15143 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15144
15145         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15146         gotoError().
15147
15148         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15149         and GotoNextNote().
15150
15151         * src/LyXAction.C: Added reference-next.
15152
15153         * text.C (InsertChar): Use contains instead of strchr.
15154
15155         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15156
15157 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15158
15159         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15160         alignment commands (when needed).
15161
15162         * text.C (InsertChar): Add ':' to number separator chars.