]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Wrap all #warning calls inside #ifdef WITH_WARNINGS blocks.
[lyx.git] / src / ChangeLog
1 2004-05-04  Angus Leeming  <leeming@lyx.org>
2
3         * BufferView_pimpl.C:
4         * buffer.C:
5         * counters.C:
6         * cursor.C:
7         * lyxfunc.C
8         * paragraph.C:
9         * pariterator.C:
10         * text.C:
11         * text2.C:
12         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
13
14 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
15
16         * text3.C (getStatus): add LFUN_BEGINNINGBUF
17
18 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * lyxfind.C: add a couple of inTexted() tests + other small fixes
21         * BufferView_pimpl.[Ch] (getStatus)
22         * BufferView.[Ch] (getStatus): add
23         * lyxfunc.C (getStatus): move lfuns handled in
24         BufferView::dispatch to te function above 
25         * Cursor.C (setSelection): set selection() = true
26
27 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
28
29         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
30
31 2004-03-31  Angus Leeming  <leeming@lyx.org>
32
33         * lyxfunc.C (dispatch): Fall through to the generic
34         Dialogs::show("preamble").
35
36 2004-03-31  Angus Leeming  <leeming@lyx.org>
37
38         * lyxfunc.C (dispatch): Fall through to the generic
39         Dialogs::show("spellchecker").
40
41 2004-03-31  Angus Leeming  <leeming@lyx.org>
42
43         * lyxfunc.C (getStatus, dispatch): changed invocation of the
44         preferences dialog.
45
46 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * BufferView.C
49         * cursor.[Ch]
50         * dociterator.[Ch]:
51         * insetiterator.[Ch]:
52         * lyxfind.C:
53         * lyxfunc.C:
54         * pariterator.[Ch]:
55         * text2.C:
56         * undo.[Ch]: s/DocumentIterator/DocIterator/g
57
58 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
59
60         * BufferView.C (setCursor, putSelectionAt): call edit to open the
61         insets where we are putting the cursor.
62
63 2004-03-31  Angus Leeming  <leeming@lyx.org>
64
65         * lfuns.h:
66         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
67
68         * lyxrc.[Ch] (read, write): overloaded member functions taking
69         a std::[io]stream arguments.
70
71         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
72
73 2004-03-31  Angus Leeming  <leeming@lyx.org>
74
75         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
76         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
77
78         * lyxtextclass.C (load): if the text class couldn't be loaded, then
79         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
80
81 2004-03-31  Angus Leeming  <leeming@lyx.org>
82
83         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
84         the LFUN_ALL_INSETS_TOGGLE code.
85
86 2004-03-30  Angus Leeming  <leeming@lyx.org>
87
88         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
89         has died. Fall through to the generic Dialogs::show("document").
90         
91 2004-03-30  Angus Leeming  <leeming@lyx.org>
92
93         * lfuns.h:
94         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
95         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
96
97         * lyxfunc.C (getStatus, dispatch): define the actions for these
98         lfuns. Little more than a cut and pste job from ControlDocument.C
99
100         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
101
102 2004-03-30  Angus Leeming  <leeming@lyx.org>
103
104         * lfuns.h:
105         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
106         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
107
108         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
109         open/closed state of ollapsable insets. Usage:
110
111         all-inset-toggle <state> <name>, where
112         <state> == "open" || "closed" || "toggle" and
113         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
114
115         * lyxtext.h, text2.C (toggleInset): removed.
116
117         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
118         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
119         now passes LFUN_INSET_TOGGLE to the found inset.
120
121         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
122         is now invoked as "all-insets-toggle toggle branch".
123
124 2004-03-30  Angus Leeming  <leeming@lyx.org>
125
126         * dociterator.C:
127         * insetiterator.C:
128         * pariterator.[Ch]: added/corrected header blurb.
129
130 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
131
132         * dociterator.[Ch]: add an inset_ member 
133         (backwardPos): implemented
134         (backwardPos, forwardPos): use inset_ when the stack is empty.
135         (doc_iterator_begin, doc_iterator_end): implemented
136         * pariterator.[Ch]: adjust, add begin, end
137         * insetiterator.[Ch]: adjust, add begin, end
138         * cursor.C: 
139         * document.C:
140         * BufferView.C:
141         * BufferView_pimpl.C:
142         * CutAndPaste.C: adjust
143
144 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
145
146         * buffer.C: increment file format to 232.
147         * LaTeXFeatures.C: add bibtopic package.
148         * bufferparams.[Ch]: param \use_bibtopic.
149         
150         * lyxrc.[Ch]: add lyxrc bibtex_command
151         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
152         
153         * buffer.C: increment file format to 231.
154
155 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
156
157         * dociterator.C: implement forwardPar
158         * iterators.[Ch]: remove, replaced by
159         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
160         * BufferView.C:
161         * BufferView_pimpl.C:
162         * CutAndPaste.C:
163         * buffer.C:
164         * bufferview_funcs.C:
165         * cursor.C:
166         * lyxfind.C
167         * lyxfunc.C
168         * paragraph_funcs.C
169         * toc.C:  
170         * Makefile.am: adjust
171
172 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
173
174         * CutAndPaste.C (pasteSelection): fix 2 crashes
175         (eraseSelection): fix a crash
176         * paragraph_funcs.C: remove a warning
177
178 2004-03-28  Angus Leeming  <leeming@lyx.org>
179
180         * lfuns.h:
181         * LyXAction.C (init): new LFUN_PRINT.
182
183         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
184
185 2004-03-27  Angus Leeming  <leeming@lyx.org>
186
187         * lfuns.h:
188         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
189
190         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
191
192 2004-03-27  Angus Leeming  <leeming@lyx.org>
193
194         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
195         insetlist always contains non-null pointers to insets.
196
197 2004-03-26  Angus Leeming  <leeming@lyx.org>
198
199         * src/BufferView_pimpl.C:
200         * src/CutAndPaste.C:
201         * src/buffer.C:
202         * src/iterators.C:
203         * src/output_plaintext.C:
204         * src/outputparams.h:
205         * src/paragraph_funcs.C:
206         * src/rowpainter.C:
207         * src/text.C:
208         * src/text2.C:
209         * src/frontends/controllers/ControlErrorList.C:
210         * src/frontends/gtk/FileDialogPrivate.C:
211         * src/frontends/gtk/GPainter.C:
212         * src/frontends/gtk/GToolbar.C:
213         * src/frontends/qt2/QRef.C:
214         * src/mathed/math_scriptinset.C: squash compiler warnings.
215
216 2004-03-26  Angus Leeming  <leeming@lyx.org>
217
218         * ispell.C (LaunchIspell::start):
219         * lyx_cb.C (AutoSaveBuffer::start):
220         invoke run(DontWait) rather than runNonBlocking().
221
222 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
225
226 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * kbsequence.C (print): adjust
229
230         * kbmap.C (printKeySym): rename and change signature
231         (printKey): use LyXKeySym::print()
232
233 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
234
235         * undo.C: add using std::advance to compile for stlport
236
237 2004-03-24  Angus Leeming  <leeming@lyx.org>
238
239         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
240         it leads to a crash when no buffer is present.
241
242 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243             Martin Vermeer  <martin.vermeer@hut.fi>
244
245         * lyxfunc.C (dispatch): 
246         * bufferparams.C (readToken): use the new LColor::setColor 
247
248         * LColor.[Ch] (setColor): new version that takes two strings as
249         argument and creates a new color entry if necessary
250
251 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
252
253         * buffer.C (makeLaTeXFile): if the main latex file that is
254         processed is usually a subdocument of some master, then pretend
255         for a while that it is actually the master
256
257 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
258
259         * buffer.C (getLabelList):
260         (getBibkeyList): use getMasterBuffer()
261         (getMasterBuffer): new method. Returns the main document in the
262         case where one is using included documents.
263
264 2004-03-25  André Pönitz  <poenitz@gmx.net>
265
266         * Makefile.am:
267         * iterators.[Ch]:
268         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
269
270         * ParagraphList_fwd.h: change ParagraphList to a std::vector
271
272         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
273         text*.C over here. Rename namespace CutAndPaste to lyx::cap
274
275         * ParameterStruct.h: merge with ParagraphParameters
276
277         * lyxtext.h: remove LyXText::parOffset() and getPar()
278
279         * text3.C: Remove all 'manual' update calls. We do now one per user
280         interaction which is completely sufficient.
281
282         * Bidi.C:
283         * BufferView.[Ch]:
284         * BufferView_pimpl.C:
285         * FontIterator.[Ch]:
286         * MenuBackend.C:
287         * ParagraphParameters.[Ch]:
288         * buffer.C:
289         * buffer.h:
290         * bufferlist.C:
291         * cursor.[Ch]:
292         * cursor_slice.[Ch]:
293         * dociterator.[Ch]:
294         * errorlist.[Ch]:
295         * factory.C:
296         * lfuns.h:
297         * lyxfind.C:
298         * lyxfunc.C:
299         * output_docbook.[Ch]:
300         * output_latex.[Ch]:
301         * output_linuxdoc.[Ch]:
302         * output_plaintext.[Ch]:
303         * paragraph.[Ch]:
304         * paragraph_funcs.[Ch]:
305         * paragraph_pimpl.[Ch]:
306         * rowpainter.C:
307         * tabular.[Ch]:
308         * text.C:
309         * text2.C:
310         * toc.C:
311         * undo.[Ch]: adjust
312
313         * frontends/controllers/ControlDocument.C:
314         * frontends/controllers/ControlErrorList.C:
315         * frontends/controllers/ControlSpellchecker.C:
316         * insets/inset.C:
317         * insets/inset.h:
318         * insets/insetbase.h:
319         * insets/insetbibitem.C:
320         * insets/insetbox.C:
321         * insets/insetbranch.C:
322         * insets/insetcaption.C:
323         * insets/insetcharstyle.C:
324         * insets/insetcharstyle.h:
325         * insets/insetcollapsable.C:
326         * insets/insetcollapsable.h:
327         * insets/insetert.C:
328         * insets/insetfloat.C:
329         * insets/insetfoot.C:
330         * insets/insetmarginal.C:
331         * insets/insetnote.C:
332         * insets/insetoptarg.C:
333         * insets/insettabular.C:
334         * insets/insettext.C:
335         * insets/insettext.h:
336         * insets/insetwrap.C:
337         * mathed/math_mboxinset.C:
338         * mathed/math_nestinset.C:
339         * mathed/math_scriptinset.C:
340         * mathed/math_scriptinset.h:
341         * support/types.h:
342
343 2004-03-24  Angus Leeming  <leeming@lyx.org>
344
345         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
346         deal with any child processes that have finished but are waiting to
347         communicate this fact to the rest of LyX.
348
349 2004-03-24  Angus Leeming  <leeming@lyx.org>
350
351         64-bit compile fixes.
352
353         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
354         (c-tor): pass lyx::pos_types rather than ints.
355
356         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
357         lyx::pos_type.
358
359         * text.C (Delete): compile fix.
360         (getPar): ensure that function declaration is the same as that in
361         the header file.
362
363 2004-03-23  Angus Leeming  <leeming@lyx.org>
364
365         * ispell.C (LaunchIspell):
366         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
367         a boost::shred_ptr rather than a std::auto_ptr.
368
369 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * lyxfunc.C (getStatus): handle read-only buffers correctly;
372         handle LFUN_FILE_INSERT_*
373
374         * lyxrc.C (setDefaults, getDescription, output, read):
375         * lyxrc.h: remove ps_command
376
377 2004-03-22  Angus Leeming  <leeming@lyx.org>
378
379         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
380         Ensure that error_handler is processed once only and that all data
381         is saved before attempting to output any warning messages.
382
383         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
384
385 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
386
387         * tabular.C (TeXRow): crash fix (from Kayvan and André)
388
389 2004-03-19  André Pönitz  <poenitz@gmx.net>
390
391         * cursor.[Ch] (reset): take main text inset as argument
392
393         * BufferView: adjust
394         * BufferView_pimpl.C: adjust
395
396         * paragraph.[Ch]: fix completely broken operator=()
397
398 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * LColor.C (getFromLyXName): make sure that the color name is used
401         as lowercase.
402
403 2004-03-17  Angus Leeming  <leeming@lyx.org>
404
405         * lfuns.h:
406         * LyXAction.C (init): remove LFUN_FORKS_KILL.
407
408         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
409         dialog and to kill a forked process.
410
411 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
412
413         * text2.C (setCursorFromCoordinates): fix font problem
414
415 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
416
417         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
418         bogus "rebuild cursor" code
419
420 2004-03-11  André Pönitz  <poenitz@gmx.net>
421
422         * buffer.[Ch]: use InsetText instead of LyXText as container for
423         the main lyx text.
424
425         * dociterator.[Ch]: drop the BufferView * member which is not needed
426         anymore after the change to buffer.C
427
428         * paragraph_funcs.C:
429         * text.C:
430         * text2.C:
431         * BufferView.[Ch]:
432         * BufferView_pimpl.[Ch]:
433         * cursor.[Ch]:
434         * cursor_slice.[Ch]: adjust
435
436         * text3.C: fix bug in mathDispatch
437
438 2004-03-08  André Pönitz  <poenitz@gmx.net>
439
440         * undo.[Ch]: use 'StableDocumentIterator' as base for
441         the Undo struct.
442
443 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
444
445         * LaTeXFeatures.C:
446         * bufferparams.[Ch]: add jurabib support and param.
447
448         * LaTeX.C: add FIXME/comment.
449
450 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
451
452         * buffer.C: increment file format to 230.
453
454 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * cursor.C (dispatch): avoid infinite loops
457
458 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
459
460         * rowpainter.C (paintSelection): fix x coordinates
461
462 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * text.C (rowBreakPoint): fix breaking before displayed insets
465
466 2004-03-01  André Pönitz  <poenitz@gmx.net>
467
468         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
469
470         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
471
472         * Makefile.am:
473         * BufferView.C:
474         * BufferView_pimpl.C:
475         * buffer.C:
476         * lyxfind.C:
477         * lyxfunc.C:
478         * text.C:
479         * text2.C:
480         * text3.C: adjust
481
482 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
483
484         * lyxtext.h:
485         * text.C:
486         * text2.C:
487         * rowpainter.C:
488         * BufferView_pimpl.C: rename textwidth -> maxwidth,
489         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
490
491 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
492
493         * Bidi.[Ch] (computeTables): const correctness
494         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
495         fill_hfill, fill_label_hfill and x from Row
496         * lyxtext.h: prepareToPrint returns a RowMetrics
497         * rowPainter.C: adjust
498         * text.C (prepareToPrint): use width, not textWidth. adjust
499         (redoParagraphInternal, cursorX): adjust
500         * text2.C (getColumnNearX): adjust
501         (init): put a default value to the top LyXText::width
502
503 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
504
505         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
506
507 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
508
509         * lyxtext.h: add FontIterator class
510
511         * text.C (FontIterator, operator*, operator->, operator++): add
512         (rowBreakPoint, setRowWidth): adjust (fixing a
513         rebreaking bug)
514
515 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * BufferView_pimpl.C (workAreaDispatch): allow also
518         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
519
520 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
521
522         * text.C (rowBreakPoint): fix a bug showing with very large insets
523
524 2004-02-25  André Pönitz  <poenitz@gmx.net>
525
526         * text3.C:
527         * cursor.[Ch]: move some mathed specific code to mathed
528
529 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
530
531         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
532         use_tempdir in preferences
533         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
534         tempfile creation
535         * lyx_main.C: ensure that tempdir is valid
536         * lyxlex.h: correct typo
537         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
538         * paragraph.[Ch] (isMultiLingual): make const
539         * cursor.[Ch] (openable): make const
540
541 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
542
543         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
544
545 2004-02-20  André Pönitz  <poenitz@gmx.net>
546
547         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
548
549         * cursor.[Ch]: prepare for localized getStatus()
550
551         * lyxtext.h:
552         * tabular.C:
553         * text.C:
554         * text2.C:
555         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
556
557 2004-02-20  André Pönitz  <poenitz@gmx.net>
558
559         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
560
561 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
562
563         * text2.C (setCursorFromCoordinates): switch to absolute coords
564         (cursorUp): adjust
565         (cursorDown): adjust
566         * text3.C (dispatch): adjust
567
568 2004-02-16  André Pönitz  <poenitz@gmx.net>
569
570         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
571           insets/ChangeLog)
572
573         * cursor_slice.[Ch]: remove unneeded acessor function
574
575         * lyxtext.h: rename rtl() to isRTL()
576
577         * rowpainter.C:
578         * tabular.C:
579         * text.C:
580         * text2.C:
581         * text3.C: adjust
582
583 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * rowpainter.C (paintSelection): coord fix
586
587 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
588
589         * Spacing.C: compile fix
590
591 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
592
593         * cursor.C (dispatch): restore current_ before returning
594
595 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
596
597         * text2.C (cursorUp, cursorDown): fix coords
598         (moveUp): fix crash
599
600 2004-02-12  André Pönitz  <poenitz@gmx.net>
601
602         * lyxtext.h:
603         * text.C:
604         * text2.C:
605         * text3.C: add LCursor & parameter to most cursor movement functions
606           remove usage of LyXText::cursorRow() and cursorPar()
607
608         * cursor.[Ch]: add textRow() needed members
609
610         * BufferView.C:
611         * BufferView_pimpl.C:
612         * paragraph.[Ch]:
613         * BufferView.C:
614         * BufferView_pimpl.C: adjust
615
616 2004-02-11  André Pönitz  <poenitz@gmx.net>
617
618         * lyxfunc.C:
619         * BufferView.[Ch]:
620         * BufferView_pimpl.C: shift undo/redo handling
621
622         * cursor.[Ch]: fix mathed crash
623
624         * lyxfind.C:
625         * lyxtext.h: move selectionAsText to LCursor
626
627         * output_latex.C:
628         * paragraph.C:
629         * text.C:
630         * text2.C:
631         * text3.C: adjust
632
633         * rowpainter.C: fix excessive drawing
634
635 2004-02-06  André Pönitz  <poenitz@gmx.net>
636
637         * BufferView.[Ch]:
638         * BufferView_pimpl.[Ch]:
639         * text3.C: move some text specific LFUN handling
640
641 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
642
643         * text3.C (checkInsetHit): adjust coords
644         * text2.C (getColumnNearX): adjust coords
645         (edit): adjust coords
646         * text.C (getRowNearY): add two asserts
647
648 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
649
650         * converter.C:
651         * format.C: add using std::distance to compile on gcc 2.95/stlport
652
653 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
654
655         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
656
657 2004-02-04  André Pönitz  <poenitz@gmx.net>
658
659         * BufferView.[Ch] (insertInset):
660         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
661
662         * text2.C:
663         * text3.C: adjust
664
665 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
668         on the default clause of the switch
669         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
670         wasn't catched by LCursor::dispatch
671
672 2004-02-03  André Pönitz  <poenitz@gmx.net>
673
674         * BufferView.C:
675         * cursor.[Ch]: some additional asserts
676
677         * undo.[Ch]: remove LyXText dependency in interface
678
679         * lyxfunc.C: adjust
680
681         * lyxtext.h (firstPar, lastPar): remove dead functions
682
683         * text.C:
684         * text2.C:
685         * text3.C:
686         * paragraph.[Ch]: adjust
687
688 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
689
690         * lyxfind.C (find): fix argument order in call to ::find
691
692 2004-02-02  André Pönitz  <poenitz@gmx.net>
693
694         * cursor.[Ch]: remove direct access to anchor
695
696         * text.C: remove findText() hack
697
698 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
699
700         * iterators.[Ch] (lockPath): remove in favour of...
701         * BufferView.[Ch] (setCursor): this addition
702         * BufferView.C (putSelectionAt): adjust
703         * undo.C (performUndoOrRedo): adjust
704         * lyxfunc.C (dispatch): adjust
705
706 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
707
708         * iterators.C (lockPath): add a missing slice
709         * undo.C (performUndoOrRedo): remove redundant positioning code
710
711 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
712
713         * vc-backend.C (scanMaster): ";" -> ';'
714
715 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
716
717         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
718         std::binary_function
719
720         * lyxtextclass.C (compare_name): rename to...
721         (LayoutNamesEqual): ...this
722
723         * lyxlex_pimpl.C (compare_tags): inherit from
724         std::binary_function, put back into anon namespace
725
726         * lyxfind.C (MatchString): inherig from std::binary_function
727         (findChange): use empty() istead of !size()
728
729         * format.C (FormatNamesEqual): new functor
730         (getFormat): use it
731         (getNumber): use it
732         (add): use it
733         (erase): use it
734         (setViewer): use it
735
736         * converter.C (compare_Converter): rename to...
737         (ConverterEqual): ...this, and fixup a bit.
738         (getConverter): use it, and make function const
739         (getNumber): use it, and make function const
740         (add): use it
741         (erase): use it:
742
743         * bufferlist.C: add using boost::bind
744
745         * MenuBackend.C (MenuNamesEqual): new functor
746         (hasMenu): use it, and make function const
747         (hasSubmenu): use nested bind to get rid of compare_memfun.
748
749 2004-01-30  André Pönitz  <poenitz@gmx.net>
750
751         * BufferView_pimpl.C:
752         * cursor.C:
753         * cursor.h:
754         * cursor_slice.[Ch]:
755         * lyxfunc.C:
756         * lyxtext.h:
757         * paragraph_funcs.C:
758         * paragraph_funcs.h:
759         * rowpainter.C:
760         * text.C:
761         * text2.C:
762         * text3.C: move some of the edit(x,y) handling to the insets
763         some coordinate changes.
764
765 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
766
767         * text.C: add using statements for std::advance and std::distance
768
769         * paragraph.C: add using statement for std::distance
770
771         * lyxfind.C: add using statement for std::advance
772
773         * cursor.C (region): remove std:: from swap
774         (openable): use nucleus in stead of operator->
775
776         * BufferView.C: add using statements for std::distance and std::swap
777
778 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
779
780         * iterators.C: Remove the pimple, move the needed structures to
781         the header file. Create accessor for the positions stack.
782         (asPosIterator): remove function
783
784         * PosIterator.C (PosIterator): move constructors to top of file
785         (PosIterator): reimplement the constructor taking a ParIterator in
786         terms of setFrom.
787         (setFrom): new function
788         (operator!=): inline it
789
790 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
791
792         * lyxfind.C (replaceAll): use std::advance
793
794         * iterators.h: inherit from std::iterator.
795
796         * PosIterator.C (advance, distance): remove
797         * PosIterator.h: interit from std::iterator.
798
799 2004-01-26  André Pönitz  <poenitz@gmx.net>
800
801         * BufferView.[Ch]:
802         * BufferView_pimpl.[Ch]:
803         * InsetList.[Ch]:
804         * PosIterator.[Ch]:
805         * buffer.h:
806         * bufferview_funcs.C:
807         * cursor.[Ch]:
808         * cursor_slice.h:
809         * factory.[Ch]:
810         * iterators.[Ch]:
811         * lyxfind.C:
812         * lyxfunc.C:
813         * lyxtext.h:
814         * output_docbook.C:
815         * output_latex.C:
816         * output_linuxdoc.C:
817         * output_plaintext.C:
818         * paragraph.[Ch]:
819         * paragraph_funcs.[Ch]:
820         * paragraph_pimpl.[Ch]:
821         * rowpainter.C:
822         * tabular.C:
823         * tabular.h:
824         * text.C:
825         * text2.C:
826         * text3.C: more IU:  dumps most of the rest of the mathcursor
827     implementation into cursor.[Ch]; "globalize" a bit of it.
828
829 2004-01-25  Angus Leeming  <leeming@lyx.org>
830
831         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
832
833 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
834
835         * LaTeXFeatures.h: add nice_ and nice() const
836         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
837
838 2004-01-20  André Pönitz  <poenitz@gmx.net>
839
840         * BufferView.[Ch]:
841         * BufferView_pimpl.C:
842         * PosIterator.C:
843         * bufferview_funcs.C:
844         * cursor.[Ch]:
845         * cursor_slice.[Ch]:
846         * factory.C:
847         * iterators.C:
848         * lyx_cb.C:
849         * lyxfind.C:
850         * lyxfunc.C:
851         * lyxtext.h:
852         * rowpainter.C:
853         * text.C:
854         * text2.C:
855         * text3.C:
856         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
857           LCursor and mathcursor parts to LCursor and InsetBase.
858
859 2004-01-15  André Pönitz  <poenitz@gmx.net>
860
861         * cursor_slice.[Ch]: add a few covienience functions
862
863         * funcrequest.[Ch]: remove BufferView * member
864
865         * BufferView_pimpl.C:
866         * cursor.C:
867         * factory.[Ch]:
868         * lyxfind.[Ch]:
869         * lyxfunc.C:
870         * lyxtext.h:
871         * text3.C:
872         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
873
874 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
875
876         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
877         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
878
879 2004-01-13  André Pönitz  <poenitz@gmx.net>
880
881         * textcursor.[Ch]:
882         * lyxtext.h: hide cursor and selection anchor behind accessor function
883
884         * BufferView.C:
885         * BufferView_pimpl.[Ch]:
886         * PosIterator.C:
887         * bufferview_funcs.C:
888         * cursor.h:
889         * lyxfind.C:
890         * lyxfunc.C:
891         * text.C:
892         * text2.C:
893         * text3.C:
894         * undo.C: adjust
895
896         * cursor.h:
897         * cursor_slice.[Ch]: some integer type changes for inset unification
898
899         * lyxcursor.[hC]: remove, it's CursorSlice now.
900
901         * Makefile.am:
902         * BufferView_pimpl.[Ch]:
903         * bufferview_funcs.C:
904         * cursor_slice.C:
905         * lyxtext.h:
906         * text.C:
907         * text2.C:
908         * text3.C:
909         * textcursor.[Ch]: adjust
910
911 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
912
913         * text2.C (undoSpan): add and use
914         * text.C (breakParagraph): use undoSpan (fix bug 578)
915         * lyxtext.h: adjust
916
917 2004-01-08  Angus Leeming  <leeming@lyx.org>
918
919         * BufferView_pimpl.C (MenuInsertLyXFile):
920         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
921         * lyxfunc.C (menuNew, open, doImport):
922         FileFilterList change to the FileDialog open and save functions.
923
924 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
925
926         * ShareContainer.h: make isEqual and isUnique adaptable
927
928         * CutAndPaste.C: make resetOwnerAndChanges adaptable
929
930 2004-01-07  Angus Leeming  <leeming@lyx.org>
931
932         * LyXAction.C:
933         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
934
935         * BufferView_pimpl.C (dispatch): act on these LFUNs.
936
937         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
938         functions replacing find, replace and replaceAll.
939
940         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
941         LFUN_WORDFIND(FORWARD|BACKWARD).
942
943 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
944
945         * text.C (breakParagraph): remove an outdated #warning
946
947 2004-01-07  André Pönitz  <poenitz@gmx.net>
948
949         * lyxfind.C: somewhat clearer logic
950
951         * text.C: prevent crash in cursorX on unitialized row cache
952
953 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * lyxcursor.[Ch] (operator>): add
956         * textcursor.C (selStart, selEnd): use std::min and std::max
957
958 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
959
960         * Chktex.C: include boost/format.hpp
961
962 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
963
964         * InsetList.C: replace functor MathcIt with adaptable functor
965         InsetTablePosLess
966         (insetIterator): modify accordingly
967
968         * BranchList.h: move the BranchNamesEqual functor here from...
969         * BranchList.C: ... to here
970
971         * BranchList.C: new BranchListEqual fuctor, use it. Remove
972         SameName and match.
973         (add): replace a finding loop with std::find_if.
974
975 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
976
977         * output_docbook.C: moving LatexParam functionality into
978         .layout files
979
980 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
981
982         * buffer.C: increment format to 229.
983
984 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
985
986         * LaTeXFeatures.C:
987         * lyx_sty.[Ch]: remove minipageindent_def
988
989         * LyXAction.C:
990         * factory.C:
991         * lfuns.h:
992         * lyxfunc.C:
993         * text3.C: remove LFUN_INSET_MINIPAGE
994
995 2003-12-28  Angus Leeming  <leeming@lyx.org>
996
997         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
998
999 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * text2.C (setParagraph): fix off-by-one crash
1002
1003 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1004
1005         * output_docbook.C: header stuff for AGU
1006
1007 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1008
1009         * text2.C (redoCursor): remove
1010         * text.C:
1011         * text3.C:
1012         * BufferView_pimpl.C: remove calls to redoCursor and
1013         setCursor(cursor.par(), cursor.pos()) all around
1014
1015 2003-12-15  Angus Leeming  <leeming@lyx.org>
1016
1017         * buffer.C: up the format to 228.
1018
1019 2003-12-15  André Pönitz  <poenitz@gmx.net>
1020
1021         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1022         slices
1023
1024         * Makefile.am:
1025
1026         * BufferView_pimpl.C:
1027         * cursor.[Ch]:
1028         * lyxcursor.[Ch]:
1029         * rowpainter.[Ch]:
1030         * lyxtext.h:
1031         * text.C:
1032         * text2.C:
1033         * text3.C: adjust
1034
1035 2003-12-15  Angus Leeming  <leeming@lyx.org>
1036
1037         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1038         than getFromGUIName to manipulate the color.
1039
1040 2003-12-14  Angus Leeming  <leeming@lyx.org>
1041
1042         * BranchList.[Ch]: minimize the API.
1043         (Branch::getBranch, getColor): now return a 'const &'.
1044         (Branch::setSelected) now returns a bool set to true if the
1045         selection status changes.
1046         (BranchList::clear, size, getColor, setColor, setSelected,
1047         allBranches, allSelected, separator): removed.
1048         (BranchList::find): new functions, returning the Branch with
1049         the given name.
1050         (BranchList::add, remove): return a bool indicating that
1051         the operation was successful.
1052
1053         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1054         new InsetBranch::isBranchSlected member function.
1055
1056         * LColor.[Ch]: mimimize the API.
1057         (fill): renamed as addColor and made private.
1058         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1059         versions of these functions taking a string arg have been removed.
1060
1061         * bufferparams.C (readToken):
1062         * lyxfunc.C (dispatch):
1063         * lyxrc.C (read): changes due to the altered BranchList and
1064         LColor APIs.
1065
1066         * factory.C (createInset, readInset): changes due to altered
1067         InsetBranch c-tor.
1068
1069 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1070
1071         * factory.C:
1072         * lyxfunc.C: remove insetminipage. "minipage-insert"
1073         now produces a frameless minipage box inset.
1074
1075 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1076
1077         * textcursor.[Ch] (selStart,selEnd): add new methods
1078         remove selection::start, end, use LyXCursor::operator<
1079         * lyxcursor.[Ch] (operator<): add
1080         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1081         * BufferView.[Ch] (unsetXSel): add
1082         * text2.C (clearSelection): use unsetXSel,adjust
1083         * text.C: adjust
1084         * text3.C: adjust
1085         * rowpainter.C: adjust
1086         * bufferview_funcs.C (put_selection_at): adjust
1087
1088 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1089
1090         * BufferView_pimpl.C: small coord. correction
1091
1092 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1093
1094         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1095         dragging over the splash screen.
1096
1097 2003-12-11  Angus Leeming  <leeming@lyx.org>
1098
1099         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1100         as it is now handled in LyXText::dispatch.
1101
1102         * text3.C (doInsertInset): remove a level of nesting.
1103
1104 2003-12-11  Angus Leeming  <leeming@lyx.org>
1105
1106         * factory.C (createInset): changes due to the changed interface to
1107         InsetCommandMailer::string2params.
1108
1109 2003-12-10  Angus Leeming  <leeming@lyx.org>
1110
1111         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1112         'dialog-show-new-inset <inset name>'
1113
1114 2003-12-10  Angus Leeming  <leeming@lyx.org>
1115
1116         * buffer.C: up the format to 227.
1117
1118         * factory.C: the box inset is now identified simply by 'Box'.
1119
1120 2003-12-10  Angus Leeming  <leeming@lyx.org>
1121
1122         * buffer.C: up the format to 226.
1123
1124         * factory.C: the note inset is now identified simply by 'Note'.
1125
1126 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1127
1128         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1129         when a pit is enough. Standarize a couple of loops.
1130
1131 2003-12-05  Angus Leeming  <leeming@lyx.org>
1132
1133         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1134         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1135         data to the re-worked "log" dialog.
1136
1137 2003-12-03  André Pönitz  <poenitz@gmx.net>
1138
1139         * PosIterator.C:
1140         * iterators.C:
1141         * lyxtext.h:
1142         * output_latex.C:
1143         * paragraph_funcs.C:
1144         * text.C:
1145         * text2.C: use Inset::getText instead of Inset::getParagraph
1146
1147 2003-12-03  André Pönitz  <poenitz@gmx.net>
1148
1149         * buffer.[Ch]:
1150         * lyxtext.h:
1151         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1152         InsetText::read() as LyXText::read()
1153
1154 2003-12-02  Angus Leeming  <leeming@lyx.org>
1155
1156         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1157         type. Add a comment in the implementation that the function uses
1158         the stream's bad() function rather than fail() as the std::streams
1159         would do.
1160
1161 2003-12-02  André Pönitz  <poenitz@gmx.net>
1162
1163         * lyxlex.[Ch]: make interface more similar to std::stream
1164
1165         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1166
1167 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1168
1169         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1170
1171 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1172
1173         * vspace.[Ch]: remove VSpace::NONE
1174
1175 2003-12-01  André Pönitz  <poenitz@gmx.net>
1176
1177         * buffer.[Ch]:
1178         * lyxtext.h: move ParagraphList member to LyXText
1179         rename LyXText::ownerParagraphs to LyXText::paragraph
1180
1181         * CutAndPaste.C:
1182         * bufferview_funcs.C:
1183         * iterators.[Ch]:
1184         * lyx_cb.C:
1185         * paragraph.C:
1186         * rowpainter.C:
1187         * tabular.C:
1188         * text.C:
1189         * text2.C:
1190         * text3.C: adjust
1191
1192         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1193
1194         * undo.C: fix cursor positioning
1195
1196 2003-12-01  John Levon  <levon@movementarian.org>
1197
1198         * BufferView_pimpl.C: fix a crash on exit with
1199         a buffer open
1200
1201 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1202
1203         * BranchList.C: fix setSelected() method.
1204
1205 2003-11-28  André Pönitz  <poenitz@gmx.net>
1206
1207         * ParagraphParameters.[Ch]:
1208         * ParameterStruct.h: remove space above/below from Paragraph to
1209          InsetVSpace
1210
1211         * BufferView_pimpl.C:
1212         * factory.C:
1213         * lyxfunc.C:
1214         * lyxtext.h:
1215         * output_latex.C:
1216         * paragraph.C:
1217         * paragraph_funcs.C:
1218         * rowpainter.[Ch]:
1219         * text.C:
1220         * text2.C:
1221         * text3.C: adjust
1222
1223 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1224
1225         * factory.C: Syntax change for CharStyles
1226
1227 2003-11-28  André Pönitz  <poenitz@gmx.net>
1228
1229         * BufferView.[Ch]:
1230         * BufferView.[Ch]:
1231         * buffer.[Ch]:
1232         * buffer.[Ch]: move LyXText member
1233
1234 2003-11-28  André Pönitz  <poenitz@gmx.net>
1235
1236         * BufferView.[Ch]: make LyXText * text a private member
1237
1238         * BufferView_pimpl.C:
1239         * cursor.C:
1240         * iterators.C:
1241         * lyx_cb.C:
1242         * lyxfind.C:
1243         * lyxtext.h:
1244         * rowpainter.[Ch]:
1245         * text.C:
1246         * text2.C:
1247         * undo.C: adjust
1248
1249         * output_plaintext.C: cleanup
1250
1251 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * buffer.C:
1254         * lyxtextclass.[Ch]: parametrize SGML document header
1255
1256 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1257
1258         * converter.[Ch]:
1259         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1260         getFlavor().
1261
1262 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * text2.C (setFont): rework using PosIterator (no more recursive)
1265         (setCharFont): no more needed
1266         (setLayout): no more selection cursors fiddling (done by redoCursor)
1267         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1268         destroy remaining ones)
1269
1270 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1273         * lyxtext.h: ditto
1274         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1275         selection cursors
1276         * lyxfunc.C: adjust
1277         * text3.C: adjust + re-allow multi par depth changes
1278         * textcursor.C: simplify a bit
1279
1280 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1281
1282         * src/buffer.C:
1283         * src/lyxlayout.C:
1284         * src/lyxlayout.h:
1285         * src/lyxtext.h:
1286         * src/output_docbook.C:
1287         * src/output_latex.C:
1288         * src/paragraph.C:
1289         * src/paragraph.h:
1290         * src/sgml.C:
1291         * src/sgml.h:
1292         * src/text2.C: Introducing a number of tags parametrizing various
1293         XML formats that we may want to support
1294
1295 2003-11-25  André Pönitz  <poenitz@gmx.net>
1296
1297         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1298
1299         * lyxtext.h (leftMargin/rightMargin): simplify interface
1300
1301         * rowpainter.C:
1302         * text.C:
1303         * text2.C:
1304         * text3.C: adjust
1305
1306 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1307
1308         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1309         master file to any child files. Fixes bug 546.
1310
1311 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1314
1315 2003-11-24  André Pönitz  <poenitz@gmx.net>
1316
1317         * rowpainter.C: simplification
1318
1319         * text2.C (updateCounters): remove call to redoParagraph on
1320         changed labels as this is far too expensive.
1321
1322 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1323
1324         * converter.C (convert): fix a crash: this function gets
1325         called with buffer == 0 from importer code.
1326
1327 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1328
1329         * text3.C (cursorPrevious): make sure that we do not compare
1330         iterators form different containers.
1331         (cursorNext): ditto
1332
1333         * rowpainter.C (paintSelection): make sure that we do not compare
1334         iterators from different containers.
1335
1336         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1337         iterators from different ParagraphList containers.
1338         [NEXT] ditto
1339
1340         * text2.C (LyXText): change order of initialization slightly
1341         (operator=): new function. copy all variables except cache_par_
1342         (moveUp): make sure that we do not compare iterators from
1343         different ParagraphList constainers.
1344         (moveDown): ditto
1345
1346         * text.C (firstPar): new function
1347         (lastPar): new function
1348         (endPar): new function
1349
1350         * lyxtext.h: move things around and group public functions, public
1351         variables, private functions, private variables
1352
1353 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1354
1355         * factory.C: change call to InsetERT constructor to avoid
1356         additional invocation of method status
1357         * text2.C (toggleInset): remove redundant update() call
1358         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1359         instead of a Bufferview pointer
1360
1361 2003-11-21  André Pönitz  <poenitz@gmx.net>
1362
1363         * rowpainter.C: simplification
1364
1365 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * text3.C (dispatch): make possible to extend a word/row selection
1368         with the mouse
1369
1370 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * lyxtext.h: x0_,y0_ -> xo_,yo_
1373         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1374         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1375         * rowpainter.C (paintRows): paint full paragraphs
1376
1377 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1380         screen coordinates)
1381
1382 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1383
1384         * lyxtext.h: add x0_, y0_
1385         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1386         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1387
1388 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * text2.C (setCursorIntern): move the x_target update here *
1391         * text3.C: change some bv() to true/false in calls to
1392         cursorUp/Down/Right/Left
1393         * cursor.C: use helper function.
1394
1395 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1396
1397         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1398         * paragraph_funcs.[Ch]: correct comment
1399         * rowpainter.C: do not paint selections away from bv->cursor()
1400         Fix a long standing selection painting bug.
1401         * text3.C: generalize mouse-selection code to LyXTexts other that
1402         top one
1403         * textcursor.C: do not use y coords if we can use par offsets
1404
1405 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1406
1407         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1408         cursor position after e.g. inset insert)
1409
1410 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1411
1412         * lyxfind.C (replace): adjust to locking removal + some
1413         code simplification
1414
1415 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1416
1417         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1418         of the path
1419
1420 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1421
1422         * lyxlayout.[Ch]:
1423         * output_docbook.C: XML sanitation: new layout
1424         parameters InnerTag and CommandDepth
1425
1426 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1427
1428         * BufferView_pimpl.C:
1429         * factory.C:
1430         * text3.C: Fix the insertion and modification of button-style
1431         insets
1432
1433 2003-11-13  André Pönitz  <poenitz@gmx.net>
1434
1435         * InsetList.[Ch]: remove deleteLyXText
1436
1437         * paragraph.[Ch]: cache beginOfBody position
1438
1439         * Bidi.C:
1440         * text.C:
1441         * text2.C:
1442         * text3.C: remove superfluous update() calls
1443
1444         * vspace.C: cleanup
1445
1446 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1449         * BufferView.C (fitLockedInsetCursor): remove
1450         * cursor.[Ch] (getDim): add
1451         * text.C (getRowNearY): add faster version
1452         * text3.C: remove some update calls
1453
1454 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1455
1456         * LaTeXFeatures.C:
1457         * LyXAction.C:
1458         * MenuBackend.C:
1459         * MenuBackend.h:
1460         * dispatchresult.h:
1461         * factory.C:
1462         * lfuns.h:
1463         * lyxfunc.C:
1464         * lyxtextclass.C:
1465         * lyxtextclass.h:
1466         * text3.C: The Character Style /XML short element patch.
1467
1468 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1469
1470         * text3.C:
1471         * factory.C: Small step to solving 'unable to insert some insets'
1472         problem
1473
1474 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1475
1476         * cursor.[Ch] (updatePos): new function for updating the y
1477         position of the tip inset
1478         * bufferview_funcs.C (put_selection_at):
1479         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1480
1481 2003-11-11  André Pönitz  <poenitz@gmx.net>
1482
1483         * text.C: remove big comment on invalid Paragraph pointers as it is
1484         not valid anymore
1485
1486 2003-11-11  André Pönitz  <poenitz@gmx.net>
1487
1488         * text_funcs.[Ch]: merge with ...
1489
1490         * text.C: ... this
1491
1492         * lyxtext.h:
1493         * text2.C:
1494         * text3.C: adjust
1495
1496         * Makefile.am: remove text_funcs.[Ch]
1497
1498 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1499
1500         * cursor.C (getPos): return absolute cached y coord
1501
1502         * BufferView_pimpl.C (fitCursor): new simplistic code
1503         (workAreaDispatch): add a fitCursor call
1504
1505 2003-11-10  André Pönitz  <poenitz@gmx.net>
1506
1507         * BufferView.[Ch]:
1508         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1509
1510 2003-11-10  André Pönitz  <poenitz@gmx.net>
1511
1512         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1513         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1514         indicate that the cursor needs to leave an inset
1515
1516         * lyxtext.h: remove inset locking
1517
1518         * cursor.[Ch]: re-implement functionality provided by inset locking
1519
1520         * BufferView.[Ch]:
1521         * BufferView_pimpl.[Ch]:
1522         * LyXAction.C:
1523         * bufferview_funcs.[Ch]:
1524         * factory.C:
1525         * funcrequest.[Ch]:
1526         * iterators.C:
1527         * lyx_cb.C:
1528         * lyxfind.C:
1529         * lyxfunc.C:
1530         * text.C:
1531         * text2.C:
1532         * text3.C:
1533         * undo.C: adjust
1534
1535 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1536
1537         * PosIterator.[Ch]: replace the stack with a vector, add inset
1538         accesor
1539         * iterators.[C]: adjust
1540
1541 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1542
1543         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1544         replaced
1545         * paragraph_funcs.C (readParToken): put the correct id in the
1546         error item, not the id of the top paragraph
1547
1548 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1549
1550         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1551         * bufferview_funcs.C (put_selection_at): use the above
1552
1553 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1554
1555         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1556
1557 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1558
1559         * output_linuxdoc.h:
1560         * output_plaintext.h:
1561         * output.h:
1562         * output_docbook.h: add #include statements
1563
1564 2003-11-05  José Matos  <jamatos@lyx.org>
1565
1566         * output_docbook.[Ch]:
1567         * output_latex.[Ch]:
1568         * output_linuxdoc.[Ch]:
1569         * output_plaintext.[Ch]: New files for output formats.
1570         * output.[Ch]: New file for helper functions.
1571
1572         * buffer.[Ch]:
1573         * paragraph_funcs.[Ch]: output functions moved to new files.
1574
1575         * outputparams.h: rename of latexrunparams.h
1576
1577         * LaTeX.[Ch]:
1578         * buffer.[Ch]:
1579         * bufferlist.[Ch]:
1580         * converter.[Ch]:
1581         * exporter.C:
1582         * paragraph.[Ch]:
1583         * paragraph_funcs.[Ch]:
1584         * paragraph_pimpl.[Ch]:
1585         * tabular.[Ch]: rename ascii to plaintext
1586         and LatexRunParams to OutputParams.
1587
1588 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1589
1590         * iterators.[Ch] (text): require bv argument
1591         * undo.C (recordUndo):
1592         * lyxfunc.C (dispatch):
1593         * bufferview_funcs.C (put_selection_at): adjust
1594
1595 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1596
1597         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1598
1599 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1600
1601         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1602         nestings
1603
1604 2003-11-04  André Pönitz  <poenitz@gmx.net>
1605
1606         * cursor.[Ch]: restructure
1607
1608         * BufferView.[Ch]:
1609         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1610
1611         * iterators.[Ch] (asCursor): remove
1612
1613         * lfuns.h: remove LFUN_INSET_EDIT
1614
1615         * lyxfunc.C:
1616         * tabular.C:
1617         * text.C:
1618         * text2.C:
1619         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1620
1621 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1622
1623         * lyxfind.[Ch]: complete overhaul
1624         * BufferView_pimpl.C:
1625         * lyxfunc.C: adjust
1626         * paragraph.[Ch] (insert): add
1627
1628 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * BufferView.[Ch]:
1631         * lyxtext.h:
1632         * text.C: remove dead spellcheck code
1633
1634 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1635
1636         * dispatchresult.h: add a val setter
1637
1638         * cursor.C (dispatch): use a tempvar for data_[i]
1639
1640 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1641
1642         * PosIterator.[Ch]: compile fix
1643
1644 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1645
1646         * text.C (cursorPar): deactivate the cursor cache
1647
1648 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1649
1650         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1651
1652 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1653
1654         * text3.C (dispatch): adjust for new DisptchResult semantics.
1655
1656         * lyxfunc.C (dispatch): handle update when return from
1657         Cursor::dispatch, adjust for new DispatchResult semantics.
1658
1659         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1660         DispatchResult(true) mean to not update. Add class functions for
1661         setting dispatched and update, as well as reading.
1662
1663         * cursor.C (dispatch): don't handle update here
1664
1665 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1666
1667         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1668         * trans_mgr.C: adjust
1669
1670         * paragraph_funcs.C (readParToken): exception safety
1671
1672         * lyxvc.h: store the vcs pointer in a scoped_ptr
1673         * lyxvc.C: adjust
1674
1675         * lyxsocket.C (serverCallback): exception safety
1676
1677         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1678
1679         * ispell.C (clone): make it return a auto_ptr
1680
1681         * factory.C (createInset): exception safety
1682         (readInset): exception safety
1683
1684         * bufferlist.C (newBuffer): exception safety
1685
1686         * Thesaurus.C (Thesaurus): use initialization for aik_
1687
1688         * MenuBackend.C (expandToc): exception safety.
1689
1690 2003-11-03  André Pönitz  <poenitz@gmx.net>
1691
1692         * buffer.C:
1693         * buffer.h:
1694         * bufferview_funcs.C: remove getInsetFromId()
1695
1696         * lyxcursor.[Ch]:
1697         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1698
1699         * lyxfunc.C:
1700         * text2.C:
1701         * text3.C: adjust
1702
1703 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1704
1705         * PosIterator.C (distance, advance): new
1706         * bufferview_funcs.[Ch] (put_selection_at): new
1707         * iterators.[Ch] (lockPath): new
1708
1709 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1710
1711         * iterators.[Ch] (asPosIterator): added
1712         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1713         * PosIterator.[Ch]: added
1714
1715 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1716
1717         * text3.C:
1718         * lyxfunc.C:
1719         * cursor.C (dispatch):
1720         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1721
1722         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1723         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1724         contructor, add a class function dispatched. Remove operator>=
1725
1726 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1727
1728         * debug.C: only use the default constructor for debugstream
1729         (lyxerr) here.
1730
1731         * main.C (main): include debug.h and setup the lyxerr streambuf
1732         here.
1733
1734 2003-10-31  José Matos  <jamatos@lyx.org>
1735
1736         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1737
1738         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1739         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1740         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1741         * paragraph_pimpl.C (simpleTeXSpecialC):
1742         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1743         add LatexRunParams argument.
1744
1745         * exporter.C (Export): change call accordingly.
1746
1747         * latexrunparams.h: add new member to take care of the other backends.
1748 2003-10-30  José Matos  <jamatos@lyx.org>
1749
1750         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1751         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1752         factorise code for paragraph output.
1753         * buffer.[Ch]:
1754         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1755         move functions.
1756
1757 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1758
1759         * text3.C (dispatch):
1760         * lyxfunc.C (dispatch):
1761         * cursor.C (dispatch):
1762         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1763
1764         * dispatchresult.h: make the dispatch_result_t ctor explicit
1765
1766 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1767
1768         * sgml.[Ch]:
1769         * buffer.C: small refactoring of docbook stuff
1770
1771 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1772
1773         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1774         meaning.
1775
1776 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1777
1778         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1779         operator dispatch_result_t, and operators for == != and >=
1780
1781         * cursor.C (dispatch): adjust for operator dispatch_result_t
1782         removal. comment out call to update
1783
1784         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1785
1786 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1787
1788         * text3.C:
1789         * text2.C:
1790         * text.C:
1791         * lyxtext.h:
1792         * lyxfunc.C:
1793         * cursor.C:
1794         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1795         (dispatch):
1796
1797         * dispatchresult.h: new file, DispatchResult broken out of
1798         insets/insetbase.h
1799
1800         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1801
1802 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1803
1804         * text.C (rowBreakPoint): put a hack inside #if 0
1805
1806 2003-10-28  André Pönitz  <poenitz@gmx.net>
1807
1808         * lyxtext.h:
1809         * metricsinfo.C:
1810         * paragraph_funcs.C:
1811         * rowpainter.C:
1812         * text.C:
1813         * text2.C: general cleanup (lots of small stuff)
1814
1815 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1816
1817         * text2.C (cursorEnd): simple fix to the "end key goes to one
1818         before the end on last row" bug
1819
1820 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1821
1822         * text.C (backspace): fix the "zombie characters"
1823
1824 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1825
1826         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1827
1828 2003-10-27  André Pönitz  <poenitz@gmx.net>
1829
1830         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1831
1832         * factory.C: handle new InsetPagebreak, InsetLine
1833
1834         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1835         and move handling into new InsetPagebreak, InsetLine
1836
1837         * BufferView_pimpl.C:
1838         * LyXAction.C:
1839         * ParagraphParameters.C:
1840         * ParameterStruct.h:
1841         * lyxfunc.C:
1842         * lyxtext.h:
1843         * paragraph.C:
1844         * paragraph.h:
1845         * paragraph_funcs.C:
1846         * paragraph_pimpl.C:
1847         * rowpainter.C:
1848         * text.C:
1849         * text2.C:
1850         * text3.C: adjust
1851
1852 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1853
1854         * text.C:
1855         * lyxrow_funcs.[Ch]:
1856         * Bidi.C:
1857         * paragraph.C:
1858         * lyxtext.h:
1859         * rowpainter.C:
1860         * text2.C:
1861         * text3.C: remove lastPos uses in favour of Row::endpos
1862
1863 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1864
1865         * undo.C (performUndoOrRedo): fix two crashes by setting a
1866         cursor by hand and reordering some calls. Use bv->lockInset instead
1867         of inset->edit because the latter loses cursor information
1868
1869 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1870
1871         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1872         by Martin
1873         (rowBreakPoint): fix width. change point to point + 1.
1874         Add a missing check.
1875
1876 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1877
1878         * MenuBackend.C:
1879         * lyxfunc.C: fix (at least partly) the problems
1880         with the Nav menu and headers inside branch insets
1881         reported by Kayvan
1882
1883 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1884
1885         * paragraph.C (getChar): add strong asserts
1886
1887         * lyxrow_funcs.C (lastPos): remove hideous hack
1888
1889         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1890         (fill): adjust to that (avoid an infinite loop)
1891
1892 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1893
1894         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1895
1896 2003-10-23  André Pönitz  <poenitz@gmx.net>
1897
1898         * RowList_fwd.h: change list<> to vector<> to gain speed
1899         after suggestion from Alfredo
1900
1901 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1902
1903         * lyxtext.h: move the bidi stuff from here...
1904         * text.C: and here
1905         * text2.C: and here
1906         * Bidi.[Ch]: ... to here
1907
1908 2003-10-23  André Pönitz  <poenitz@gmx.net>
1909
1910         * lyxtext.h:
1911         * text.C (isLastRow, isFirstRow): new functions
1912
1913         * paragraph.h: new width cache member
1914
1915         * rowpainter.C: replace RowList::iterator with Row & where possible
1916
1917         * lyxfunc.C: replace several view()->text with a single call
1918
1919         * toc.C: fix 'unused' warning
1920
1921 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1922
1923         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1924         when woring with stream::pos_type
1925         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1926
1927 2003-10-22  André Pönitz  <poenitz@gmx.net>
1928
1929         * lyxtext.h:
1930         * text.C: use Row & instead of RowList::iterator
1931
1932         * lyxrow.h: rename end() to endpos()
1933
1934         * rowpainter.C:
1935         * text.C:
1936         * text2.C: adjust
1937
1938 2003-10-22  Angus Leeming  <leeming@lyx.org>
1939
1940         * buffer.[Ch] (fully_loaded): new member function, returning true
1941         only when the file has been loaded fully.
1942         Used to prevent the premature generation of previews and by the
1943         citation inset to prevent computation of the natbib-style label.
1944
1945         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1946         templates are all set up.
1947
1948         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1949
1950 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1951
1952         * text.C: fixed an "oops" in the "is a bit silly"
1953         bug fix
1954
1955 2003-10-21  André Pönitz  <poenitz@gmx.net>
1956
1957         * FuncStatus.[Ch]: small stuff, whitespace
1958
1959         * lyxfont.[Ch]: operator<<() for debug reasons
1960
1961         * lyxfunc.C:
1962         * lyxrow_funcs.C:
1963         * lyxtext.h: whitespace, spelling
1964
1965         * paragraph.C: naming of variables
1966
1967         * text.C:
1968         * text2.C: small stuff
1969
1970
1971 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1972
1973         * text.C: (1) finish off the inset display() work;
1974         (2) fix the "is a bit silly" bug (accessing char
1975         past end of par).
1976
1977 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1978
1979         * text.C: re-introduce display() for insets, fixing the
1980         various bugs (stretch of line above, math inset
1981         positioning, ...)
1982
1983 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1984
1985         * text.C (rightMargin): remove spurious semicolon
1986
1987         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1988         1415)
1989
1990 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1991
1992         * text3.C: fix one crash due to wrong cursor def
1993
1994 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1995
1996         * vc-backend.C (scanMaster): make the regex static
1997
1998         * LaTeX.C (scanAuxFile): make the regexs static
1999
2000         * text3.C (doInsertInset, dispatch, dispatch):
2001         * text2.C (cursorUp, cursorDown):
2002         * text.C (selectNextWordToSpellcheck):
2003         * BufferView_pimpl.C (dispatch):
2004         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2005
2006 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * lyxsocket.C: include <cerrno>
2009
2010 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2011
2012         * lyxfunc.C (dispatch): remove textcache stuff
2013
2014         * bufferlist.C (release): remove textcache stuff
2015         (closeAll): ditto
2016
2017         * TextCache.C: delete file
2018         * TextCache.h: delete file
2019
2020         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2021
2022         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2023         delete of the bv_->text.
2024         (resizeCurrentBuffer): remove texcache stuff
2025         (workAreaResize): ditto
2026
2027 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2028
2029         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2030         action.
2031
2032 2003-10-16  André Pönitz  <poenitz@gmx.net>
2033
2034         * lyxrow.[Ch]:
2035         * paragraph.h:
2036         * rowpainter.C:
2037         * text.C:
2038         * text2.C:
2039         * text3.C: speed up by storing y positions per paragraph plus per-row
2040         offset instead of having a 'full' y position in the row.
2041
2042 2003-10-15  André Pönitz  <poenitz@gmx.net>
2043
2044         * iterators.[Ch]:
2045         * iterators.[Ch]:
2046         * undo.[Ch]: make undo aware of inner insets
2047
2048 2003-10-14  Angus Leeming  <leeming@lyx.org>
2049
2050         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2051         static member functions LyX::ref() and LyX::cref.
2052         (lastfiles): new accessor functions for the new lastfiles_ member var.
2053         (addLyXView, views_): add a new LyXView to the list of views_.
2054         (updateInset): loop over all LyXViews to call their own updateInset
2055         member function, returning a pointer to the Buffer owning the inset.
2056
2057         * BufferView_pimpl.C (loadLyXFile):
2058         * MenuBackend.C (expandLastfiles):
2059         * bufferlist.C (MenuWrite, QuitLyX):
2060         lastfiles is no longer a global variable.
2061         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2062
2063         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2064         static function. Access through LyX::cref().emergencyCleanup().
2065
2066 2003-10-14  André Pönitz  <poenitz@gmx.net>
2067
2068         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2069
2070         * undo.[Ch]: restoring part of 'undo in insets'
2071
2072         * Makefile.am:
2073         * undo_funcs.[Ch]: merge with undo.[Ch]
2074
2075         * tabular.C: small cleansing stuff
2076
2077 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * paragraph_funcs.C (readParToken): report unknown insets as error
2080         boxes. Use the outer paragraph as location (also for unknown
2081         tokens).
2082
2083         * factory.C (readInset): do not abort on reading an unknown inset.
2084         Eat it and return 0.
2085
2086 2003-10-13  Angus Leeming  <leeming@lyx.org>
2087
2088         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2089
2090         * lyxrc.C: displayTranslator is now a function,
2091         declared in GraphicsTypes.h.
2092
2093 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2094
2095         * format.C: new placeholder $$a to pass the socket address.
2096
2097         * bufferlist.[Ch]: new function getBufferFromTmp.
2098
2099         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2100           files in the temporary dir.
2101
2102 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2103
2104         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2105
2106         * Makefile.am: add lyxsocket.[Ch].
2107
2108         * lyx_main.C (error_handler): handle SIGPIPE.
2109
2110 2003-10-13  André Pönitz  <poenitz@gmx.net>
2111
2112         * BufferView_pimpl.C:
2113         * lyxtext.h:
2114         * text.C:
2115         * text2.C:
2116         * text3.C:
2117         * undo_funcs.[Ch]: use paroffset_type instead of
2118           ParagraphList::iterators to prevent multiple conversion
2119           (and get a more robust interface)
2120
2121 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2122
2123         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2124         * lyxtext.h: ditto
2125         * text3.C (dispatch): ditto
2126
2127 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2128
2129         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2130         move the onlyfile, use onlyfile instead of foundfile in a couple
2131         of places.
2132
2133         * DepTable.C (update): flush the error stream a bit more
2134
2135 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2136
2137         * lyxserver.C (callback): adjust
2138
2139         * lyxfunc.C (getStatus): add a missing brace in commented code
2140         (ensureBufferClean): reindent
2141         (dispatch): delete version taking a string
2142
2143 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2144
2145         * LaTeX.C (deplog): move found file handlig from here...
2146         (handleFoundFile): .. to new function here.
2147         (deplog): make sure to discover several files mentioned on the
2148         same log line.
2149
2150 2003-10-10  André Pönitz  <poenitz@gmx.net>
2151
2152         * lyxfunc.C:
2153         * lyxtext.h:
2154         * tabular.C:
2155         * text.C:
2156         * text2.C:
2157         * text3.C: fix some of the tabular crashes
2158
2159 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2160
2161         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2162
2163         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2164
2165 2003-10-09  André Pönitz  <poenitz@gmx.net>
2166
2167         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2168
2169         * BufferView.C:
2170         * BufferView_pimpl.C:
2171         * bufferview_funcs.C:
2172         * lyx_cb.C:
2173         * lyxcursor.C:
2174         * lyxfind.C:
2175         * lyxfunc.C:
2176         * lyxtext.h:
2177         * text.C:
2178         * text2.C:
2179         * text3.C:
2180         * text_funcs.[Ch]:
2181         * textcursor.[Ch]:
2182         * undo_funcs.C: adjust
2183
2184 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2185
2186         * text2.C (incrementItemDepth): new function, use a backtracking
2187         algorithm to discover the correct item depth.
2188         (resetEnumCounterIfNeeded): new function, use a backtracking
2189         algorithm to discover if counter reset is needed.
2190         (setCounter): use them. Simplify a bit. Add different labels for
2191         different item depths for itemize.
2192
2193         * paragraph.C (Paragraph): remove initialization of enumdepth
2194         (operator=): ditto
2195
2196         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2197         enumerate and itemize. Change the type of itemdepth to signed char.
2198
2199 2003-10-08  André Pönitz  <poenitz@gmx.net>
2200
2201         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2202           thing assignable.
2203         * text.C:
2204         * text2.C: adjust
2205
2206         * tabular.[Ch]: fix crash after 'row-insert'
2207
2208 2003-10-08  Angus Leeming  <leeming@lyx.org>
2209
2210         Fix doxygen warnings.
2211
2212         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2213         Remove CutAndPaste:: prefix from header file declaration.
2214
2215         * LColor.h (fill): remove LColor:: prefix from declaration.
2216
2217         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2218         use lyx::depth_type rather than Paragraph::depth_type so that
2219         header file and .C file match.
2220
2221         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2222
2223         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2224         * aspell.C: \file aspell_local.C -> \file aspell.C
2225         * gettext.C: \file gettext.C -> \file src/gettext.C
2226         * gettext.h: \file gettext.h -> \file src/gettext.h
2227         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2228         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2229         * text.C: \file text.C -> \file src/text.C
2230
2231         * toc.C: move comment so that doxygen is not confused.
2232
2233 2003-10-07  Angus Leeming  <leeming@lyx.org>
2234
2235         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2236
2237 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2238
2239         * aspell.C:
2240         * aspell_local.h: add forgotten std::string's.
2241
2242 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2243
2244         * LaTeXFeatures.C:
2245         * LyXAction.C:
2246         * factory.C:
2247         * lfuns.h:
2248         * lyxfunc.C:
2249         * text3.C: The Box patch. Fancybox support, minipage, parbox
2250
2251 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2252
2253         * CutAndPaste.h:
2254         * DepTable.h:
2255         * FloatList.h:
2256         * LaTeXFeatures.h:
2257         * ParagraphParameters.h:
2258         * TextCache.h:
2259         * Thesaurus.h:
2260         * bufferlist.h:
2261         * exporter.h:
2262         * importer.h:
2263         * lastfiles.h:
2264         * lyxfind.h:
2265         * lyxfont.h:
2266         * lyxlex.h:
2267         * lyxtextclasslist.h:
2268         * messages.h:
2269         * paragraph.h:
2270         * paragraph_pimpl.C:
2271         * textcursor.h: add <string> and other small fixes to make Lars'
2272         std::string patch compile with STLport.
2273
2274 2003-10-06  Angus Leeming  <leeming@lyx.org>
2275
2276         * LColor.h: Add missing #include <string>.
2277
2278 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2279
2280         * All most all file in all subdirs: Make <string> be the prefered
2281         way of getting to std::string, add using declarations.
2282
2283 2003-10-06  André Pönitz  <poenitz@gmx.net>
2284
2285         * metricsinfo.C: initialize LyXFont before changing attribute.
2286         (fixes the 'math in \emph is upright' bug)
2287
2288 2003-10-06  André Pönitz  <poenitz@gmx.net>
2289
2290         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2291
2292 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2293
2294         * graph.C:
2295         * paragraph_pimpl.C: Small fixes to build using STLport
2296
2297 2003-10-02  André Pönitz  <poenitz@gmx.net>
2298
2299         * lyxfunc.C:
2300         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2301
2302 2003-10-01  André Pönitz  <poenitz@gmx.net>
2303
2304         * factory.C: assert early
2305
2306 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * lyx_main.C: remove the global debug object
2309
2310         * debug.h: adjust for new debugstream
2311
2312         * debug.C: adjust for new debugstream and keep the global debug
2313         object here.
2314
2315 2003-09-22  Angus Leeming  <leeming@lyx.org>
2316
2317         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2318         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2319         an incomplete class LyXFont.
2320
2321 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2322
2323         * factory.C: bug fix in branches
2324
2325 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2326
2327         * lyxfunc.C (processKeySym): adjust
2328         (dispatch): adjust
2329         (dispatch): change arg name from ev to func, adjust
2330         (sendDispatchMessage): ditto
2331
2332         * lyx_main.C (defaultKeyBindings): adjust keybindings
2333         (deadKeyBindings): ditto
2334
2335         * kbsequence.C (addkey): return a FuncRequest
2336
2337         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2338
2339         * kbmap.C (bind): take a FuncRequest as arg, adjust
2340         (read): adjust
2341         (lookup): adjust
2342         (defkey): change to take a FuncRequest as arg, adjust
2343         (findbinding): take a FuncRequest as arg, adjust.
2344
2345         * funcrequest.h (operator=): added
2346
2347         * funcrequest.C (FuncRequest): default kb_action changed from
2348         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2349
2350         * buffer.C (dispatch): simplify
2351         (dispatch): adjust to take a FuncRequest as arg, adjust
2352
2353         * boost.C (assertion_failed): change assertion message slightly
2354
2355         * ToolbarBackend.C (read): simplify
2356
2357         * MenuBackend.C (binding): adjust call to findbinding, add a
2358         message if no binding is found.
2359         (read): simplify
2360         (expandToc): correct by adding a empty FuncRequest
2361
2362         * LyXAction.C: include <boost/assert.hpp>
2363         (isPseudoAction): delete function
2364         (LookupFunc): change name to...
2365         (lookupFunc): this. change return type to FuncRequest.
2366         (getActionName): take kb_action as arg, simplify
2367         (funcHasFlag): add an assert, simplify.
2368
2369 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2370
2371         * toc.C (action): return a FuncRequest, simplify
2372
2373         * lyxfunc.C (processKeySym): adjust
2374         (getStatus): delete version that takes an int.
2375         (getStatus): adjust
2376         (dispatch): delete version that takes action as int
2377         (dispatch): adjust
2378         (sendDispatchMessage): simplify and adjust
2379
2380         * funcrequest.C (getArg): take unsigned int as arg
2381
2382         * ToolbarBackend.C (read): adjust
2383         (add): delete version that takes func as a string.
2384         (getIton): take a FuncRequest as arg
2385
2386         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2387         action.
2388
2389         * MenuBackend.C (MenuItem): add a new construct that only takes a
2390         Kind, simplify the constructor use for submenus.
2391         (add): adjust
2392         (expandLastfiles): adjust
2393         (expandDocuments): adjust
2394         (expandFormats): adjust
2395         (expandFloatListInsert): adjust
2396         (expandFloatInsert): adjust
2397         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2398
2399         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2400         Remove class variables lyx_pseudo_map and lyx_arg_map
2401
2402         * LyXAction.C (searchActionArg): delete function
2403         (getPseudoAction): delete function
2404         (retrieveActionArg): delete function
2405         (LookupFunc): make it return kb_action, simplify.
2406         (getActionName): simplify
2407
2408         * factory.C (createInset): fix new bug
2409
2410 2003-09-19  Angus Leeming  <leeming@lyx.org>
2411
2412         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2413         masterFilename_ parameter in the include inset.
2414
2415         * factory.C (createInset): changes due to the changes to InsetInclude.
2416
2417 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2418
2419         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2420
2421 2003-09-18  Angus Leeming  <leeming@lyx.org>
2422
2423         * buffer.C:
2424         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2425         Inset::fillWithBibKeys.
2426         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2427
2428 2003-09-18  Angus Leeming  <leeming@lyx.org>
2429
2430         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2431         variables.
2432         (ctor): pass and store a 'Buffer const &'
2433         (buffer): new member function.
2434
2435         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2436         '*this' to the LaTeXFeatures ctor.
2437
2438 2003-09-18  Angus Leeming  <leeming@lyx.org>
2439
2440         * LColor.h:
2441         * lyxfont.C:
2442         * lyxfont.h:
2443         * lyxtext.h:
2444         * text.C: rename EnumLColor as LColor_color.
2445
2446 2003-09-18  Angus Leeming  <leeming@lyx.org>
2447
2448         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2449         remove #include "insets/insetbase.h" from cursor.h.
2450
2451 2003-09-18  Angus Leeming  <leeming@lyx.org>
2452
2453         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2454         InsetOld_code to remove #include "inset.h".
2455
2456         * iterators.C: add #include "insets/inset.h"
2457
2458 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2459
2460         * BufferView.C: remove more locking stuff that apparently doesn't
2461         do anything sensible.
2462
2463 2003-09-16  André Pönitz  <poenitz@gmx.net>
2464
2465         * paragraph.[Ch]:
2466         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2467           performance boost.
2468
2469 2003-09-16  Angus Leeming  <leeming@lyx.org>
2470
2471         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2472
2473         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2474         arg/return type.
2475
2476         * paragraph.h: remove #include "lyxfont.h". Forward declare
2477         LyXFont_size.
2478
2479 2003-09-16  Angus Leeming  <leeming@lyx.org>
2480
2481         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2482         of support/textutils.h.
2483         (isWord): move the contents of support/textutils.h's IsWordChar here.
2484
2485         * buffer.C:
2486         * lyxfind.C:
2487         * rowpainter.C:
2488         * text.C:
2489         * text2.C: add #include "paragraph.h".
2490
2491         * rowpainter.C:
2492         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2493
2494 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * main.C:
2497         * lyx_main.C:
2498         * lyx_cb.C:
2499         * buffer.C:
2500         * LaTeX.C: use namespace alias for lyx::support::os
2501
2502 2003-09-16  Angus Leeming  <leeming@lyx.org>
2503
2504         * bufferparams.C:
2505         * bufferview_funcs.C:
2506         * factory.C:
2507         * lyxfunc.C:
2508         * paragraph_pimpl.C:
2509         * rowpainter.C:
2510         * text.C: add #include "LColor.h".
2511
2512 2003-09-16  Angus Leeming  <leeming@lyx.org>
2513
2514         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2515         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2516         return LyXFont &.
2517         Store the FontBits::color variable as an int rather than as an
2518         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2519         file.
2520
2521         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2522         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2523         string calls together.
2524
2525         * lyxrc.C: add #include "LColor.h".
2526
2527 2003-09-15  Angus Leeming  <leeming@lyx.org>
2528
2529         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2530         a cow_ptr.
2531
2532 2003-09-15  Angus Leeming  <leeming@lyx.org>
2533
2534         * LColor.h: add an EnumLColor wrapper for LColor::color.
2535
2536         * lyxfont.[Ch] (color, setColor, realColor):
2537         * lyxtext.h, text.C (backgroundColor):
2538         pass EnumLColor args to/from the functions, rather than LColor::color
2539         ones.
2540
2541         * lyxfont.h:
2542         * lyxtext.h: forward declare EnumLColor.
2543
2544         * lyx_main.C: add #include "LColor.h".
2545
2546 2003-09-15  Angus Leeming  <leeming@lyx.org>
2547
2548         * .cvsignore: add lyx-gtk.
2549
2550 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2551
2552         * Chktex.C
2553         * LaTeX.C
2554         * LaTeXFeatures.C
2555         * ParagraphParameters.C
2556         * Spacing.C
2557         * buffer.C
2558         * bufferparams.C
2559         * bufferview_funcs.C
2560         * chset.C
2561         * counters.C
2562         * funcrequest.C
2563         * lyxfont.C
2564         * lyxgluelength.C
2565         * lyxlength.C
2566         * paragraph.C
2567         * paragraph_funcs.C
2568         * text3.C
2569         * vc-backend.C: remove usage of STRCONV
2570
2571 2003-09-15  Angus Leeming  <leeming@lyx.org>
2572
2573         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2574         explicitly define the color passed to the painter.
2575
2576 2003-09-15  Angus Leeming  <leeming@lyx.org>
2577
2578         * bufferparams.C (BufferParams): reorder member initializers to avoid
2579         compiler warning.
2580
2581 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2582
2583         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2584         * text.C (updateRowPositions): remove an unusual nop
2585
2586 2003-09-12  André Pönitz  <poenitz@gmx.net>
2587
2588         * BufferView_pimpl.C:
2589         * Bullet.C:
2590         * layout.h:
2591         * lyxfunc.C:
2592         * lyxlayout.[Ch]:
2593         * lyxtextclass.C:
2594         * rowpainter.C:
2595         * text.C:
2596         * text2.C:
2597         * Counters.[Ch]: finish the 'automatic counters' job
2598
2599 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2600
2601         * aspell.C: include <boost/assert.cpp> (compile fix)
2602
2603 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2604
2605         * boost.C (assertion_failed): use lyx::support::abort instead of
2606         assert.
2607
2608 2003-09-10  Angus Leeming  <leeming@lyx.org>
2609
2610         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2611         with their _fwd progeny.
2612
2613 2003-09-09  Angus Leeming  <leeming@lyx.org>
2614
2615         134 files throughtout the source tree: replace 'using namespace abc;'
2616         directives with the appropriate 'using abc::xyz;' declarations.
2617
2618 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2619
2620         * boost.C (emergencyCleanup): moved here from LAssert.c
2621         (assertion_failed): new function, called by BOOST_ASSERT
2622
2623         * several files: change Assert to BOOST_ASSERT
2624
2625 2003-09-09  Angus Leeming  <leeming@lyx.org>
2626
2627         * buffer.[Ch]: Add an Impl class and move Buffer's member
2628         variables into it. As a result move several header files out of
2629         buffer.h.
2630
2631         Add header files to lots of .C files all over the tree as a result.
2632
2633 2003-09-09  Angus Leeming  <leeming@lyx.org>
2634
2635         * buffer.[Ch]: make Buffer's member variables private. Add
2636         accessor functions.
2637
2638         Lots of changes all over the tree as a result.
2639
2640 2003-09-08  Angus Leeming  <leeming@lyx.org>
2641
2642         * graph.C: #include <config.h>.
2643
2644 2003-09-08  Angus Leeming  <leeming@lyx.org>
2645
2646         * BranchList.C:
2647         * BufferView.C:
2648         * BufferView_pimpl.C:
2649         * CutAndPaste.C:
2650         * DepTable.C:
2651         * LaTeX.C:
2652         * LaTeXFeatures.C:
2653         * LyXAction.C:
2654         * MenuBackend.C:
2655         * TextCache.C:
2656         * aspell.C:
2657         * buffer.C:
2658         * bufferlist.C:
2659         * changes.C:
2660         * chset.C:
2661         * converter.C:
2662         * counters.C:
2663         * debug.C:
2664         * graph.C:
2665         * ispell.C:
2666         * lyx_cb.C:
2667         * lyxfind.C:
2668         * lyxfunc.C:
2669         * lyxlex_pimpl.C:
2670         * lyxrc.C:
2671         * lyxrow.C:
2672         * paragraph.C:
2673         * rowpainter.C:
2674         * texrow.C:
2675         * text.C:
2676         * text2.C:
2677         * toc.C: remove redundant using directives.
2678
2679 2003-09-07  Angus Leeming  <leeming@lyx.org>
2680
2681         * LaTeXFeatures.h: remove #include "support/types.h".
2682         * ToolbarBackend.h: remove #include <algorithm>.
2683         * changes.h: remove #include <ctime>.
2684         * debug.h: remove #include <iosfwd>.
2685         * graph.h: remove #include "support/std_string.h".
2686         * lyx_main.h: remove #include <csignal>.
2687         * lyxlex_pimpl.h: remove #include <fstream>.
2688         * sgml.h: remove #include <algorithm>, <utility>.
2689         * toc.h: remove #include "support/std_ostream.h".
2690         Add #include <iosfwd>.
2691
2692 2003-09-07  Angus Leeming  <leeming@lyx.org>
2693
2694         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2695
2696         * converter.h: forward declare LatexRunParams.
2697         * encoding.h: remove #include "lyxrc.h".
2698         * lyxtext.h: remove #include "LColor.h".
2699         * lyxtextclass.h: remove #include "support/types.h".
2700         * trans.h: remove #include "tex-accent.h".
2701         * trans_mgr.h: remove #include "tex-accent.h".
2702         * insets/inset.h: remove #include "support/types.h", <vector>.
2703         * insets/insetcollapsable.h: remove #include "LColor.h".
2704         * insets/insetinclude.h: remove #include "dimension.h".
2705         * insets/insetlatexaccent.h: remove #include "dimension.h".
2706         * insets/insetoptarg.h:: remove #include "insettext.h".
2707         * insets/insettext.h: remove #include "dimension.h",
2708         <boost/shared_ptr.hpp>
2709
2710         * insets/renderers.h: add #include "dimension.h".
2711         * insets/updatableinset.h: add #include "support/types.h".
2712
2713         * many .C files: Associated changes.
2714
2715 2003-09-06  Angus Leeming  <leeming@lyx.org>
2716
2717         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2718         one, inside testInvariant.
2719
2720         * PrinterParams.C: new file.
2721         * PrinterParams.[Ch]: move the function bodies out of line.
2722
2723 2003-09-06  Angus Leeming  <leeming@lyx.org>
2724
2725         * ParagraphParameters.h: forward declare ParameterStruct rather than
2726         including its header file.
2727         (depth): moved out-of-line.
2728
2729 2003-09-06  Angus Leeming  <leeming@lyx.org>
2730
2731         * BufferView_pimpl.h:
2732         * kbmap.h:
2733         * kbsequence.h:
2734         * lyxfunc.h: forward declare LyXKeySym rather than
2735         #include "frontends/LyXKeySym.h".
2736
2737         * BufferView_pimpl.C:
2738         * kbmap.C:
2739         * kbsequence.C:
2740         * lyxfunc.C: associated changes.
2741
2742 2003-09-06  Angus Leeming  <leeming@lyx.org>
2743
2744         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2745         As a result, can remove the #include "insets/inset.h" from BufferView.h
2746
2747 2003-09-06  Angus Leeming  <leeming@lyx.org>
2748
2749         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2750         As a result, can remove the #include "insets/inset.h" from BufferView.h
2751
2752 2003-09-06  Angus Leeming  <leeming@lyx.org>
2753
2754         * buffer_funcs.C:
2755         * buffer.h:
2756         * bufferlist.C:
2757         * BufferView.C:
2758         * bufferview_funcs.C:
2759         * BufferView_pimpl.C:
2760         * CutAndPaste.C:
2761         * lyx_cb.C:
2762         * lyxfunc.C:
2763         * paragraph.h:
2764         * ParagraphParameters.C:
2765         * tabular.C:
2766         * text3.C:
2767         * toc.C:
2768         * undo_funcs.C:
2769         * frontends/controllers/ControlDocument.C:
2770         * insets/insetcaption.C: rearrange the #includes into some sort of
2771         coherent order.
2772
2773         * buffer.h: remove #includes ErrorList.h, undo.h
2774
2775 2003-09-06  Angus Leeming  <leeming@lyx.org>
2776
2777         * support/types.h: add a 'depth_type' typedef, used to store the
2778         nesting depth of a paragraph.
2779
2780         * paragraph.h:
2781         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2782         defining explicitly.
2783
2784         * buffer.h:
2785         * paragraph_funcs.h:
2786         * ParagraphParameters.h:
2787         * sgml.h: use lyx::depth_type rather than Paragraph or
2788         ParameterStruct's depth_type.
2789
2790         * buffer.h
2791         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2792
2793         * BufferView.C:
2794         * BufferView_pimpl.C:
2795         * CutAndPaste.C:
2796         * ParagraphParameters.C:
2797         * buffer_funcs.C:
2798         * bufferlist.C:
2799         * bufferview_funcs.C:
2800         * lyx_cb.C:
2801         * lyxfunc.C:
2802         * tabular.C:
2803         * text3.C:
2804         * toc.C:
2805         * undo_funcs.C:
2806         * frontends/LyXView.C:
2807         * frontends/controllers/ControlDocument.C:
2808         * frontends/controllers/ControlErrorList.C:
2809         * insets/insetbibitem.C:
2810         * insets/insetbranch.C:
2811         * insets/insetcaption.C:
2812         * insets/insetcollapsable.C:
2813         * insets/insetenv.C:
2814         * insets/insetert.C:
2815         * insets/insetfloat.C:
2816         * insets/insetfoot.C:
2817         * insets/insetfootlike.C:
2818         * insets/insetnewline.C:
2819         * insets/insetquotes.C:
2820         * insets/insettabular.C:
2821         * insets/insettext.C:
2822         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2823
2824         * frontends/controllers/ControlChanges.C: #include "changes.h".
2825
2826 2003-09-06  Angus Leeming  <leeming@lyx.org>
2827
2828         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2829         than #including paragraph.h.
2830
2831         * ParagraphList.h:
2832         * RowList.h: deleted. Superfluous.
2833
2834         * CutAndPaste.h:
2835         * iterators.h:
2836         * lyxcursor.h:
2837         * lyxtext.h:
2838         * text_funcs.h:
2839         * undo.h:
2840         * undo_funcs.h:
2841         * insets/inset.h:
2842         * insets/insettext.h: use ParagraphList_fwd.h rather than
2843         ParagraphList.h.
2844
2845         * paragraph.h: don't forward declare ParagraphList.
2846
2847         * buffer.h:
2848         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2849         rather than ParagraphList.h. paragraph.h is still needed for the
2850         Paragraph::depth_type parameters.
2851
2852         * textcursor.h: enable it to compile stand-alone in light of the
2853         above changes.
2854
2855         * bufferview_funcs.C:
2856         * iterators.C:
2857         * lyxfunc.C:
2858         * lyxrow_funcs.C:
2859         * paragraph.C:
2860         * rowpainter.C:
2861         * text.C:
2862         * text2.C:
2863         * text3.C:
2864         * text_funcs.C:
2865         * textcursor.C:
2866         * undo.C:
2867         * frontends/controllers/ControlParagraph.C:
2868         * frontends/controllers/ControlTabular.C:
2869         * insets/insetmarginal.C:
2870         * insets/insetminipage.C:
2871         * insets/insetnote.C:
2872         * insets/insetoptarg.C: add header files needed to compile again.
2873
2874 2003-09-06  Angus Leeming  <leeming@lyx.org>
2875
2876         * RowList_fwd.h: new file, forward-declaring Row rather than
2877         #including lyxrow.h.
2878
2879         * lyxrow_funcs.h:
2880         * lyxtext.h:
2881         * paragraph.h:
2882         * insets/insettext.h: use it instead of RowList.h
2883
2884         * bufferview_funcs.C:
2885         * lyxfunc.C:
2886         * lyxrow_funcs.C:
2887         * paragraph.C:
2888         * rowpainter.C:
2889         * text.C:
2890         * text2.C:
2891         * text3.C: #include "RowList.h".
2892
2893 2003-09-05  Angus Leeming  <leeming@lyx.org>
2894
2895         * factory.C (createInset):
2896         * vspace.C (c-tor): replace sscanf call with an istringstream.
2897         * ispell.C: re-add missing HP/UX headers.
2898         * lyxserver.C: re-add missing  os2 headers.
2899
2900 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2901
2902         * BranchList.C:
2903         * graph.C:
2904         * ispell.C:
2905         * lastfiles.C:
2906         * lyx_cb.C:
2907         * lyxserver.C:
2908         * texrow.C:
2909         * text3.C: re-add missing system headers, needed for 2.95.2.
2910
2911 2003-09-05  Angus Leeming  <leeming@lyx.org>
2912
2913         Changes most place everywhere due to the removal of using directives
2914         from support/std_sstream.h.
2915
2916 2003-09-05  Angus Leeming  <leeming@lyx.org>
2917
2918         Replace LString.h with support/std_string.h,
2919         Lsstream.h with support/std_sstream.h,
2920         support/LIstream.h with support/std_istream.h,
2921         support/LOstream.h with support/std_ostream.h.
2922
2923         Changes resulting throughout the tree.
2924
2925 2003-09-05  Angus Leeming  <leeming@lyx.org>
2926
2927         * sgml.h: ensure that the header file can be compiled stand-alone.
2928         * *.C: strip out redundant #includes. (320 in total.)
2929
2930 2003-09-04  Angus Leeming  <leeming@lyx.org>
2931
2932         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2933         here (from getPackages).
2934
2935         * debug.[Ch]: add a new EXTERNAL tag.
2936
2937 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2938
2939         * text2.C (cursorEnd): simplify
2940         (setCursor): adjust
2941         (getColumnNearX): adjust
2942
2943         * text.C (computeBidiTables): adjust
2944         (fill): adjust
2945
2946         * rowpainter.C (paintChars): adjust
2947         (paintSelection): adjust
2948         (paintChangeBar): adjust
2949         (paintText): adjust
2950
2951         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2952         lastPos instead.
2953         (numberOfSeparators): adjust
2954
2955 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2956
2957         * LyXAction.C:
2958         * box.[Ch]:
2959         * lfuns.h:
2960         * lyxfunc.C:
2961         * text3.C: Restricts the mouse click functionality
2962         of insets like bibtex, include, toc and floatlist to the visible
2963         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2964         up the dialogs. Cursor has to be in front of the inset (i.e.
2965         start of row) for this to function.
2966
2967 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2968
2969         * bufferview_funcs.C (currentState): output row information
2970
2971 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2972
2973         * bufferview_funcs.C (currentState): output paragraph position
2974
2975 2003-09-04  Angus Leeming  <leeming@lyx.org>
2976
2977         * FloatList.h: move out #include "Floating.h".
2978         * LaTeX.h: move out #include "DepTable.h".
2979         * LyXAction.h: move out #include "funcrequest.h".
2980         * buffer.h: move out #include "author.h", "iterators.h".
2981         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2982         * lyx_main.h: move out #include "errorlist.h".
2983         * lyxfunc.h: move out #include "FuncStatus.h".
2984         * lyxtext: move out #include "lyxcursor.h".
2985         * paragraph_pimpl.h: move out #include "counters.h".
2986
2987 2003-09-03  Angus Leeming  <leeming@lyx.org>
2988
2989         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2990         preamble_snippets list, enabling us to add snippets to the preamble
2991         only if the snippet was not there already.
2992
2993 2003-09-04  Angus Leeming  <leeming@lyx.org>
2994
2995         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2996
2997 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3000         update
3001
3002 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3003
3004         * BranchList.C: point fix, earlier forgotten
3005
3006 2003-09-02  Angus Leeming  <leeming@lyx.org>
3007
3008         * box.C (contains): renamed from 'contained' after a fantastic
3009         amount of hot air.
3010
3011 2003-09-02  John Levon  <levon@movementarian.org>
3012
3013         * BufferView.C:
3014         * lyxcursor.h:
3015         * lyxcursor.C:
3016         * lyxfunc.C:
3017         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3018
3019 2003-09-02  John Levon  <levon@movementarian.org>
3020
3021         * text2.C: simplification of cursorEnd(), including partial
3022         fix for bug 1376
3023
3024 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * buffer.C (readFile): add a space
3027
3028 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3029
3030         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3031
3032 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * buffer.C (readFile): new function, take a filename and a
3035         ParagraphList::iterator
3036         (readFile): adjust
3037         (readFile): adjust, make it private. don't use setStream, make
3038         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3039         always contain the filename.
3040
3041         * BufferView.C (insertLyXFile): simplify and make it work for
3042         gzipped files.
3043
3044 2003-08-30  John Levon  <levon@movementarian.org>
3045
3046         * Makefile.am: fix dist (from Kayvan)
3047
3048 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * most files: change to use const Buffer refs
3051
3052 2003-08-27  André Pönitz  <poenitz@gmx.net>
3053
3054         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3055         on top of ownerPar().
3056
3057 2003-08-27  John Levon  <levon@movementarian.org>
3058
3059         * funcrequest.C: properly initialise POD members
3060
3061 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * lyxtext.h (top_y): move top_y from here
3064         * text.C:
3065         * text2.C:
3066         * text3.C:
3067         * BufferView.[Ch]:
3068         * BufferView_pimpl.[Ch]: to here
3069         * frontends/screen.C:
3070         * insets/insettabular.C:
3071         * insets/insettext.C: adjust
3072         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3073
3074 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * BufferView.[Ch]:
3077         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3078
3079 2003-08-26  André Pönitz  <poenitz@gmx.net>
3080
3081         * paragraph_func.[Ch] (outerPar): new function
3082
3083         * paragraph.C:
3084         * paragraph_funcs.C:
3085         * paragraph_funcs.h:
3086         * paragraph_pimpl.C:
3087         * text2.C: remove Inset::par_owner
3088
3089 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3090
3091         * lyxrow_funcs.C:
3092         * lyxtext.h:
3093         * text.C:
3094         * text2.C: eliminates the needFullRow/display() stuff
3095         altogether, putting the logic in metrics/draw in the insets.
3096
3097 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3098
3099         * text2.C (redoParagraphInternal, redoParagraphs):
3100         * text.C (redoParagraph): add a call to updateRowPositions at the
3101         end of each 'metrics-like' call. Remove all others.
3102         (getRow): remove the 'y-computing' version.
3103         (getRowNearY): do not compute nor return the real y. Solve the
3104         'y < 0' problem and simplify.
3105
3106 2003-08-22  Angus Leeming  <leeming@lyx.org>
3107
3108         * *.[Ch]: clean-up of licence and author blurbs.
3109         Also move config.h out of a few .h files and into a few .C files.
3110
3111 2003-08-22  André Pönitz  <poenitz@gmx.net>
3112
3113         * lyxrow.[Ch]: add x_ and *fill_ members
3114
3115         * lyxtext.h:
3116         * text.C:
3117         * rowpainter.C:
3118         * text2.C: adjust/remove prepareToPrint() calls
3119
3120 2003-08-22  André Pönitz  <poenitz@gmx.net>
3121
3122         * lyxrow.[Ch]: add  end_ member
3123
3124         * lyxrow_funcs.C: use LyXRow::end_
3125
3126         * lyxtext.h (singleWidth): add LyXFont parameter
3127
3128         * rowpainter.C:
3129         * text2.C: adjust LyXText::singleWidth() calls
3130
3131         * text.C (redoParagraph): simplify row breaking logic
3132
3133
3134 2003-08-19  André Pönitz  <poenitz@gmx.net>
3135
3136         * funcrequest.C: initialize button_ member
3137
3138         * text3.C:
3139         * rowpainter.[Ch]: interface consolidation
3140
3141 2003-08-18  André Pönitz  <poenitz@gmx.net>
3142
3143         * BufferView.C:
3144         * BufferView_pimpl.C:
3145         * lyxfind.C:
3146         * paragraph_funcs.C:
3147         * rowpainter.C:
3148         * text3.C: remove LyXScreen::draw() and fitCursor calls
3149
3150         * BranchList.h: remove spurious semicolons
3151
3152         * MenuBackend.C: fix branchlist related crash
3153
3154 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3155
3156         * BranchList.[Ch]:
3157         * InsetList.[Ch]:
3158         * LColor.[Ch]:
3159         * LyXAction.C:
3160         * Makefile.am:
3161         * MenuBackend.[Ch]:
3162         * bufferparams.[Ch]:
3163         * factory.C:
3164         * lfuns.h:
3165         * lyxfunc.C:
3166         * text3.C: implements the 'branch inset'
3167         idea. This allows the output of various versions of a document
3168         from a single source version, selectively outputing or suppressing
3169         output of parts of the text.
3170         This implementation contains a 'branch list editor' in a separate
3171         tab of the document settings dialog. Branches are user definable
3172         and have a "display colour" to distinguish them on-screen.
3173
3174         ColorHandler was somewhat cleaned up.
3175         (1) make possible a dynamically growing LColor list by allowing
3176         the graphic context cache to grow along (vector);
3177         (2) eliminate an IMHO unnecessary step in colour allocation.
3178
3179 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3180
3181         * BufferView_pimpl.C: compile fix
3182
3183 2003-08-15  André Pönitz  <poenitz@gmx.net>
3184
3185         * rowpainter.C: remove extra metrics calls
3186
3187         * lyxtext.h: merge the two constructors into a single one,
3188           pass reference to owner's par list
3189
3190         * BufferView_pimpl.C:
3191         * text.C:
3192         * text2.C: adjust
3193
3194 2003-08-15  André Pönitz  <poenitz@gmx.net>
3195
3196         * lyxrow_funcs.[Ch]:
3197         * lyxtext.h:
3198         * paragraph.h:
3199         * paragraph_funcs.C:
3200         * rowpainter.C:
3201         * text.C:
3202         * text2.C:
3203         * text3.C:
3204         * text_funcs.C: split LyXText::rowlist_ into individual
3205         Paragraph::rows_ chunks
3206
3207         * BufferView.[Ch]:
3208         * BufferView_pimpl.[Ch]:
3209         * lyxfind.C:
3210         * lyxtext.h:
3211         * text3.C: remove toggleSelection()
3212
3213 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3214
3215         * bufferlist.C: beautify two alerts (shorter text of buttons)
3216         * buffer.C: Remove redundant ' ' from message
3217         * tabular.h:
3218         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3219         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3220         rename VALIGN_CENTER to VALIGN_MIDDLE
3221
3222 2003-08-11  André Pönitz  <poenitz@gmx.net>
3223
3224         * lyxtext.h (getPar):
3225         * text.C: new function
3226
3227 2003-08-11  André Pönitz  <poenitz@gmx.net>
3228
3229         * Makefile.am:
3230         * tracer.[Ch]: remove unneeded files
3231
3232         * InsetList.[Ch]: remove resizeInsetsLyXText()
3233
3234         * lyxtext.h:
3235         * text.C:
3236         * text2.C:
3237         * text3.C: merge insertParagraphs() and appendParagraph()
3238         remove breakAgain(), update()
3239
3240         * BufferView_pimpl.[Ch]:
3241         * bufferview_funcs.[Ch]:
3242         * lyxfunc.C:
3243         * paragraph.[Ch]:
3244         * rowpainter.C:
3245         * tabular.C: adjust after text & InsetList changes.
3246
3247 2003-08-08  André Pönitz  <poenitz@gmx.net>
3248
3249         * text.C (insertChar, backspace): replace rowlist fiddling
3250         with rebreak of full par
3251
3252         * lyxtext.h:
3253         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3254         checkParagraph, updateInset): removed
3255
3256 2003-08-07  André Pönitz  <poenitz@gmx.net>
3257
3258         * paragraph.C:
3259         * text3.C: merge some LFUN handlers, remove dead code
3260
3261 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3262
3263         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3264
3265 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * text2.C (DEPM): fix part of bug 1255 and 1256
3268
3269 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3270
3271         * BufferView_pimpl.C (workAreaDispatch): change to use
3272         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3273         that are no mouse related.
3274
3275 2003-08-05  André Pönitz  <poenitz@gmx.net>
3276
3277         * BufferView.[Ch]:
3278         * BufferView_pimpl.[Ch]:
3279         * bufferview_funcs.C:
3280         * text2.C:
3281         * text3.C: rip out "deep update"
3282
3283         * textcursor.[Ch] (last_sel_cursor): remove unused member
3284
3285 2003-08-04  André Pönitz  <poenitz@gmx.net>
3286
3287         * BufferView.[Ch]:
3288         * BufferView_pimpl.[Ch]:
3289         * ParagraphParameters.C:
3290         * bufferview_funcs.C:
3291         * lyx_cb.C:
3292         * lyxfind.C:
3293         * lyxfunc.C:
3294         * text.C:
3295         * text2.C:
3296         * text3.C: replace "complicated" BufferView::update(...) calls with
3297         simpler ones.
3298
3299         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3300
3301 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3302
3303         * Makefile.am (lyx_SOURCES): add paper.h
3304
3305 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3306
3307         * Makefile.am: move things around so that both lyx-qt and
3308         lyx-xforms can be built (according to --with-frontend). Then lyx
3309         is a symbolic link to lyx-[firstfrontend]
3310
3311 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3312
3313         * Always use std::endl with lyxerr
3314
3315 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3316
3317         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3318
3319 2003-08-01  André Pönitz  <poenitz@gmx.net>
3320
3321         * BufferView.[Ch]:
3322         * BufferView_pimpl.[Ch]:
3323         * lyxfunc.C:
3324         * text3.C: merge BufferView::repaint() and BufferView::update()
3325
3326 2003-08-01  José Matos  <jamatos@lyx.org>
3327
3328         * buffer.[Ch]: file_format is no longer a buffer data element.
3329
3330 2003-08-01  André Pönitz  <poenitz@gmx.net>
3331
3332         * BufferView.C:
3333         * lyxtext.h:
3334         * text.C:
3335         * text2.C: make redoParagraph more independent of current cursor
3336
3337         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3338         * text.C:
3339         * text2.C: remove unneeded members
3340
3341 2003-07-30  André Pönitz  <poenitz@gmx.net>
3342
3343         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3344
3345         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3346           create a single function...
3347
3348         * paragraph_funcs.C (moveItem): ... here.
3349
3350         * text.C:
3351           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3352
3353 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3354
3355         * LColor.[Ch]: Add comment and greyedout logical colors.
3356
3357 2003-07-30  André Pönitz  <poenitz@gmx.net>
3358
3359         * tabular.C: don't use Assert too heavily. This crashes where it
3360           shouldn't
3361
3362 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3363
3364         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3365         is disabled (bug 1232)
3366
3367 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3368
3369         * factory.C: limited 'arg' scope
3370
3371 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3372
3373         * factory.C: fixed Note submenu issues
3374
3375 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3376
3377         * factory.C: submenu for Note/Comment/Greyedout
3378
3379 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3380
3381         * lyx_main.C (LyX):
3382         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3383
3384 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3385
3386         * LaTeXFeatures.C:
3387         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3388         greyedout. Patch provided by Jürgen Spitzmüller.
3389
3390 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3391
3392         * kbmap.C (read): fix error message when reading bind files
3393
3394 2003-07-29  Angus Leeming  <leeming@lyx.org>
3395
3396         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3397         certainly does not do what it purports to do. I am doing it, and
3398         us, a favour by killing it.
3399
3400 2003-07-28  José Matos  <jamatos@lyx.org>
3401
3402         * buffer.C (readBody, do_writeFile):
3403         * paragraph.C(readParagraph): \end_document replaces \the_end.
3404
3405 2003-07-29  André Pönitz  <poenitz@gmx.net>
3406
3407         * BufferView.[Ch]:
3408         * BufferView_pimpl.[Ch]:
3409         * lyxfunc.C:
3410         * text2.C:
3411         * text3.C:
3412         * textcursor.[Ch]: remove toggleToggle & Co
3413
3414 2003-07-28  José Matos  <jamatos@fep.up.pt>
3415
3416         * buffer.C (readParagraph):
3417         * params_func (readParToken, readParagraph):
3418         * paragraph.C (write): \layout -> \begin_layout.
3419
3420 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3421
3422         * lyxlex_pimpl.C (setFile): clean up slightly.
3423
3424         * bufferparams.h: add compressed var
3425
3426         * buffer_funcs.C (readFile): adjust for LyXLex change
3427         (newFile): ditto + simplify
3428
3429         * buffer.C (writeFile): handle writing of compressed files
3430
3431         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3432         Check if the file is compressed and set a bufferparm if so.
3433
3434         * Makefile.am (lyx_LDADD): remove explicit -lz
3435
3436 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3437
3438         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3439         makeDocBookFile): put the real LyX version in the first line of
3440         the file
3441
3442         * version.h:
3443         * version.C.in: remove lyx_docversion
3444
3445         * tabular.C (write_attribute): add a template-based version to
3446         write enums properly
3447
3448 2003-07-28  André Pönitz  <poenitz@gmx.net>
3449
3450         * lyxtext.h:
3451         * text.C:
3452         * text2.C:
3453         * text3.C: use doubles again for x-coordinates. They are needed.
3454
3455 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3456
3457         * messages.C (getLocaleDir): use lyx_localedir()
3458
3459         * lyxlex_pimpl.C (setFile): compress stuff
3460
3461         * buffer.C (writeFile): add some compression stuff
3462         (do_writeFile): new func, dont call expliti close... will this
3463         breake anything?
3464
3465         * Makefile.am (lyx_LDADD): add -lz
3466
3467 2003-07-28  José Matos  <jamatos@fep.up.pt>
3468
3469         * buffer.C: increment file format.
3470         * paragraph_funcs (readParagraph, readParToken):
3471         * paragraph.C (readParagraph): add \end_layout.
3472
3473 2003-07-27  Angus Leeming  <leeming@lyx.org>
3474
3475         * Makefile.am: remove special casing for configure-time setting of
3476         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3477
3478         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3479         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3480
3481 2003-07-26  André Pönitz  <poenitz@gmx.net>
3482
3483         * paragraph_func.[Ch]:
3484         * paragraph.C (realizeFont): inline it whereever it is used
3485
3486         * rowpainter.C:
3487         * text.C:
3488         * text2.C:
3489         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3490
3491
3492 2003-07-26  André Pönitz  <poenitz@gmx.net>
3493
3494         *       lyxtext.h:
3495         * text.C:
3496         * text2.C: get rid of LyXText::need_break_row
3497
3498 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3499
3500         * toc.[Ch]: put namespace toc inside namespace lyx
3501
3502         * MenuBackend.C (expandToc2): adjust for lyx::toc
3503         (expandToc): ditto
3504
3505         * lyxfunc.C (dispatch): adjust for lyx::find
3506
3507         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3508         lyx::find instead. Reorganize a bit.
3509         (LyXReplace): rename to replace
3510         (LyXFind): rename to find
3511
3512         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3513         (dispatch): ditto
3514
3515 2003-07-26  André Pönitz  <poenitz@gmx.net>
3516
3517         * text.C (setHeightOfRow): restrict scope of temporary variable
3518
3519         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3520           code (never has been used?)
3521
3522 2003-07-27  Asger Alstrup  <alstrup@local>
3523
3524         * text.C (fill): Optimise algorithm to exploit that we can reuse
3525         the LyXFont for many characters.
3526         (setHeightOfRow): Same thing.
3527         (rowBreakPoint): Same thing.
3528
3529 2003-07-26  Asger Alstrup  <alstrup@local>
3530
3531         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3532
3533         * text.C (singleWidth): Spurious font copying in hot-spot
3534         singleWidth avoided. Reorder tests for arabic for efficiency.
3535
3536         * text.C (fill): handle empty paragraphs better.
3537
3538 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3539
3540         * ispell.C:
3541         * encoding.h: add includes
3542
3543         * lyxrc.C: remove reading of bind files
3544
3545         * lyx_main.C (init): setup bindings and menus only if we have a
3546         gui.
3547
3548         * kbmap.C (read): new method. Do the actual reading of bind
3549         files.
3550
3551         * converter.C (dvipdfm_options):
3552         * bufferparams.C:
3553         * lyxrc.C (read):
3554         (output): adapt PAPER_* enums.
3555
3556         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3557
3558         * bufferparams.h: remove paper-related enums from there
3559
3560         * paper.h: New file. A trivial header file to hold paper-related
3561         enums. It should later expand to contain many paper-related
3562         horrors access.
3563
3564         * lyxrc.C: declare extern displayTranslator
3565
3566 2003-07-27  José Matos  <jamatos@fep.up.pt>
3567
3568         * tabular.[Ch] (linuxdoc): add support for tables and figures
3569         (linuxdoc).
3570
3571 2003-07-27  José Matos  <jamatos@fep.up.pt>
3572
3573         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3574         consistency in both functions.
3575         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3576
3577 2003-07-26  Asger Alstrup  <alstrup@local>
3578
3579         * rowpainter.C (paintRows): Change algorithm to work directly on
3580         the insets rather than asking every character in the document
3581         whether its an inset.
3582
3583 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * buffer.C (openFileWrite): factorize some code
3586
3587 2003-07-26  Angus Leeming  <leeming@lyx.org>
3588
3589         * lyx_cb.C:
3590         * lyx_main.[Ch]: replace occurances of system_tempdir with
3591         os::getTmpDir().
3592
3593 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * rename Inset to InsetOld
3596
3597 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3598
3599         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3600         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3601         which I think is a bit clearer. EDIT is gone, since it was
3602         premature optimisation, and broken for mathed anyway.
3603         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3604         with cursor positioning in insets as well (math insets still do not
3605         work, but that's a different story anyway.) It mysteriously
3606         crashes sometimes with undo in the first paragraph, but I'm fairly
3607         confident that this is a compiler bug.
3608
3609 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * paragraph.C (Paragraph): adjust for new clone return type
3612         (operator==): ditto
3613         (copyIntoMinibuffer): ditto
3614
3615 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3616
3617         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3618         by not having a special case, and always doing a full rebreak of
3619         the document after undo.
3620
3621 2003-07-23  Angus Leeming  <leeming@lyx.org>
3622
3623         * factory.C (createInset): InsetExternal::setParams now takes a
3624         Buffer const * arg.
3625
3626 2003-07-23  Angus Leeming  <leeming@lyx.org>
3627
3628         * factory.C (createInset): changed interface to the external and
3629         graphics mailers' string2params functions.
3630
3631 2003-07-23  Angus Leeming  <leeming@lyx.org>
3632
3633         * factory.C (createInset): pass a
3634         Buffer const * parameter to InsetExternalMailer's string2params.
3635
3636 2003-07-22  John Levon  <levon@movementarian.org>
3637
3638         * Thesaurus.h: include the right aiksaurus header
3639
3640 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3641
3642         * MenuBackend.C (expand): check menu shortcuts unconditionally
3643
3644 2003-07-21  Angus Leeming  <leeming@lyx.org>
3645
3646         * factory.C (createInset): pass a
3647         buffer_path parameter to InsetGraphicsMailer's string2params.
3648
3649 2003-07-21  Angus Leeming  <leeming@lyx.org>
3650
3651         * BufferView_pimpl.C (buffer):
3652         * buffer.C (d-tor):
3653         * lyx_main.C (LyX):
3654         * lyxfunc.C (dispatch):
3655         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3656         rather than the grfx shortcut.
3657
3658 2003-07-21  André Pönitz  <poenitz@gmx.net>
3659
3660         * rowpainter.C: remove unused variables
3661
3662         * tabular_funcs.C:
3663         * tabular_funcs.h: move to tabular.C
3664         * Makefile.am: adjust
3665
3666         * tabular.[Ch]: basic optical cleaning
3667
3668         * author.h: pass references, not values
3669
3670 2003-07-18  André Pönitz  <poenitz@gmx.net>
3671
3672         * lyxtext.h:
3673         * metricsinfo.C:
3674         * metricsinfo.h:
3675         * rowpainter.C:
3676         * text.C:
3677         * text2.C:
3678         * text3.C: two-phase drawing for InsetText and InsetTabular
3679         some float -> int changes.
3680
3681 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * lyx_main.C: fix the fix
3684
3685 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * lyx_main.C: fix a crash in batch mode if no files specified
3688         * converter.C: ws
3689
3690 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3691
3692         * format.[Ch] (papersize): moved to BufferParams
3693         * converter.[Ch] (dvips_options): moved to BufferParams
3694         (dvipdfm_options): moved to anon namespace
3695         * bufferparams.[Ch]: added above functions.
3696
3697 2003-07-17  André Pönitz  <poenitz@gmx.net>
3698
3699         * lyxtext.h:
3700         * rowpainter.C:
3701         * text2.C: don't call inset->update() anymore
3702
3703         * metricsinfo.[Ch]: add convenience constructor
3704
3705 2003-07-16  André Pönitz  <poenitz@gmx.net>
3706
3707         * lyxcursor.[Ch]:
3708         * lyxfunc.[Ch]:
3709         * text.C:
3710         * text2.C: replace the LyXCursor::irow_ member with
3711          on-demand computation of the value
3712
3713 2003-07-16  John Levon  <levon@movementarian.org>
3714
3715         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3716
3717 2003-07-15  André Pönitz  <poenitz@gmx.net>
3718
3719         * text.C:
3720         * text2.C: remove no more needed refresh_row
3721
3722 2003-07-15  André Pönitz  <poenitz@gmx.net>
3723
3724         * lyxtext.h:
3725         * rowpainter.C:
3726         * text2.C:
3727         * text3.C: refresh_status tristate -> need_update bool
3728
3729 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3730
3731         * lyxtext.h (init): remove reinit argument (act as if always true)
3732         * text2.C: adjust to that
3733
3734 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3735
3736         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3737         * text3.C: use it to delete selections in some cases
3738         (bugs 441, 673, 702, 954).
3739
3740 2003-07-14  André Pönitz  <poenitz@gmx.net>
3741
3742         * rowpainter.[Ch]: reduce interface
3743
3744 2003-07-14  André Pönitz  <poenitz@gmx.net>
3745
3746         * BufferView_pimpl.C:
3747         * text2.C: adjust after removing unused BufferView * argument
3748
3749 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3750
3751         * text2.C (init): fix a crash fired on resize
3752
3753 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3754
3755         * buffer.[Ch]: added new closing signal
3756         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3757         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3758         BufferView::Pimpl via the closing the signal
3759
3760 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3761
3762         * buffer.[Ch]: take out all bv-related from buffer
3763         * BufferView.C:
3764         * BufferView_pimpl.[Ch]: connect to new signals
3765         * CutAndPaste.C: removed useless asserts
3766         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3767         * lyxvc.[Ch]:
3768         * vc-backend.[Ch]:
3769         * lyxfunc.C: moved view-related funciontality from vc here
3770         * paragraph.C: removed outdated comments
3771         * text.C: ws
3772
3773 2003-07-10  André Pönitz  <poenitz@gmx.net>
3774
3775         * BufferView_pimpl.C:
3776         * tabular.h:
3777         * tabular_funcs.C:
3778         * text.C:
3779         * text2.C: remove InsetText::InnerCache, clean up consequences
3780
3781 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3782
3783         * ispell.C: fix two typos in error messages
3784
3785 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3786
3787         * Extend Note inset to other forms of annotation like Comment
3788         and Greyedout. Right button click gives dialog.
3789
3790         Files modified or added (+):
3791
3792         * insetnote.[Ch]
3793         * FormNote.[Ch]      +
3794         * ControlNote.[Ch]   +
3795         * form_note.fd       +
3796         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3797         frontends/controllers
3798         * xforms/Dialogs.C
3799         * factory.C
3800
3801 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3802
3803         * aspell.C: add missing namespace lyx::support
3804
3805 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3806
3807         * BufferView.[Ch] (newFile): Add
3808         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3809         * LaTeX.[Ch] (message): added this signal and use it
3810         * buffer.[Ch] (busy, message): added these signals and use them
3811         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3812         * converter.C:
3813         * exporter.C:
3814         * format.C:
3815         * importer.C: use buffer signals instead of direct bv calling
3816         * lyx_cb.[Ch] (ShowMessage): removed
3817         * lyx_main.C:
3818         * lyxfunc.C:
3819         * paragraph_funcs.C:
3820         * text2.C: use buffer signals
3821
3822 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * introduce namespace lyx::graphics
3825
3826 2003-07-02  André Pönitz  <poenitz@gmx.net>
3827
3828         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3829
3830 2003-07-01  André Pönitz  <poenitz@gmx.net>
3831
3832         * text.C:
3833         * text2.C:
3834         * text3.C:
3835         * text_funcs.[Ch]:
3836         * textcursor.h:
3837         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3838           text*.C to text_func.C
3839
3840 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * introduce namespace lyx::support
3843
3844 2003-06-30  André Pönitz  <poenitz@gmx.net>
3845
3846         * Chktex.C:
3847         * funcrequest.C:
3848         * lyxtext.h:
3849         * text.C: re-enable --with-included-string
3850
3851 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * textcursor.C: add <config.h>
3854
3855         * text.C (getWord): remove const from word_location arg
3856
3857         * lyxvc.C (getLogFile): fix const type order
3858
3859         * lyxtext.h: remove const from word_location arg, add arg name
3860
3861         * lyxlayout.h: currect type on labeltype.
3862
3863         * importer.C: correct \file
3864
3865         * converter.C (intToFormat): use std:: on ret val, ws changes
3866
3867         * bufferlist.h: correct \file
3868
3869         * buffer.C (makeLinuxDocFile): fix const type order
3870         (makeDocBookFile): ditto
3871         (fillWithBibKeys): use std:: on stdlib args.
3872
3873         * CutAndPaste.C: fix authors.
3874         (availableSelections): use std:: on return vector
3875
3876 2003-06-27  André Pönitz  <poenitz@gmx.net>
3877
3878         * BufferView_pimpl.C:
3879         * bufferview_funcs.C:
3880         * lyxcursor.C:
3881         * lyxcursor.h:
3882         * lyxfunc.C:
3883         * lyxtext.h:
3884         * rowpainter.C:
3885         * text.C:
3886         * text2.C:
3887         * text3.C: remove LyXCursor::row_ member
3888
3889         * lyxtext.h:
3890         * text.C: rename fullRebreak() to partialRebreak() and implement
3891           a fullRebreak() that really bereks fully
3892
3893         * textcursor.h: new struct for cursor-related data
3894
3895 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * lyx_main.C (LyX): get full path of document loaded on the
3898         command line
3899
3900 2003-06-26  André Pönitz  <poenitz@gmx.net>
3901
3902         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3903           remove unused/broken operator>,<,>=.
3904
3905         *       text.C: remove only use of broken operator<= in an Assert().
3906
3907 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3908
3909         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3910         moved errorlist_.clear to showErrorList
3911
3912 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * converter.C (scanLog, runLaTeX):
3915         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3916         move the bv->showErrorList call to the callers
3917         * lyxfunc.C: i.e. here...
3918         * text2.C: and here
3919         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3920         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3921         namespace, the second to...
3922         * buffer_funcs (BufferFormat, parseErrors): added
3923         * errorlist.C (ErrorList(TeXErrors const &)): removed
3924
3925 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3926
3927         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3928
3929 2003-06-24  "Garst R. Reese" <reese@isn.net>
3930
3931         * debug.C: fix typo
3932
3933 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3934
3935         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3936
3937         * version.C.in: change docversion to 1.4
3938
3939 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3940
3941         * buffer.C: fix a bug just introduced
3942
3943 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3944
3945         * buffer.[Ch]: added the parseError signal and use it, removed
3946         sgmlError
3947         * BufferView.[Ch] (addError): moved to ...
3948         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3949         to the Buffer::parseError signal to catch (guess what) parse errors
3950         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3951
3952 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3953
3954         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3955         ability to create a buffer and to return an existing one from
3956         the list. Moved these functions to...
3957         * buffer_funcs.[Ch]: added
3958         * BufferView.[Ch] (loadLyXFile): added
3959         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3960         job removed from bufferlist::loadLyXFile.
3961         * buffer.C (setReadOnly): make it work without view
3962         (i.e added an if (users))
3963
3964 2003-06-19  Angus Leeming  <leeming@lyx.org>
3965
3966         * lfuns.h:
3967         * LyXAction.C (init):
3968         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3969         with LFUN_DIALOG_SHOW <name> <data>.
3970
3971 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3972
3973         * CutAndPaste.C (availableSelections): small compilation fix for
3974         ancient (gcc 2.9x) compilers
3975
3976 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * text3.C (cursorNext): add tmp var
3979
3980         * text2.C (updateCounters): for function calling out of for clause
3981         (replaceSelectionWithString): ditto
3982         (insertStringAsParagraphs): ditto
3983         (getColumnNearX): add tmp var
3984         (setCursorFromCoordinates): add tmp var
3985         (cursorDownParagraph): add tmp var
3986         (deleteEmptyParagraphMechanism): add tmp var
3987
3988         * text.C (insertChar): add tmp var
3989
3990         * rowpainter.C (paintDepthBar): add tmp var
3991
3992         * CutAndPaste.C (availableSelections): potentially check all
3993         paragraphs in a cut to fill the shown strings.
3994
3995 2003-06-18  André Pönitz  <poenitz@gmx.net>
3996
3997         * kbmap.[Ch]: use vector<> instead of list<>
3998
3999 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4000
4001         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4002         pasteSelection with index
4003
4004         * text2.C (pasteSelection): modify, call pasteSelection with index
4005
4006         * paragraph.C (asString): reimplement version with no interval to
4007         call the one with interval.
4008
4009         * lyxtext.h: add index arg to pasteSelection
4010
4011         * MenuBackend.C (MenuItem): handle PasteRecent
4012         (Menu::read::Menutags): add md_pasterecent
4013         (read): handle it
4014         (expandPasteRecent): new function
4015         (expand): use it
4016
4017         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4018
4019         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4020         the limited stack
4021         (availableSelections): new function
4022
4023 2003-06-17  Angus Leeming  <leeming@lyx.org>
4024
4025         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4026
4027 2003-06-17  Angus Leeming  <leeming@lyx.org>
4028
4029         * lfuns.h:
4030         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4031
4032         * lyxfunc.C (dispatch): invoke it.
4033
4034 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4035
4036         * iterators.C (operator++, ParPosition): reintroduce some
4037         const_cast for the benefit of older compilers.
4038
4039 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4040
4041         * text3.C (dispatch): do not modify clipboard when doing
4042         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4043         LFUN_DELETE_SKIP on a selection selection
4044
4045 2003-06-16  André Pönitz  <poenitz@gmx.net>
4046
4047         * BufferView.C:
4048         * buffer.C:
4049         * buffer.h:
4050         * paragraph.C:
4051         * tabular.[Ch]: IU of clone() and getLabelList();
4052
4053 2003-06-13  André Pönitz  <poenitz@gmx.net>
4054
4055         * tabular.h: compactification
4056
4057 2003-06-12  André Pönitz  <poenitz@gmx.net>
4058
4059         * tabular.C:
4060         * tabular.h:
4061         * tabular_funcs.h: some renaming plus whitespace
4062
4063 2003-06-12  André Pönitz  <poenitz@gmx.net>
4064
4065         * BufferView.C:
4066         * BufferView_pimpl.C:
4067         * CutAndPaste.C:
4068         * buffer.C:
4069         * iterators.[Ch]:
4070         * lyxfunc.C:
4071         * text.C:
4072         * toc.C: Return a Paragraph & for ParIterator::operator*()
4073
4074 2003-06-11  John Levon  <levon@movementarian.org>
4075
4076         * lyx_main.C:
4077         * ToolbarBackend.h:
4078         * ToolbarBackend.C: add "Toolbars" section and
4079         put the flags there
4080
4081 2003-06-10  Angus Leeming  <leeming@lyx.org>
4082
4083         * lfuns.h:
4084         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4085
4086         * lyxfunc.C (dispatch): invoke it.
4087
4088 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * main.C: protect <ios> with HAVE_IOS
4091         (main): protect sync_with_stdio with HAVE_IOS
4092
4093 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4094
4095         * text2.C (cutSelection): adjust
4096         (pasteSelection): adjust
4097
4098         * messages.C: handle get of empty string
4099
4100         * main.C (main): use sync_with_stdio(false)
4101
4102         * lyxfunc.C (dispatch): adjust
4103
4104         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4105         (WriteAs): remove unneeded BufferView arg.
4106
4107         * bufferparams.h: use correct types on papersize, papersize2 and
4108         paperpackage.
4109
4110         * bufferparams.C (readToken): adjust for type
4111         (writeLaTeX): add missing cases to switch.
4112
4113         * bufferlist.C (quitWriteBuffer): adjust
4114         (close): adjust
4115
4116         * buffer.C (asciiParagraph): remove some commented code.
4117
4118         * CutAndPaste.C: remove current_view extern variable.
4119         (cutSelection): add BufferParams arg.
4120         (eraseSelection): add BufferParams arg.
4121         (pasteSelection): add Buffer const & arg
4122
4123 2003-06-07  John Levon  <levon@movementarian.org>
4124
4125         * buffer.C:
4126         * paragraph_funcs.C:
4127         * paragraph_pimpl.C:
4128         * text.C:
4129         * text2.C:
4130         * paragraph.h:
4131         * paragraph.C: allow InsetERT to freely space lines,
4132         and some consolidation of code
4133
4134 2003-06-06  José Matos  <jamatos@fep.up.pt>
4135
4136         * buffer.C (makeDocBookFile): fix bug #821
4137
4138 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4139
4140         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4141
4142 2003-06-04  Angus Leeming  <leeming@lyx.org>
4143
4144         * buffer.C: bump format to 224.
4145
4146 2003-06-05  André Pönitz  <poenitz@gmx.net>
4147
4148         * text2.C (redoParagraphs): remove two const_cast<>
4149
4150 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4151
4152         * ParagraphList.h: remove last remnants of NO_STD_LIST
4153
4154 2003-06-03  Angus Leeming  <leeming@lyx.org>
4155
4156         * factory.C (createInset): small change to the way InsetExternal's params
4157         are set.
4158
4159 2003-06-04  André Pönitz  <poenitz@gmx.net>
4160
4161         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4162
4163         * paragraph_pimpl.h:
4164         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4165
4166         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4167
4168         * undo_funcs.C: make some simple cases of undo work again
4169
4170 2003-06-03  John Levon  <levon@movementarian.org>
4171
4172         * ispell.C: HPUX doesn't have sys/select.h
4173         (from Albert Chin)
4174
4175 2003-06-03  John Levon  <levon@movementarian.org>
4176
4177         * CutAndPaste.C: update tabular and include inset
4178         buffer references
4179
4180         * buffer.h:
4181         * paragraph.h:
4182         * paragraph.C: remove owningBuffer(), don't pass Buffer
4183         to clone()
4184
4185         * factory.C: insetGraphicsParams changed
4186
4187 2003-06-02  John Levon  <levon@movementarian.org>
4188
4189         * LyXAction.C:
4190         * factory.C:
4191         * lfuns.h:
4192         * lyxfunc.C:
4193         * text3.C: remove insetparent
4194
4195 2003-06-02  John Levon  <levon@movementarian.org>
4196
4197         * buffer.h:
4198         * buffer.C: fix inset_iterator.end(), move out of line
4199         (bug 1149)
4200
4201 2003-06-01  John Levon  <levon@movementarian.org>
4202
4203         * text3.C: use a proper cut/paste when doing inset
4204         insert (from Jürgen Spitzmüller)
4205
4206 2003-06-01  John Levon  <levon@movementarian.org>
4207
4208         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4209
4210 2003-05-30  André Pönitz  <poenitz@gmx.net>
4211
4212         * rowpainter.C: unify second drawing phase
4213
4214 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * trans_mgr.C: remove one case of current_view
4217
4218         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4219
4220         * paragraph_funcs.h: remove paragraph.h include
4221
4222         * paragraph.h: delete NO_STD_LIST stuff
4223
4224         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4225
4226         * buffer.h: remove paragraph.h include
4227
4228         * ParagraphList.C: delete file
4229
4230         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4231
4232         * toc.C (getTocList): adjust
4233
4234         * paragraph_pimpl.C (validate): adjust
4235
4236         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4237
4238         * paragraph.C (Paragraph): adjust
4239         (getPositionOfInset): use const_iterator, adjust
4240         (bibitem): use const_iterator, adjust
4241         (setInsetOwner): adjust
4242
4243         * iterators.C (operator++): adjust
4244
4245         * InsetList.[Ch]: Replace selfmade iterator with standard
4246         vector::iterator also introduce const_iterator. Remove getPos,
4247         getInset and setInset from InsetTable. Adjust accordingly.
4248
4249         * BufferView.C (lockInset): adjust
4250         (ChangeInsets): adjust
4251
4252         * tabular.[Ch]: delete commented same_id functions
4253
4254 2003-05-28  John Levon  <levon@movementarian.org>
4255
4256         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4257
4258 2003-05-28  André Pönitz  <poenitz@gmx.net>
4259
4260         * metricsinfo.[Ch]: remove 'fullredraw' member
4261
4262 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4263
4264         * lyxtextclass.C (operator): remove caching.
4265
4266 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * text3.C: adjust
4269
4270         * text2.C (cursorBottom): adjust
4271         (setCounter): use ParagraphList::find, adjust
4272
4273         * text.C (workWidth): use ParagraphList::find, adjust
4274
4275         * lyxcursor.C (LyXCursor): adjust
4276
4277         * buffer.C (inset_iterator): adjust
4278
4279         * ParagraphList.h: make iterator(value_type) private, make
4280         ParagraphList a friend of iterator.
4281
4282         * ParagraphList.C (find): new function
4283
4284         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4285
4286 2003-05-27  André Pönitz  <poenitz@gmx.net>
4287
4288         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4289
4290 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4291
4292         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4293
4294 2003-05-26  John Levon  <levon@movementarian.org>
4295
4296         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4297
4298 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * remove same_id from function signatures, adjust.
4301
4302 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4303
4304         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4305
4306         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4307
4308         * paragraph.C (Paragraph): get rid of same_ids parameter
4309
4310         * ParagraphList.C (insert): adjust
4311         (push_back): adjust
4312
4313 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * paragraph_funcs.C (breakParagraph): adjust
4316         (breakParagraphConservative): adjust
4317
4318         * buffer.C (readParagraph): adjust
4319
4320         * ParagraphList.C (insert): take a reference instead of a pointer
4321         (insert): adjust
4322
4323         * paragraph.[Ch] (id): new function
4324
4325         * bufferlist.C (newFile): adjust
4326
4327         * ParagraphList.C (ParagraphList): adjust
4328         (assign): adjust
4329         (push_back): take a reference instead of a pointer.
4330
4331         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4332
4333         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4334         instead.
4335
4336         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4337         set else use old code.
4338
4339         * ParagraphList.C: remove all NO_NEXT code and only compile this
4340         code of NO_STD_LIST is set.
4341
4342 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4343
4344         * BufferView_pimpl.C:
4345         * TextCache.C:
4346         * TextCache.h:
4347         * bufferlist.C:
4348         * errorlist.h:
4349         * format.C:
4350         * format.h:
4351         * graph.C:
4352         * lyxfunc.C:
4353         * lyxrc.C:
4354         * graphics/GraphicsConverter.C:
4355         * graphics/PreviewLoader.C: header adjustment
4356
4357 2003-05-23  Angus Leeming  <leeming@lyx.org>
4358
4359         * LaTeXFeatures.[Ch] (useBabel): new method.
4360         * bufferparams.C (writeLaTeX): use it.
4361
4362 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * ParagraphList.h (set): remove unused function.
4365
4366 2003-05-23  André Pönitz  <poenitz@gmx.net>
4367
4368         * BufferView.C:
4369         * BufferView_pimpl.C:
4370         * buffer.C:
4371         * buffer.h:
4372         * lyxfunc.C:
4373         * undo_funcs.C: setUndo reworked
4374
4375         * iterators.[Ch]: add access to topmost ParagraphList
4376
4377         * lyxtext.[Ch] (workWidth): add a const
4378
4379 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4380
4381         * texrow.[Ch] (increasePos): remove function
4382         * exporter.C (export): removed unused var and outdated comment
4383
4384 2003-05-23  Angus Leeming  <leeming@lyx.org>
4385
4386         * latexrunparams.h: rename fragile as moving_arg.
4387         * paragraph.C (simpleTeXOnePar): ditto.
4388         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4389
4390 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4393         (createUndo): ditto
4394         (textUndoOrRedo): comment out a currently unused var.
4395
4396         * paragraph.h (NO_NEXT): enable NO_NEXT
4397
4398         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4399
4400         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4401
4402         * exporter.C (Export): adjust for removeAutoInsets removal.
4403
4404         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4405
4406         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4407
4408         * BufferView.[Ch] (removeAutoInsets): delete function
4409
4410 2003-05-22  Angus Leeming  <leeming@lyx.org>
4411
4412         * latexrunparams.h: add a free_spacing variable.
4413
4414         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4415         to pass moving_arg, as the data is stored in runparams.fragile.
4416
4417         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4418         to Inset::latexOptional or to simpleTeXOnePar.
4419
4420         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4421         free_spacing arg to Inset::latexOptional.
4422
4423         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4424         free_spacing arg.
4425
4426 2003-05-22  Angus Leeming  <leeming@lyx.org>
4427
4428         * latexrunparams.h: add fragile and use_babel variables.
4429
4430         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4431         * buffer.C (makeLaTeXFile): store this returned value in
4432         runparams.use_babel, thus passing it to the inset::latex methods.
4433
4434         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4435         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4436
4437         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4438         longer has a fragile arg, as it is stored in runparams.fragile.
4439
4440         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4441         moving_arg parameter as the data is stored in runparams.fragile.
4442
4443         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4444         a fragile parameter as the data is stored in runparams.fragile.
4445
4446 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4449
4450 2003-05-22  Angus Leeming  <leeming@lyx.org>
4451
4452         * latexrunparams.h: add a 'bool nice' which defaults to false.
4453
4454         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4455         now encapsulated within runparams.
4456
4457         * bufferlist.C (updateIncludedTeXfiles):
4458         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4459
4460 2003-05-22  Angus Leeming  <leeming@lyx.org>
4461
4462         * latexrunparams.h: new file containing struct LatexRunParams.
4463         * Makefile.am: add new file.
4464
4465         * LaTeX.[Ch] (c-tor, run):
4466         * buffer.[Ch] (makeLaTeXFile):
4467         * bufferlist.[Ch] (updateIncludedTeXfiles):
4468         * converter.C (convert, scanLog):
4469         * converter.[Ch] (runLaTeX):
4470         * exporter.C (Export):
4471         * paragraph.[Ch] (simpleTeXOnePar):
4472         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4473         * paragraph_funcs.[Ch] (latexParagraphs):
4474         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4475         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4476         pass around a LatexRunParams parameter.
4477
4478 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * paragraph.[Ch]: remove unused constructor
4481
4482         * ParagraphList.C (erase): new function, taking two iterators
4483
4484 2003-05-22  André Pönitz  <poenitz@gmx.net>
4485
4486         * undo_funcs.C: remove duplicated code
4487
4488         * iterator.[Ch]: operator=
4489
4490 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * tabular.C (SetMultiColumn): ws changes
4493
4494         * rowpainter.C (paintFirst): get rid of a ->previous
4495
4496         * lyx_cb.C (getPossibleLabel): parlist simplification
4497
4498         * BufferView.C (ChangeInsets): simplify slightly.
4499
4500 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4501
4502         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4503         * lfuns.h: new LFUN_SPACE
4504         * lyxfunc.C: protected space has a new lfun
4505         * paragraph_funcs.C: read new space insets
4506         * text3.C:
4507         * factory.C: handle new space insets
4508
4509 2003-05-22  André Pönitz  <poenitz@gmx.net>
4510
4511         * BufferView.C:
4512         * BufferView_pimpl.C:
4513         * buffer.[Ch]:
4514         * lyxfunc.C:
4515         * undo_funcs.C: return a ParIterator from getParFromID.
4516
4517         * iterators.[Ch]: add two const's
4518
4519 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * toc.C (getTocList): adjust
4522
4523         * iterators.[Ch]: rework for parlist
4524
4525         * buffer.C (par_iterator_begin): adjust
4526         (par_iterator_end): adjust
4527
4528         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4529
4530         * BufferView.C (removeAutoInsets): adjust
4531         (ChangeInsets): adjust
4532
4533 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4534
4535         * text.C (top_y): fix bug 1110
4536
4537 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * errorlist.[Ch]: added
4540         * buffer.C:
4541         * BufferView.[Ch]:
4542         * BufferView_pimpl.C:
4543         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4544         instead
4545
4546 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * Makefile.am: ensure that lyx is relinked upon changes to the
4549         various "convenience" libs.
4550
4551 2003-05-20  Angus Leeming  <leeming@lyx.org>
4552
4553         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4554         files are compiled in alphabetical order again.
4555
4556         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4557
4558 2003-05-19  Angus Leeming  <leeming@lyx.org>
4559
4560         * gettext.[Ch]: remove "char const * _(char const *)".
4561
4562 2003-05-19  André Pönitz  <poenitz@gmx.net>
4563
4564         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4565
4566         * Makefile.am:
4567         * BufferView.C:
4568         * DepTable.h:
4569         * LaTeXFeatures.C:
4570         * buffer.C:
4571         * lyxfont.C:
4572         * lyxlex.h:
4573         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4574
4575 2003-05-19  André Pönitz  <poenitz@gmx.net>
4576
4577         * buffer.C:
4578         * lyxlayout.[Ch]:
4579         * lyxtextclass.[Ch]:
4580         * paragraph.C:
4581         * paragraph_funcs.[Ch]:
4582         * text2.C:
4583         * text3.C: more insetenv work
4584
4585 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4586
4587         * ParagraphParameters.C (params2string): small bug fixed
4588
4589 2003-05-16  André Pönitz  <poenitz@gmx.net>
4590
4591         * debug.C:
4592         * bufferview_funcs.C: patch from Kornel Benko to prevent
4593           crash when _(...) is called twice in a statement
4594
4595 2003-05-16  André Pönitz  <poenitz@gmx.net>
4596
4597         * BufferView.C:
4598         * lyxfunc.C:
4599         * text.C:
4600         * text2.C:
4601         * text3.C:
4602         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4603
4604 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4605
4606         * lyx_main.C (init): remove spurious static_cast
4607
4608 2003-05-14  André Pönitz  <poenitz@gmx.net>
4609
4610         * BufferView.C: fix format string
4611
4612 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4613
4614         * BufferView.[Ch] (insertErrors): removed
4615         * BufferView.[Ch] (showErrorList): added
4616         * buffer.C (runChkTeX):
4617         * converter.C (scanLog): call showErrorList instead of inserterrors
4618
4619 2003-05-13  André Pönitz  <poenitz@gmx.net>
4620
4621         * BufferView_pimpl.C:
4622         * buffer.C:
4623         * bufferview_func.C:
4624         * MenuBackend.C:
4625         * lyxfunc.C:
4626         * lyxrc.C:
4627         * tex-accent.C:
4628         * text3.C:
4629         * toc.C:
4630         * tabular_funcs.h: tostr() from its own header
4631
4632         * ParagraphParameters.C:
4633         * ToolbarBackend.C:
4634         * bufferparams.C:
4635         * format.C:
4636         * lyxlex_pimpl.C:
4637         * text3.C: STRCONV()
4638
4639 2003-05-12  André Pönitz  <poenitz@gmx.net>
4640
4641         * BufferView.C:
4642         * BufferView_pimpl.C:
4643         * CutAndPaste.C:
4644         * LaTeX.C:
4645         * LaTeXFeatures.C:
4646         * ParagraphParameters.C:
4647         * buffer.C:
4648         * bufferlist.C:
4649         * bufferparams.C:
4650         * bufferview_funcs.C:
4651         * converter.C:
4652         * counters.C:
4653         * debug.C:
4654         * exporter.C:
4655         * format.C:
4656         * importer.C:
4657         * lyx_cb.C:
4658         * lyx_main.C:
4659         * lyxfont.C:
4660         * lyxfunc.C:
4661         * lyxvc.C:
4662         * paragraph.C:
4663         * paragraph_funcs.C:
4664         * tabular.C:
4665         * tabular_funcs.C:
4666         * text2.C:
4667         * text3.C:  boost::format -> bformat  all over the place
4668
4669
4670 2003-05-09  André Pönitz  <poenitz@gmx.net>
4671
4672         * LColor.[Ch]: Pimpl the #include <map> away
4673
4674 2003-05-09  John Levon  <levon@movementarian.org>
4675
4676         * bufferlist.C: never remove emergency saves
4677
4678 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4679
4680         * Makefile.am: better lib building
4681
4682 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4685         instead.
4686         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4687         (simpleTeXSpecialChars): adjust
4688         (simpleTeXSpecialChars): adjust
4689         * paragraph.C (simpleTeXOnePar): adjust
4690         * buffer.C (makeLaTeXFile): adjust
4691
4692         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4693
4694         * text2.C (changeDepth): parlist cleanup
4695         (getColumnNearX): ditto
4696
4697         * rowpainter.C (getLabelFont): parlist cleanup
4698
4699         * bufferlist.C (newFile): parlist cleanup
4700
4701         * CutAndPaste.C (eraseSelection): parlist cleanup
4702
4703         * BufferView_pimpl.C (trackChanges): parlist cleanup
4704         (dispatch): ditto
4705
4706         * BufferView.C (lockInset): parlist cleanup.
4707         (ChangeInsets): ditto
4708
4709 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * CutAndPaste.h: Update file header.
4712
4713         * CutAndPaste.C: Update file header.
4714         Store the parts cut out of the Document in a limited_stack.
4715         (copySelection): adjust
4716         (pasteSelection): new function, takes the index in the limited stack.
4717         (nrOfParagraphs): adjust
4718         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4719         simplify error inset insertion.
4720         (checkPastePossible): adjust
4721
4722 2003-05-06  John Levon  <levon@movementarian.org>
4723
4724         * text2.C: don't cast wrap inset to float
4725
4726 2003-05-05  André Pönitz  <poenitz@gmx.net>
4727
4728         * iterator.C:
4729         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4730
4731         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4732           few naked Paragraph *.
4733
4734 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4735
4736         * bufferparams.C: Output warning if a document with missing
4737         TeX document class is loaded
4738         * exporter.C: Disable TeX exports if the document class is missing
4739         * lyxtextclass.C:
4740         * lyxtextclass.h:
4741         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4742         isTeXClassAvailable()
4743
4744 2003-05-03  John Levon  <levon@movementarian.org>
4745
4746         * BufferView.h:
4747         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4748         explicit cursor show/hide
4749
4750         * BufferView_pimpl.h:
4751         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4752         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4753
4754         * lyxfunc.C: hide cursor before dispatching.
4755
4756         * lyx_cb.C:
4757         * lyxfind.C:
4758         * text.C:
4759         * text3.C: remove explicit cursor hides
4760
4761 2003-05-02  André Pönitz  <poenitz@gmx.net>
4762
4763         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4764
4765         * undo_funcs.C:
4766         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4767           linked lists
4768
4769         * text2.C: tiny whitespace
4770
4771 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * undo_funcs.C: almost only ws changes.
4774
4775         * ParagraphList.C (splice): just return if pl is empty.
4776
4777 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * ParagraphList.C (splice): new function.
4780
4781         * CutAndPaste.C (pasteSelection): use it
4782
4783 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * CutAndPaste.C (pasteSelection): remove the last next and
4786         previous from this file.
4787
4788 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * CutAndPaste.C (pasteSelection): more clean up, user proper
4791         ParagraphList functions for pasteing.
4792
4793         * ParagraphList.C (insert): new function, three arg insert
4794
4795 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * ParagraphList.C (insert): new function, three arg insert
4798
4799         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4800         not on paragraphs.
4801
4802 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4805
4806 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4809
4810 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4813         (copySelection): clean up a bit.
4814         (pasteSelection): use make_pair
4815
4816         * ParagraphList.C (ParagraphList): implement copy constructor
4817         (operator=): implement, base on copy constructor.
4818         (assign): new func
4819
4820         * paragraph.C (erase): return a bool
4821
4822         * paragraph_pimpl.C (erasePos): remove function, move contents...
4823         (erase): ... here. Return a bool.
4824         (erase): call erase instead of erasePos.
4825
4826 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * ParagraphList.h: define PitPosPair
4829         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4830         ParagraphList, fix a bug on pasting multiple pars
4831         * text2.C: change interface to C&P
4832
4833 2003-04-30  André Pönitz  <poenitz@gmx.net>
4834
4835         * undo_func.C: revert part of yesterday's patch 2
4836
4837 2003-04-30  John Levon  <levon@movementarian.org>
4838
4839         * LColor.C: s/tabular/table/
4840
4841 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * text3.C (dispatch): do not convert iterator -> pointer
4844         * undo_funcs.C (setCursorParUndo): ditto
4845         * text_funcs.C (transposeChars): ditto
4846
4847         * text2.C (setLayout): ws changes only
4848
4849         * text.C (breakParagraph): do not convert iterator -> pointer
4850         (insertChar): ditto
4851         (acceptChange): ditto
4852         (rejectChange): ditto
4853         (changeCase): ditto
4854         (Delete): ditto
4855         (backspace): ditto
4856
4857         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4858         pointer
4859
4860 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * text3.C (gotoInset): YABG (yet another bad getChar)
4863
4864 2003-04-29  André Pönitz  <poenitz@gmx.net>
4865
4866         * paragraph.h: make operator= private unimplemented as long as
4867           it is unusable
4868
4869         * ParagraphList.C: whitespace
4870
4871         * paragraph.[Ch]:
4872         * paragraph_pimpl.[Ch]:
4873         * paragraph_funcs.C:
4874         * CutAndPaste.C:
4875         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4876
4877         * text2.C:
4878           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4879
4880 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4883         * paragraph.[Ch] (erase):
4884         * paragraph_pimpl.[Ch] (erase): change return type and value
4885         * text2.C (cutSelection): some rework
4886
4887 2003-04-28  John Levon  <levon@movementarian.org>
4888
4889         * bufferlist.C: changes for unsaved changes dialog
4890
4891 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * bufferlist.C (newFile): set language (messages_) for new
4894         documents also.
4895
4896         * buffer.C (readFile): ws changes only.
4897
4898 2003-04-28  André Pönitz  <poenitz@gmx.net>
4899
4900         * undo_funcs.C:
4901         * lyxfunc.C:
4902         * buffer.[Ch]:
4903         * BufferView_pimpl.C:
4904         * BufferView.C: getParFromID related ParagraphList::iterator changes
4905
4906 2003-04-28  André Pönitz  <poenitz@gmx.net>
4907
4908         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4909           Changes
4910
4911 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * messages.C: remove one more localedir class variable.
4914
4915 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * messages.C (getLocaleDir): singleton generation function
4918         (Pimpl): use it.
4919         (Messages): add a default constructor.
4920
4921         * main.C (main): do not setup localedir here, do not call
4922         gettext_init.
4923
4924         * gettext.C (_): use it.
4925         (gettext_init): delete funciton
4926
4927 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * gettext.C (getLyXMessages): new singleton generating function.
4930
4931         * buffer.C (updateDocLang): adjust
4932
4933         * Makefile.am (messages.o): add target
4934         (main.o): remove target
4935
4936 2003-04-27  John Levon  <levon@movementarian.org>
4937
4938         * bufferlist.C:
4939         * lyx_cb.C:
4940         * lyxfunc.C:
4941         * lyxvc.C: specify cancel button in Alert::prompt
4942
4943 2003-04-26  John Levon  <levon@movementarian.org>
4944
4945         * text3.C:
4946         * lyxfunc.C:
4947         * lfuns.h:
4948         * LyXAction.C: add LFUN_INSET_SETTINGS
4949
4950         * lyxfunc.C: don't enable tabular-feature when there's
4951         just any locking inset
4952
4953 2003-04-26  John Levon  <levon@movementarian.org>
4954
4955         * bufferlist.C: re-add Cancel to buffer close question
4956
4957         * lyxfunc.C: fix import UI a bit
4958
4959 2003-04-25  John Levon  <levon@movementarian.org>
4960
4961         * gettext.C: remove the broken asserts for now
4962
4963 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * messages.C: make case where setlocale cannot comply work better.
4966
4967         * buffer.C (updateDocLang): new function
4968         (changeLanguage): use it
4969         (readFile): use it
4970
4971         * text2.C (setCounter): use B_ a bit.
4972
4973         * lyxlayout.C (Read): be sure to trim the label strings.
4974
4975         * messages.C (Messages): fix typo in comment
4976
4977         * buffer.C (readFile): set message_ after file is loaded.
4978         (makeDocBookFile): remove double return
4979         (changeLanguage): reset message_ upon language change.
4980         (B_): new func, use this to get translated buffer strings.
4981
4982         * main.C: add myself and Jean Marc as authors.
4983
4984 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * messages.[hC]: pimplify Messages, and three different pimpls to be
4987         used in different circumstances.
4988
4989         * gettext.[Ch]: change for use with new message code.
4990
4991 2003-04-24 André Pönitz <poenitz@gmx.net>
4992
4993         * factory.C: support for eqref
4994
4995 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * messages.[Ch]: add missing char
4998
4999         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5000
5001         * messages.[Ch]: New files
5002
5003 2003-04-18  John Levon  <levon@movementarian.org>
5004
5005         * BufferView.h:
5006         * BufferView.C:
5007         * BufferView_pimpl.C:
5008         * lfuns.h:
5009         * LyXAction.C:
5010         * lyxtext.h:
5011         * text2.C: remove layout-copy/paste (bug 778)
5012
5013 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5014
5015         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5016
5017 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5018
5019         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5020         if they succeed. Act accordingly.
5021
5022 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * text2.C (setCharFont): adjust
5025         (setCounter): adjust
5026         (insertStringAsLines): adjust
5027
5028         * text.C (leftMargin): adjust
5029         (setHeightOfRow): adjust
5030
5031         * rowpainter.C (paintFirst): adjust
5032         (paintLast): adjust
5033
5034         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5035         (outerHook): ditto
5036         (isFirstInSequence): ditto
5037         (getEndLabel): ditto
5038         (outerFont): adjust
5039
5040         * paragraph.C (getParLanguage): comment out some hard stuff.
5041
5042         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5043         (sgmlError): ditto
5044         (simpleDocBookOnePar): ditto
5045         (makeDocBookFile): use ParagraphList::iterator
5046
5047         * CutAndPaste.C (pasteSelection): adjust
5048
5049 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * text2.C (getFont): adjust
5052         (getLayoutFont): adjust
5053         (getLabelFont): adjust
5054
5055         * paragraph_funcs.C (TeXOnePar): adjust
5056
5057         * buffer.C (simpleLinuxDocOnePar): adjust
5058         (simpleDocBookOnePar): adjust
5059
5060         * CutAndPaste.C (pasteSelection): adjust
5061
5062         * BufferView.C (getEncoding): adjust
5063
5064         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5065
5066 2003-04-16  John Levon  <levon@movementarian.org>
5067
5068         * lyxfind.C: use parlist stuff for search/changes
5069
5070 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5073
5074         * text2.C (deleteEmptyParagraphMechanism): adjust
5075
5076         * text2.[Ch] (ownerParagraph): delete func (both of them
5077
5078 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5081
5082 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * ParagraphList.C: prepare for NO_NEXT
5085
5086 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * text2.C (getFont): adjust
5089         (getLayoutFont): adjust
5090         (getLabelFont): adjust
5091
5092         * paragraph.C (getFont): adjust
5093         (getLabelFont): adjust
5094         (getLayoutFont): adjust
5095
5096         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5097
5098 2003-04-15  John Levon  <levon@movementarian.org>
5099
5100         From Angus Leeming
5101
5102         * lyx_main.C: handle Include in .ui files
5103
5104 2003-04-15  John Levon  <levon@movementarian.org>
5105
5106         * MenuBackend.C: make the doc files length shorter
5107
5108         * ToolbarBackend.h:
5109         * ToolbarBackend.C: handle toolbar placement flags,
5110         Minibuffer
5111
5112 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5115         adjust
5116
5117         * paragraph_funcs.C (TeXOnePar): adjust
5118
5119         * paragraph.C (getLabelFont): add outerfont arg, adjust
5120         (getLayoutFont): ditto
5121         (simpleTeXOnePar): adjust
5122
5123         * paragraph_pimpl.C (realizeFont): delete func
5124
5125 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5126
5127         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5128         row argument, constify cur argument.
5129
5130 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * text2.C (getFont): adjust
5133         (getLayoutFont): adjust
5134         (getLabelFont): adjust
5135
5136         * paragraph_funcs.C (TeXOnePar): adjust
5137         (outerFont): new func...
5138         (realizeFont): ...moved out from here, changed this to facilitate
5139         transition
5140
5141         * paragraph.C (getFont): take outerfont as arg, adjust
5142         (simpleTeXOnePar): add outerfont arg, adjust
5143
5144         * buffer.C (simpleLinuxDocOnePar): adjust
5145         (simpleDocBookOnePar): adjust
5146
5147         * CutAndPaste.C (pasteSelection): adjust
5148
5149         * BufferView.C (getEncoding): adjust
5150
5151 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * text2.C (setCharFont): adjust
5154         (setCounter): adjust
5155
5156         * text.C (leftMargin): adjust
5157         (setHeightOfRow): adjust
5158
5159         * rowpainter.C (paintFirst): adjust
5160         (paintLast): adjust
5161
5162         * paragraph_pimpl.C (realizeFont): adjust
5163
5164         * paragraph.C (isFirstInSequence): move from here...
5165         * paragraph_funcs.C (isFirstInSequence): ...to here
5166
5167         * paragraph.C (outerHook): move from here...
5168         * paragraph_funcs.C (outerHook): ...to here
5169
5170         * paragraph.C (depthHook): move from here...
5171         * paragraph_funcs.C (depthHook): ...to here
5172
5173         * paragraph.C (getEndLabel): move from here...
5174         * paragraph_funcs.C (getEndLabel): ...to here
5175
5176         * text2.C (realizeFont): move from here...
5177         * paragraph_funcs.C (realizeFont): ...to here
5178
5179 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5180
5181         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5182
5183 2003-04-14  Angus Leeming  <leeming@lyx.org>
5184
5185         * LColor.[Ch]: scrap LColor mathcursor.
5186
5187 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * lyxlex.[Ch] (text): delete function
5190         * trans.C (Load): adjust
5191         * paragraph_funcs.C (readParToken): adjust
5192
5193 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5196         vector<char> instead of a char[].
5197
5198         * lyxlex_pimpl.C (getString): adjust
5199         (next): adjust
5200         (lex): use getString
5201         (eatLine): adjust
5202         (nextToken): adjust
5203
5204         * lyxlex.C (text): use pimpl_->getString()
5205         (getBool): ditto
5206         (findToken): ditto
5207
5208 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5211         (makeFontEntriesLayoutSpecific): temp var for par.size()
5212         (setLayout): temp var for ownerParagraphs().end()
5213         (fullRebreak): temp var for rows().end()
5214         (selectionAsString): temp var for boost::next(startpit), realize
5215         that the while really is a regular for loop.
5216         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5217         setCursor in one place.
5218         (setParagraph): temp vr for ownerParagraphs().end()
5219         (updateCounters): make the while loop a for loop
5220         (cutSelection): temp var for ownerParagraphs().end()
5221         (updateInset): make the do {} while() a regular for loop
5222         (getCursorX): use temp vars
5223         (setCurrentFont): use temp vars
5224         (getColumnNearX): use temp vars
5225
5226 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * text.C (transformChar): use temp var for getChar
5229         (computeBidiTables): use temp var for row->par()
5230         (fill): move temp vars for row->par() and pit->layout() earlier in
5231         the function.
5232         (labelFill): use temp var for row->par()
5233         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5234         asc and desc, realize that pit never changes and that firstpit is
5235         just a duplicate and not needed. Exchange rit->par() with pit in a
5236         lot of places.
5237         (breakAgain): use a temp var for boost::next(rit)
5238         (breakAgainOneRow): ditto
5239         (breakParagraph): use a temp var for rows().begin()
5240         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5241         (cursorRightOneWord): use temp var for cursor.par() and
5242         cursor.pos(), remove usage of tmpcursor.
5243         (cursorLeftOneWord): use temp var for cursor.par() and
5244         cursor.pos() only set cur at end of function.
5245
5246 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * text.C, text2.C: exchange all usage of Paragraph::next with
5249         boost::next(ParagraphList::iterator)
5250
5251         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5252
5253         * text2.C (cursorTop): simplify implementation
5254         (cursorBottom): ditto
5255         (setParagraph): use ParagraphList::iterator
5256         (setCurrentFont): adjust
5257         (getColumnNearX): adjust
5258         (cursorRight): adjust
5259         (cursorLeft): remove usage of Paragraph::previous
5260         (cursorUpParagraph): ditto
5261         (deleteEmptyParagraphMechanism): slight cleanup
5262
5263         * text.C (isBoundary): take a Paragraph const & instead of a
5264         pointer as arg.
5265         (addressBreakPoint): ditto
5266         (leftMargin): remove usage of Paragraph::previous.
5267         (setHeightOfRow): ditto
5268         (cursorLeftOneWord): ditto
5269         (selectNextWordToSpellcheck): ditto
5270         (Delete): ditto
5271         (backspace): ditto
5272         (breakParagraph): remove one usage of Paragraph::next
5273         (redoParagraph): ditto
5274         (acceptChange): ditto
5275         (insertChar): adjust
5276         (rowBreakPoint): adjust
5277
5278         * bufferview_funcs.C (toggleAndShow): adjust
5279
5280 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5283         methods to access it.
5284         * lyxtext.h:
5285         * text.C: Added updateRowPositions to compute all row positions.
5286         Make top_y and getRowNearY() to use the cached y position
5287
5288 2003-04-11  John Levon  <levon@movementarian.org>
5289
5290         * text.C (rowBreakPoint): reintroduce the labelEnd
5291         checks, code copied from the row fill stuff. Deep voodoo.
5292
5293         * text.C (fill): add a comment and debugging for the
5294         next poor soul.
5295
5296 2003-04-11  John Levon  <levon@movementarian.org>
5297
5298         * text.C: make sure fullrow insets get wrapped to the next line,
5299         even when they're in a manual label
5300
5301 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * text2.C (insertParagraph): make it take ParagraphList::iterator
5304         as arg.
5305         (setLayout): make it return ParagraphList::iterator
5306         (redoParagraphs): ditto
5307         (setCounter): ditto
5308         (checkParagraph): ditto
5309
5310         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5311
5312         * text2.C: adjust several funcs.
5313         (realizeFont): take a ParagraphList::iterator as arg.
5314         (getLayoutFont): ditto
5315         (getLabelFont): ditto
5316         (setCharFont): ditto
5317
5318         * text.C: adjust several funcs.
5319
5320 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * text.C (selectNextWordToSpellcheck): don't accidentally
5323         skip insets
5324
5325 2003-04-10  John Levon  <levon@movementarian.org>
5326
5327         * ToolbarBackend.C (getIcon): special handling for
5328         LFUN_MATH_DELIM
5329
5330 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5331
5332         * text2.C (cursorRight): a getChar assert fixed
5333
5334 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * text2.C (getFont): change to take a ParagraphList::iterator
5337         instead of Paragraph*
5338         Adjust several functions.
5339
5340         * text.C (transformChar): change to take a ParagraphList::iterator
5341         instead of Paragraph*
5342         (singleWidth): ditto
5343         Adjust several functions.
5344
5345         * rowpainter.C: adjust several functions
5346         * rowpainter.h:store a ParagraphList::iterator and not a
5347         Paragraph&.
5348
5349
5350 2003-04-09  John Levon  <levon@movementarian.org>
5351
5352         * lyxfunc.C:
5353         * lfuns.h:
5354         * LyXAction.h:
5355         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5356         and the "help" bits as well
5357
5358 2003-04-09  John Levon  <levon@movementarian.org>
5359
5360         * ToolbarBackend.h:
5361         * ToolbarBackend.C: allow multiple toolbars
5362
5363 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * undo_funcs.C (setCursorParUndo): adjust
5366
5367         * text_funcs.C (transposeChars): adjust
5368
5369         * text3.C (gotoNextInset): adjust
5370         (dispatch): adjust
5371
5372         * text2.C (setLayout): adjust
5373         (changeDepth): adjust
5374         (setFont): adjust
5375         (redoParagraphs): adjust
5376         (selectionAsString): adjust
5377         (setParagraph): adjust
5378         (insertInset): adjust
5379         (cutSelection): adjust
5380         (copySelection): adjust
5381         (pasteSelection): adjust
5382         (insertStringAsLines): adjust
5383         (updateInset): adjust
5384         (setCursor): change to take a ParagraphList::iterator parameter
5385         (setCursorIntern): change to take a ParagraphList::iterator parameter
5386         (setCurrentFont): adjust
5387         (cursorLeft): adjust
5388         (cursorRight): adjust
5389         (deleteEmptyParagraphMechanism): adjust
5390
5391         * text.C (breakParagraph): adjust
5392         (insertChar): adjust
5393         (acceptChange): adjust
5394         (rejectChange): adjust
5395         (selectNextWordToSpellcheck): adjust
5396         (changeCase): adjust
5397         (Delete): adjust
5398         (backspace): adjust
5399
5400         * lyxfind.C (SearchForward): adjust
5401         (SearchBackward): adjust
5402         (nextChange): adjust
5403
5404         * lyxcursor.C (par): adjust
5405
5406         * lyxcursor.h: store a ParagraphList::iterator instead of a
5407         Paragraph*
5408
5409         * lyx_cb.C (getPossibleLabel): adjust
5410
5411         * bufferview_funcs.C (toggleAndShow): adjust
5412
5413         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5414         (dispatch): adjust
5415
5416         * BufferView.C (removeAutoInsets): adjust
5417         (lockedInsetStoreUndo): adjust
5418
5419 2003-04-09  John Levon  <levon@movementarian.org>
5420
5421         * ToolbarBackend.C: try icon without argument
5422         if with argument fails
5423
5424 2003-04-08  John Levon  <levon@movementarian.org>
5425
5426         * ToolbarBackend.h:
5427         * ToolbarBackend.C: add getIcon(), handle tooltip,
5428         and change from "Icon" to "Item".
5429
5430 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5431
5432         * BufferView.C (lockInset): another bad getchar crunched
5433
5434 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5437         again)
5438
5439 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5440
5441         * lyxfind.C (searchForward, searchBackwards): bug 782
5442
5443 2003-04-07  John Levon  <levon@movementarian.org>
5444
5445         * paragraph.C: remove dead comment
5446
5447         * text.C: remove troublesome depth-fiddling code
5448         in leftMargin() and rightMargin() (bug 1017)
5449
5450         * text.C: fix breaking of rows in nested lists
5451         (bug 1004)
5452
5453         * text2.C (updateCounters): fix up depth values
5454         (bug 1013)
5455
5456 2003-04-07  John Levon  <levon@movementarian.org>
5457
5458         * BufferView_pimpl.C: clear message when doc finishes resizing,
5459         and after a mouse event
5460
5461         * lyxfunc.C: clear message after exiting inset
5462
5463 2003-04-07  John Levon  <levon@movementarian.org>
5464
5465         * bufferview_funcs.C: show math status not outside
5466         status in the statusbar
5467
5468 2003-04-07  John Levon  <levon@movementarian.org>
5469
5470         * lyxfunc.C: note status changed after a depth change
5471
5472 2003-04-04  Angus Leeming  <leeming@lyx.org>
5473
5474         * LaTeX.h: move AuxInfo operator==, != out of line.
5475         Remove LaTeX virtual destructor; nothing derives from it.
5476         Move operator()() out of public area and rename it startscript().
5477         Change protected for private.
5478
5479 2003-04-04  Angus Leeming  <leeming@lyx.org>
5480
5481         * lyxfunc.C:
5482         * text2.C: remove unneeded #includes.
5483
5484 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5485
5486         * text2.C (dEPM): fix the heigth of the next row
5487
5488 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5489
5490         * text.C: squashed an invalid getChar requester + some ws changes
5491
5492 2003-04-03  John Levon  <levon@movementarian.org>
5493
5494         * bufferview_funcs.h:
5495         * bufferview_funcs.C:
5496         * lyxfunc.C:
5497         * lyxtext.h:
5498         * text2.C: make getStatus work for the env depth lfuns
5499
5500 2003-04-03  John Levon  <levon@movementarian.org>
5501
5502         * bufferview_funcs.h:
5503         * bufferview_funcs.C:
5504         * lyxfunc.C:
5505         * lyxtext.h:
5506         * text2.C: parlistize decDepth(), by merging it with incDepth()
5507
5508 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * lyxrow.h: store a ParagraphList::iterator instead of a
5511         Paragraph* and adjust other class functions to suit.
5512
5513         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5514         above.
5515
5516 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5517
5518         * text2.C (setCursor): do not anchor to cursor row for the time being
5519
5520 2003-04-02  John Levon  <levon@movementarian.org>
5521
5522         * LyXAction.C:
5523         * lfuns.h:
5524         * lyx_main.C:
5525         * lyxtext.h:
5526         * text.C:
5527         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5528
5529 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * paragraph.h: make ParagraphList and ParagraphList::iterator
5532         friends of Paragraph.
5533
5534         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5535
5536         * ParagraphList.C: Use the private next_ and previous_ from
5537         Paragraph.
5538
5539 2003-04-01  John Levon  <levon@movementarian.org>
5540
5541         * ToolbarBackend.h:
5542         * ToolbarBackend.C:
5543         * Makefile.am: rename, remove defaults gunk
5544
5545         * MenuBackend.h:
5546         * MenuBackend.C: remove defaults gunk
5547
5548         * Languages.h:
5549         * Languages.C: remove defaults gunk
5550
5551         * lyx_main.h:
5552         * lyx_main.C: error out if files couldn't be found.
5553
5554 2003-04-02  John Levon  <levon@movementarian.org>
5555
5556         * text2.C: make incDepth() use parlist
5557
5558 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * undo_funcs.C (firstUndoParagraph): adjust
5561
5562         * text3.C (gotoInset): adjust
5563         (dispatch): adjust, and rewrite loop.
5564
5565         * text2.C (init): adjust, and rewrite loop.
5566         (redoParagraphs): adjust
5567         (updateInset): adjust, and rewrite loop.
5568         (deleteEmptyParagraphMechanism): adjust
5569
5570         * tabular.C (LyXTabular): adjust
5571         (SetMultiColumn): adjust
5572         (TeXRow): adjust
5573
5574         * lyxtext.[Ch] (ownerParagraph): delete function
5575         (ownerParagraphs): new function returns a ParagraphList.
5576
5577         * BufferView.C (removeAutoInsets): adjust
5578         (insertErrors): adjust
5579         (setCursorFromRow): adjust
5580
5581 2003-04-01  Angus Leeming  <leeming@lyx.org>
5582
5583         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5584         in the frontends.
5585
5586 2003-04-02  John Levon  <levon@movementarian.org>
5587
5588         * lyxtext.h:
5589         * text.C:
5590         * Makefile.am:
5591         * text_funcs.h:
5592         * text_funcs.C: make transposeChars a free function
5593
5594         * lyxrow_funcs.C: remove wrong comment
5595
5596 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * lyxtext.h: adjust
5599         * rowpainter.C: adjust
5600         * text.C: adjust
5601         * text2.C: adjust
5602         * text3.C: adjust
5603
5604         * lyxrow_funcs. [Ch]: new files
5605
5606         * lyxrow.[Ch]: remove next and previous pointers
5607         (next,previous): remove accessor functions
5608         (isParEnd): move to lyxrow_funcs
5609         (lastPos): move to lyxrow_funcs
5610         (nextRowIsAllInset): move to lyxrow_funcs
5611         (lastPrintablePos): move to lyxrow_funcs
5612         (numberOfSeparators): move to lyxrow_funcs
5613         (numberOfHfills): move to lyxrow_funcs
5614         (numberOfLabelHfills): move to lyxrow_funcs
5615         (hfillExpansion): move to lyxrow_funcs
5616
5617         * lyxfunc.C: adjust
5618
5619         * bufferview_funcs.C (toggleAndShow): adjust
5620
5621         * RowList.h: Remove class RowList from file leave just a
5622         std::list<Row>.
5623
5624         * RowList.C: delete file
5625
5626         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5627         and lyxrow_funcs.h
5628
5629 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5630
5631         * text3.C (cursorPrevious): adjust
5632         (cursorNext): adjust
5633         (dispatch): adjust
5634
5635         * text2.C (redoHeightOfParagraph): adjust
5636         (redoDrawingOfParagraph): adjust
5637         (setCursor): adjust
5638
5639         * text.C (breakParagraph): adjust
5640         (insertChar): adjust
5641         (backspace): adjust
5642
5643         * rowpainter.C (RowPainter): adjust
5644         (leftMargin): simplify and adjust
5645         (most rowpainter functions): adjust.
5646
5647         * rowpainter.h: store the row as RowList::iterator not as Row*
5648
5649         * lyxcursor.C (row): taka RowList::iterator as arg
5650         (irow): ditto
5651
5652         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5653         of Row*.
5654
5655 2003-04-01  Angus Leeming  <leeming@lyx.org>
5656
5657         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5658         stuff like bool Bool.
5659
5660 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5661
5662         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5663         rewrite a loop
5664
5665 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5668         RowList::iterator.
5669
5670         * lyxtext.h (rows): drop one version and leve a const variant that
5671         returns a RowList::iterator.
5672
5673 2003-03-31  Angus Leeming  <leeming@lyx.org>
5674
5675         * text.C (fill): ensure that the signature is the same as that in the
5676         header file.
5677
5678 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5679
5680         * text2.C (redoParagraphs): adjust
5681         (updateCounters): adjust
5682         (checkParagraph): adjust
5683         (getColumnNearX): adjust and reformat a bit.
5684
5685         * text.C (top_y): adjust
5686         (workWidth): adjust
5687         (leftMargin): adjust
5688         (prepareToPrint): adjust
5689         (getRow): adjust
5690         (getRowNearY): adjust
5691
5692         * lyxtext.h: make rowlist_ mutable.
5693
5694         * RowList.h: add const_iterator
5695         * RowList.C: adjust for RowList::const_iterator.
5696
5697         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5698         adjust.
5699
5700 2003-03-31  John Levon  <levon@movementarian.org>
5701
5702         * lyxrc.h:
5703         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5704
5705         * lyx_main.C: set default fonts from using lyx_gui funcs
5706
5707         * exporter.C: pdf_mode moved from lyxrc
5708
5709         * lyx_cb.C:
5710         * lyxfunc.C: changes from above
5711
5712 2003-03-31  John Levon  <levon@movementarian.org>
5713
5714         * lyx_main.C: fix to the last fix
5715
5716 2003-03-31  John Levon  <levon@movementarian.org>
5717
5718         * bufferlist.C: "Load original" -> "Load Original"
5719
5720         * converter.C:
5721         * exporter.C:
5722         * importer.C:
5723         * lyx_main.C:
5724         * format.C: more Alert cleanups
5725
5726 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * text2.C (removeParagraph): make it take a RowList::iterator as
5729         arg, adjust.
5730         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5731         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5732
5733         * text.C (anchor_row): make it take a RowList::iterator as arg,
5734         adjust.
5735         (computeBidiTables): make it take a const reference to Row instead
5736         of Row pointer, adjust.
5737         (leftMargin): make it take a RowList::iterator as arg, adjust.
5738         (rowBreakPoint): adjust
5739         (breakAgainOneRow): make it take a RowList::iterator as arg,
5740         adjust.
5741         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5742
5743         * bufferview_funcs.C (toggleAndShow): adjust
5744
5745 2003-03-30  John Levon  <levon@movementarian.org>
5746
5747         * Makefile.am:
5748         * BoostFormat.h:
5749         * boost-inst.C: moved to support
5750
5751         * several files: changes as a result
5752
5753 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * text2.C (LyXText): adjust.
5756         (init): adjust
5757         (removeRow): make it take a RowList::iterator as arg, adjust.
5758         (fullRebreak): adjust
5759         (deleteEmptyParagraphMechanism): adjust
5760         (clearPaint): adjust
5761         (postPaint): adjust
5762
5763         * text.C (top_y): adjust
5764         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5765         (breakAgain): make it take a RowList::iterator as arg, adjust.
5766         (breakParagraph): adjust
5767         (insertChar): adjust
5768         (backspace): adjust
5769
5770         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5771         need_break_row, and refresh_row.
5772
5773         * text3.C (dispatch): adjust
5774
5775         * text2.C (checkParagraph): adjust
5776         (setCursor): adjust
5777         (setCursorFromCoordinates): adjust
5778
5779         * text.C (top_y): adjust
5780         (workWidth): adjust
5781         (getRow): make it return a RowList::iterator, adjust
5782         (getRowNearY): make it return a RowList::iterator, adjust
5783
5784         * text2.C (init): adjust
5785         (insertRow): remove function
5786         (insertParagraph): adjust
5787         (redoParagraphs): adjust
5788         (fullRebreak): adjust
5789         (updateCounters): adjust
5790
5791         * text.C (top_y): rewrite to use RowList iterators.
5792         (top_y): adjust
5793         (setHeightOfRow): rewrite to sue RowList iterators.
5794         (appendParagraph): adjust
5795         (breakAgain): adjust
5796         (breakAgainOneRow): adjust
5797         (breakParagraph): adjust
5798         (getRow): adjust
5799         (getRowNearY): adjust, and remove commented code.
5800
5801         * lyxtext.h (firstRow): delete function
5802         (lastRow): delete function
5803         (rows): new function (const and non-const versions.)
5804         (insertRow): delete function
5805
5806         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5807
5808 2003-03-29  John Levon  <levon@movementarian.org>
5809
5810         * BufferView_pimpl.C: always update scrollbar top
5811         because pasting text when we're anchored could mean we
5812         miss an update altogether
5813
5814 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * text2.C (init): use rowlist_.end() and not 0.
5817         (insertRow): change to take a RowList::iterator as arg, adjust
5818         for this.
5819         (insertParagraph): change to take a RowList::iterator as arg,
5820         adjust for this.
5821         (redoParagraphs): remove some debug msgs.
5822
5823         * text.C (appendParagraph): change to take a RowList::iterator
5824         arg, adjust for this.
5825         (breakAgain): add an assert
5826         (breakAgainOneRow): ditto
5827
5828 2003-03-29  John Levon  <levon@movementarian.org>
5829
5830         * text2.C: do not clear selection after inc/decDepth
5831         (bug 550)
5832
5833 2003-03-29  John Levon  <levon@movementarian.org>
5834
5835         * BufferView.C:
5836         * buffer.C: fix broken strerrors according to Lars
5837
5838 2003-03-29  John Levon  <levon@movementarian.org>
5839
5840         * converters.C: more Alert cleanups
5841
5842 2003-03-29  John Levon  <levon@movementarian.org>
5843
5844         * bufferview_funcs.C: remove pointless Alert
5845
5846         * buffer.C: fix confusing error message when
5847         a template is chmoded 000
5848
5849 2003-03-29  John Levon  <levon@movementarian.org>
5850
5851         * BufferView.C:
5852         * BufferView.h:
5853         * BufferView_pimpl.C: Alert fixes
5854
5855         * Makefile.am:
5856         * tabular.C:
5857         * tabular-old.C: remove unused table compat reading
5858
5859 2003-03-29  John Levon  <levon@movementarian.org>
5860
5861         * BufferView.C:
5862         * buffer.C:
5863         * lyx_cb.h:
5864         * lyx_cb.C: more Alert cleanups
5865
5866         * lyxfunc.C: don't allow chktex if not latex document
5867
5868 2003-03-29  John Levon  <levon@movementarian.org>
5869
5870         * lyx_cb.C:
5871         * BufferView.C:
5872         * buffer.C: warnings pushed down from support/,
5873         kill err_alert
5874
5875 2003-03-29  John Levon  <levon@movementarian.org>
5876
5877         * lyxfunc.C: safety check for C-r (revert)
5878
5879 2003-03-29  John Levon  <levon@movementarian.org>
5880
5881         * bufferlist.h:
5882         * bufferlist.C: several UI fixes using Alert::prompt.
5883         Fix the pointless looping quit code. Fix stupid revert
5884         behaviour (bug 938)
5885
5886         * lyxvc.h:
5887         * lyxvc.C:
5888         * lyx_cb.C: use Alert::prompt
5889
5890         * lyx_main.C: remove a silly question
5891
5892         * lyxfunc.C: remove a couple of silly questions,
5893         use Alert::prompt
5894
5895 2003-03-28  John Levon  <levon@movementarian.org>
5896
5897         * text2.C: fix bug 974 (End on empty par)
5898
5899 2003-03-28  John Levon  <levon@movementarian.org>
5900
5901         * BufferView_pimpl.C:
5902         * LyXAction.C:
5903         * lfuns.h: remove do-nothing math greek lfuns
5904
5905 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * lyxgluelength.h (isValidGlueLength): add default arg on
5908         parameter 2. Remove default arg from friend in class.
5909
5910         * lyxlength.h (isValidLength): add default arg on parameter 2.
5911         Remove default arg from friend in class.
5912
5913         * text2.C (LyXText): adjust, initialize refresh_row.
5914         (init): adjust
5915         (removeRow): adjust
5916         (insertRow): adjust
5917         (insertParagraph): adjst
5918         (redoParagraphs): adjust
5919         (fullRebreak): adjust
5920         (updateCounters): adjust
5921         (deleteEmptyParagraphMechanism): first attempt at fixing a
5922         crashing bug.
5923
5924         * text.C (top_y): adjust
5925         (setHeightOfRow): adjust
5926         (getRow): adjust
5927         (getRowNearY): adjust
5928
5929         * lyxtext.h: include RowList.h
5930         (~LyXText): not needed anymore, deleted.
5931         (firstRow): modify for RowList
5932         (lastRow): new function
5933         Delete firstrow and lastrow class variables, add a Rowlist
5934         rowlist_ class variable.
5935
5936         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5937         paragraph is empty.
5938
5939         * RowList.C (insert): fix case where it == begin().
5940
5941 2003-03-26  Angus Leeming  <leeming@lyx.org>
5942
5943         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5944         the thesaurus dialog.
5945
5946 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5949
5950         * RowList.[Ch]: new files
5951
5952         * ParagraphList.C (erase): handle the case where it == begin
5953         correctly.
5954
5955 2003-03-25  John Levon  <levon@movementarian.org>
5956
5957         * Makefile.am:
5958         * aspell_local.h:
5959         * aspell.C: add new aspell support
5960
5961         * lyxrc.h:
5962         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5963         have it accessible.
5964
5965 2003-03-25  Angus Leeming  <leeming@lyx.org>
5966
5967         * lfuns.h:
5968         * LyXAction.C (init): new LFUN_INSET_INSERT.
5969
5970         * BufferView_pimpl.C (dispatch): split out part of the
5971         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5972
5973         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5974         LFUN_INSET_APPLY.
5975
5976 2003-03-25  Angus Leeming  <leeming@lyx.org>
5977
5978         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5979
5980 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * text2.C:
5983         * text3.C: remove useless row->height(0)
5984
5985 2003-03-25  John Levon  <levon@movementarian.org>
5986
5987         * lyxtext.h:
5988         * text2.C:
5989         * text3.C: rename the refreshing stuff to better names
5990
5991 2003-03-24  John Levon  <levon@movementarian.org>
5992
5993         * BufferView_pimpl.h:
5994         * BufferView_pimpl.C: update layout choice on a mouse
5995         press/release
5996
5997 2003-03-23  John Levon  <levon@movementarian.org>
5998
5999         * Makefile.am: fix commandtags.h reference
6000
6001 2003-03-22  John Levon  <levon@movementarian.org>
6002
6003         * BufferView_pimpl.C:
6004         * lyxtext.h:
6005         * rowpainter.C:
6006         * rowpainter.h:
6007         * text.C:
6008         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6009
6010 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6011
6012         * lyxtext.h:
6013         * text.C: take the rtl methods out of line
6014
6015 2003-03-21 André Pönitz <poenitz@gmx.net>
6016
6017         * metricsinfo.[Ch]: new files containing structures to be passed around
6018         during the two-phase-drawing...
6019
6020 2003-03-21 André Pönitz <poenitz@gmx.net>
6021
6022         * lyxtextclass.C: read 'environment' tag.
6023
6024 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6025
6026         * text2.C (removeRow): fix bug 964
6027
6028 2003-03-20  John Levon  <levon@movementarian.org>
6029
6030         * rowpainter.C:
6031         * text.C:
6032         * text2.C: paint cleanups. Inset::update() dropped font
6033         parameter
6034
6035 2003-03-19  John Levon  <levon@movementarian.org>
6036
6037         * lyxfunc.C: only fitcursor/markDirty if available()
6038
6039 2003-03-19  John Levon  <levon@movementarian.org>
6040
6041         * commandtags.h: rename to ...
6042
6043         * lfuns.h: ... this, and renumber / cleanup
6044
6045 2003-03-19  John Levon  <levon@movementarian.org>
6046
6047         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6048         fit the cursor after an lfun
6049
6050         * BufferView.h:
6051         * BufferView.C:
6052         * BufferView_pimpl.h:
6053         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6054
6055         * LyXAction.C: layout-character should have ReadOnly
6056
6057         * ParagraphParameters.C:
6058         * buffer.C:
6059         * bufferview_funcs.C:
6060         * lyx_cb.C:
6061         * lyxfind.C:
6062         * lyxtext.h:
6063         * text.C:
6064         * text2.C:
6065         * text3.C:
6066         * undo_funcs.C: changes from above
6067
6068 2003-03-18  John Levon  <levon@movementarian.org>
6069
6070         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6071         remove it from update()
6072
6073         * lyxfunc.C: update layout choice after an lfun
6074
6075         * text3.C: remove extra updateLayoutChoice()s
6076
6077 2003-03-18  John Levon  <levon@movementarian.org>
6078
6079         * text.C: top_y change means full repaint, fix
6080         a drawing bug with cursor movement
6081
6082 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6083
6084         * lyxtext.h:
6085         * text.C:
6086         * text2.C: anchor row on setCursor
6087
6088 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6089
6090         * lyxtext.h: remove almost all mutable keywords
6091         * text.C:
6092         * text2.C:
6093         * text3.C: remove const keywords accordingly
6094
6095 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6098         anon namespace
6099         (TeXEnvironment): ditto
6100         (TeXOnePar): ditto
6101
6102 2003-03-17  John Levon  <levon@movementarian.org>
6103
6104         * text.C (rowBreakPoint): remove attempt to fix displayed
6105         math insets inside a manual label
6106
6107 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * lyxtext.h: remove BufferView* as first arg from almost all class
6110         functions.
6111         * other files: adjust.
6112
6113 2003-03-17  John Levon  <levon@movementarian.org>
6114
6115         * lyxtext.h:
6116         * undo_funcs.C:
6117         * text2.C: more paint cleanups
6118
6119         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6120
6121         * rowpainter.h:
6122         * rowpainter.C: remove "smart" background painting code
6123
6124 2003-03-16  John Levon  <levon@movementarian.org>
6125
6126         * lyxtext.h:
6127         * text.C:
6128         * text2.C:
6129         * text3.C: add helper functions for setting refresh_row/y
6130
6131 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6132
6133         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6134         newline inset which *can* get inserted in the pass_thru layouts.
6135         This is primarily for literate documents.
6136
6137 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6138
6139         * buffer.C: increment LYX_FORMAT to 223
6140
6141 2003-03-14 André Pönitz <poenitz@gmx.net>
6142
6143         * textclass.h: prepare for environment handling, ws changes
6144         * lyxlayout.C: read latexheader and latexfooter tags
6145
6146 2003-03-14  John Levon  <levon@movementarian.org>
6147
6148         * text2.C: rewrite ::status() a bit
6149
6150 2003-03-13  John Levon  <levon@movementarian.org>
6151
6152         * lyxtext.h: add some docs
6153
6154 2003-03-13  John Levon  <levon@movementarian.org>
6155
6156         * lyxtext.h:
6157         * text.C:
6158         * text2.C:
6159         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6160
6161 2003-03-13  John Levon  <levon@movementarian.org>
6162
6163         * text3.C: fix appendix redrawing
6164
6165 2003-03-13  John Levon  <levon@movementarian.org>
6166
6167         * text.C (setHeightOfRow):
6168         * rowpainter.h:
6169         * rowpainter.C: make appendix mark have the text
6170           "Appendix" so the user knows what it is
6171
6172         * LColor.h:
6173         * LColor.C: s/appendixline/appendix/ from above
6174
6175 2003-03-13  John Levon  <levon@movementarian.org>
6176
6177         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6178
6179         * text.C: fix a getChar(pos) bug properly
6180
6181 2003-03-13  Angus Leeming  <leeming@lyx.org>
6182
6183         * commandtags.h:
6184         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6185         Probably only temporary. Let's see how things pan out.
6186
6187         * BufferView.C (unlockInset):
6188         * BufferView_pimpl.C (fitCursor):
6189         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6190
6191         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6192         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6193
6194         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6195         new functions that convert ParagraphParameters to and from a string.
6196
6197         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6198         BufferView::Pimpl's dispatch.
6199         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6200
6201 2003-03-13 André Pönitz <poenitz@gmx.net>
6202
6203         * lyxfunc.C:
6204         * text3.C:
6205         * factory.C: make it aware of InsetEnv
6206
6207 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * text2.C (setCursor): never ask for one past last
6210         (setCursor): add some debugging messages.
6211
6212         * text.C (singleWidth): never ask for one past last
6213         (singleWidth): ditto
6214         (leftMargin): ditto
6215         (rightMargin): ditto
6216         (rowBreakPoint): ditto
6217         (setHeightOfRow): ditto
6218         (prepareToPrint): ditto
6219
6220         * rowpainter.C (paintBackground): never ask for one past last
6221         (paintText): never ask for one past last
6222
6223         * paragraph_pimpl.C (getChar): make the assert stricter, never
6224         allow the one past last pos to be taken
6225
6226         * paragraph.C (getChar): ws changes only
6227
6228         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6229         (numberOfSeparators): ditto
6230         (numberOfHfills): ditto
6231
6232 2003-03-12  John Levon  <levon@movementarian.org>
6233
6234         * author.h:
6235         * author.C:
6236         * bufferparams.h:
6237         * bufferparams.C:
6238         * paragraph_funcs.C: fix per-buffer authorlists
6239
6240 2003-03-12  John Levon  <levon@movementarian.org>
6241
6242         * text.C: fix newline in right address
6243
6244 2003-03-12  Angus Leeming  <leeming@lyx.org>
6245
6246         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6247         duplicate those in LyXFunc::dispatch.
6248
6249         * commandtags.h:
6250         * LyXAction.C:
6251         * ToolbarDefaults.C:
6252         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6253         Add LFUN_FONTFREE_UPDATE.
6254
6255         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6256         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6257
6258         * bufferview_func.[Ch]: several new functions to facilliate
6259         transfer of data to and from the character dialog.
6260
6261 2003-03-12  John Levon  <levon@movementarian.org>
6262
6263         * buffer.C:
6264         * paragraph.h:
6265         * paragraph.C:
6266         * paragraph_funcs.C:
6267         * paragraph_pimpl.C:
6268         * sgml.C:
6269         * tabular.C:
6270         * text.C:
6271         * text3.C: remove META_NEWLINE in favour of an inset
6272
6273         * rowpainter.h:
6274         * rowpainter.C: remove paintNewline (done by inset)
6275
6276 2003-03-12  John Levon  <levon@movementarian.org>
6277
6278         * paragraph_pimpl.C: complain about bad getChar()s
6279         for a while at least
6280
6281 2003-03-12  John Levon  <levon@movementarian.org>
6282
6283         * buffer.h:
6284         * buffer.C: move paragraph read into a separate function,
6285         a little renaming to reflect that.
6286
6287         * bufferparams.h:
6288         * bufferparams.C: remove the author_ids map, not necessary now
6289
6290         * factory.h:
6291         * factory.C: moved Buffer::readInset to here
6292
6293         * paragraph_funcs.h:
6294         * paragraph_funcs.C: readParagraph free function moved from
6295         buffer.C
6296
6297         * tabular.C: name change
6298
6299 2003-03-12  John Levon  <levon@movementarian.org>
6300
6301         * buffer.C:
6302         * ParagraphParameters.C: move par params input to
6303         a read() method
6304
6305         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6306         behave like a normal read from the stream wrt reading
6307         a line vs. a \\token
6308
6309 2003-03-12  John Levon  <levon@movementarian.org>
6310
6311         * paragraph.C:
6312         * ParagraphParameters.h:
6313         * ParagraphParameters.C: move output code to a
6314         ::write() method
6315
6316 2003-03-12  John Levon  <levon@movementarian.org>
6317
6318         * BufferView.C (insertLyXFile):
6319         * buffer.h:
6320         * buffer.C:
6321         * tabular.C: use a parlist iterator for creating the
6322           document.
6323
6324 2003-03-12  John Levon  <levon@movementarian.org>
6325
6326         * buffer.C: make current_change static local not
6327           static file-scope
6328
6329 2003-03-12  John Levon  <levon@movementarian.org>
6330
6331         * buffer.C: fix insertStringAsLines for change tracking
6332
6333 2003-03-12  John Levon  <levon@movementarian.org>
6334
6335         * BufferView.C:
6336         * tabular.C:
6337         * buffer.h:
6338         * buffer.C:
6339         * bufferparams.h:
6340         * bufferparams.C: move author list into params. Rename some
6341           functions. Move the header reading into a separate token
6342           loop. Move the header token reading into BufferParams.
6343
6344 2003-03-12  John Levon  <levon@movementarian.org>
6345
6346         * changes.C: put debug inside lyxerr.debugging() checks
6347
6348 2003-03-11 André Pönitz <poenitz@gmx.net>
6349
6350         * factory.C: make it aware of InsetHFill
6351
6352 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6353
6354         * buffer.C (latexParagraphs): move function from here...
6355         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6356         args.
6357
6358 2003-03-10  Angus Leeming  <leeming@lyx.org>
6359
6360         * LyXAction.C (init): fix bug in poplating array with multiple entries
6361         with the same LFUN (spotted by JMarc).
6362
6363 2003-03-10  John Levon  <levon@movementarian.org>
6364
6365         * text.C:
6366         * text2.C: move getColumnNearX() near its
6367         only call site
6368
6369 2003-03-10  John Levon  <levon@movementarian.org>
6370
6371         * text.C: fix break before a minipage
6372
6373 2003-03-10  John Levon  <levon@movementarian.org>
6374
6375         * text.C: fix the last commit
6376
6377 2003-03-09  John Levon  <levon@movementarian.org>
6378
6379         * lyxtext.h:
6380         * text.C:
6381         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6382         bug 365 (don't break before insets unless needed). Don't
6383         return a value > last under any circumstances.
6384
6385 2003-03-09  Angus Leeming  <leeming@lyx.org>
6386
6387         * BufferView_pimpl.C (trackChanges, dispatch): call
6388         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6389
6390 2003-03-09  Angus Leeming  <leeming@lyx.org>
6391
6392         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6393         than Dialogs::showAboutlyx().
6394
6395 2003-03-09  Angus Leeming  <leeming@lyx.org>
6396
6397         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6398         than Dialogs::showTabularCreate().
6399
6400 2003-03-09  John Levon  <levon@movementarian.org>
6401
6402         * lyxtext.h:
6403         * text.C:
6404         * text2.C: 3rd arg to nextBreakPoint was always the same.
6405           Use references.
6406
6407 2003-03-08  John Levon  <levon@movementarian.org>
6408
6409         * lyxrow.C:
6410         * paragraph.C:
6411         * paragraph.h:
6412         * rowpainter.C:
6413         * text.C:
6414         * text2.C: Remove the "main" bit from the "main body"
6415           notion.
6416
6417 2003-03-08  John Levon  <levon@movementarian.org>
6418
6419         * text.C (leftMargin): The left margin of an empty
6420         manual label paragraph should not include the label width
6421         string length.
6422
6423         * text.C (prepareToPrint): don't attempt to measure hfills
6424         for empty manual label paragraphs - the answer should be 0
6425
6426 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * CutAndPaste.C: remove commented code and reindent.
6429
6430 2003-03-08  John Levon  <levon@movementarian.org>
6431
6432         * lyxfunc.h:
6433         * lyxfunc.C: move reloadBuffer()
6434
6435         * BufferView.h:
6436         * BufferView.C: to here
6437
6438         * lyxvc.C: add comment
6439
6440         * vc-backend.h:
6441         * vc-backend.C: call bv->reload() to avoid
6442           getStatus() check on MENURELOAD
6443
6444 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6445
6446         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6447         to an old format .dep file.
6448
6449 2003-03-07  Angus Leeming  <leeming@lyx.org>
6450
6451         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6452         when the LFUN_MOUSE_RELEASE should have been handled by
6453         inset->localDispatch.
6454
6455 2003-03-07  Angus Leeming  <leeming@lyx.org>
6456
6457         * BufferView_pimpl.C (dispatch):
6458         * LyXAction.C (init):
6459         * ToolbarDefaults.C (init):
6460         * commandtags.h:
6461         * lyxfunc.C (getStatus):
6462         remove LFUN_INSET_GRAPHICS.
6463
6464         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6465
6466 2003-03-07  Angus Leeming  <leeming@lyx.org>
6467
6468         * commandtags.h:
6469         * LyXAction.C (init):
6470         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6471
6472         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6473
6474         * commandtags.h:
6475         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6476
6477         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6478         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6479
6480 2003-03-07  Angus Leeming  <leeming@lyx.org>
6481
6482         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6483         remove "ert".
6484
6485 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * ParagraphList.C (front): new function
6488         (back): implement
6489
6490 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6491
6492         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6493         and top_row_offset_. removed var first_y.
6494         * text.C (top_y):
6495         * text2.C (LyXText, removeRow):
6496         * text3.C:
6497         * BufferView_pimpl.C:
6498         use these methods instead of using first_y
6499
6500 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * text2.C (pasteSelection): adjust for checkPastePossible
6503
6504         * CutAndPaste.C: remove Paragraph * buf and replace with
6505         ParagraphList paragraphs.
6506         (DeleteBuffer): delete
6507         (cutSelection): change the tc type to textclass_type
6508         (copySelection): change the tc type to textclass_type
6509         (copySelection): adjust for ParagraphList
6510         (pasteSelection): change the tc type to textclass_type
6511         (pasteSelection): adjust for Paragraphlist
6512         (nrOfParagraphs): simplify for ParagraphList
6513         (checkPastePossible): simplify for ParagraphList
6514         (checkPastePossible): remove unused arg
6515
6516         * ParagraphList.C (insert): handle the case where there are no
6517         paragraphs yet.
6518
6519         * CutAndPaste.h: make CutAndPaste a namespace.
6520
6521         * text3.C (dispatch): adjust
6522
6523         * text.C (breakParagraph): add a ParagraphList as arg
6524
6525         * paragraph_funcs.C (breakParagraph): change to take a
6526         BufferParams and a ParagraphList as args.
6527         (breakParagraphConservative): ditto
6528         (mergeParagraph): ditto
6529         (TeXDeeper): add a ParagraphList arg
6530         (TeXEnvironment): ditto
6531         (TeXOnePar): ditto
6532
6533         * buffer.C (readLyXformat2): adjust
6534         (insertStringAsLines): adjust
6535         (latexParagraphs): adjust
6536
6537         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6538         (cutSelection): adjust
6539         (pasteSelection): adjust
6540
6541         * BufferView_pimpl.C (insertInset): adjust
6542
6543 2003-03-05  Angus Leeming  <leeming@lyx.org>
6544
6545         * commandtags.h:
6546         * LyXAction.C (init):
6547         * BufferView_pimpl.C (dispatch):
6548         * lyxfunc.C (getStatus):
6549         remove LFUN_CHILD_INSERT.
6550
6551         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6552
6553 2003-03-05  Angus Leeming  <leeming@lyx.org>
6554
6555         * commandtags.h:
6556         * LyXAction.C (init):
6557         * src/factory.C (createInset):
6558         * lyxfunc.C (getStatus):
6559         * text3.C (dispatch):
6560         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6561
6562         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6563
6564 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * ParagraphList.C (insert): handle insert right before end()
6567         (erase): fix cases where it can be first or last paragraph.
6568
6569 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6572         Paragraph::next and Paragraph::previous
6573         (TeXOnePar): ditto
6574
6575         * text.C (breakParagraph): adjust
6576
6577         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6578         BufferParams& as arg.
6579         (breakParagraph): use ParagraphList::insert
6580         (breakParagraphConservative): take a Buffer* instead of a
6581         BufferParams& as arg.
6582         (breakParagraphConservative): use ParagraphList::insert.
6583
6584         * buffer.C (insertStringAsLines): un-const it
6585         (insertStringAsLines): adjust
6586
6587         * ParagraphList.C (insert): new function
6588
6589         * CutAndPaste.C (pasteSelection): adjust
6590
6591         * text.C (backspace): adjust
6592
6593         * tabular.C (SetMultiColumn): adjust
6594
6595         * CutAndPaste.C (cutSelection): adjust
6596         (pasteSelection): adjust
6597
6598         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6599         Buffer const * as arg
6600
6601         * ParagraphList.C (erase): new function
6602         * paragraph_funcs.C (mergeParagraph): use it
6603         (mergeParagraph): make it take a Buffer* instead of a
6604         BufferParams* as arg
6605
6606         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6607         as arg
6608         (breakParagraphConservative): ditto
6609
6610         * paragraph.h: remove the breakParagraph friend
6611
6612         * paragraph.C (eraseIntern): new function
6613         (setChange): new function
6614
6615         * paragraph_funcs.C (mergeParagraph): make it take a
6616         ParagraphList::iterator instead of a Paragraph *, adjust
6617         accordingly.
6618
6619         * paragraph.h: move an #endif so that the change tracking stuff
6620         also works in the NO_NEXT case.
6621
6622 2003-03-04  Angus Leeming  <leeming@lyx.org>
6623
6624         * commandtags.h:
6625         * LyXAction.C: new LFUN_INSET_MODIFY.
6626
6627         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6628         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6629
6630 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * several files: ws changes only
6633
6634         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6635         (TeXEnvironment): ditto
6636         (TeXDeeper): ditto
6637
6638         * buffer.C (makeLaTeXFile): adjust
6639         (latexParagraphs): make it take ParagraphList::iterator as args
6640
6641 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6642
6643         * buffer.C (latexParagraphs): adjust
6644
6645         * paragraph.C (TeXOnePar): move function...
6646         (optArgInset): move function...
6647         (TeXEnvironment): move function...
6648         * paragraph_pimpl.C (TeXDeeper): move function...
6649         * paragraph_funcs.C: ...here
6650
6651         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6652
6653 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * buffer.C (readInset): remove compability code for old Figure and
6656         InsetInfo insets
6657
6658 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * buffer.C: ws changes
6661         (readInset):
6662
6663         * BufferView_pimpl.C: ditto
6664         * author.C: ditto
6665         * buffer.h: ditto
6666         * bufferlist.h: ditto
6667         * changes.h: ditto
6668         * lyxfunc.C: ditto
6669
6670 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6671
6672         * converter.[Ch]: split into itself +
6673         * graph.[Ch]
6674         * format.[Ch]
6675         * Makefile.am: += graph.[Ch] + format.[Ch]
6676         * MenuBackend.C
6677         * buffer.C
6678         * exporter.C
6679         * importer.C
6680         * lyx_main.C
6681         * lyxfunc.C
6682         * lyxrc.C: added #include "format.h"
6683
6684 2003-02-27  Angus Leeming  <leeming@lyx.org>
6685
6686         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6687           a label.
6688
6689         * factory.C (createInset): add "label" to the factory.
6690
6691         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6692           string and do no more.
6693
6694 2003-02-27  Angus Leeming  <leeming@lyx.org>
6695
6696         * commandtags.h:
6697         * LyXAction.C (init):
6698         * factory.C (createInset):
6699         * BufferView_pimpl.C (dispatch):
6700           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6701
6702         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6703
6704         * lyxfunc.C (dispatch):
6705         * text3.C (dispatch): pass name to params2string.
6706
6707 2003-02-26  Angus Leeming  <leeming@lyx.org>
6708
6709         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6710           blocks together.
6711           Rearrange the ~includes. Strip out the unnecessary ones.
6712
6713         * factory.C (createInset): reformat.
6714           create new insets for the various LFUN_XYZ_APPLY lfuns.
6715
6716 2003-02-26  John Levon  <levon@movementarian.org>
6717
6718         * lyxrow.h:
6719         * lyxrow.C: add isParStart,isParEnd helpers
6720
6721         * paragraph.h: make isInserted/DeletedText take refs
6722
6723         * paragraph_funcs.h:
6724         * paragraph_funcs.C: remove #if 0'd code
6725
6726         * lyxtext.h:
6727         * text3.C:
6728         * text2.C:
6729         * text.C: use lyxrow helpers above.
6730           Move draw and paint routines to RowPainter.
6731           Make several methods use refs not pointers.
6732           Make backgroundColor() const.
6733           Add markChangeInDraw(), isInInset().
6734           Merge changeRegionCase into changeCase.
6735           Make workWidth() shouldn't-happen code into an Assert.
6736
6737         * rowpainter.h:
6738         * rowpainter.C: new class for painting a row.
6739
6740         * vspace.h:
6741         * vspace.C: make inPixels take a ref
6742
6743 2003-02-26  Angus Leeming  <leeming@lyx.org>
6744
6745         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6746         LFUN_REF_APPLY.
6747
6748 2003-02-25  John Levon  <levon@movementarian.org>
6749
6750         * ispell.C: give the forked command a more accurate name
6751
6752 2003-02-22  John Levon  <levon@movementarian.org>
6753
6754         * toc.h:
6755         * toc.C: make TocItem store an id not a Paragraph *
6756           (bug #913)
6757
6758 2003-02-21  Angus Leeming  <leeming@lyx.org>
6759
6760         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6761           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6762           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6763           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6764           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6765           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6766
6767         * BufferView_pimpl.C (dispatch):
6768         * LyXAction.C (init):
6769         * factory.C (createInset):
6770         * lyxfunc.C (getStatus, dispatch):
6771         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6772
6773 2003-02-21  Angus Leeming  <leeming@lyx.org>
6774
6775         * BufferView_pimpl.C (MenuInsertLyXFile):
6776         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6777         * lyxfunc.C (menuNew, open, doImport):
6778           no longer pass a LyXView & to fileDlg.
6779
6780 2003-02-21  Angus Leeming  <leeming@lyx.org>
6781
6782         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6783         * LyXAction.C: change, BIBKEY to BIBITEM.
6784         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6785         Change InsetBibKey to InsetBibitem.
6786         Change BIBKEY_CODE to BIBITEM_CODE.
6787         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6788         * factory.C: replace insetbib.h with insetbibitem.h.
6789         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6790         * paragraph.C: replace insetbib.h with insetbibitem.h.
6791         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6792         Change bibkey() to bibitem().
6793         * text.C: remove insetbib.h.
6794         * text2.C: replace insetbib.h with insetbibitem.h.
6795         change bibkey() to bibitem().
6796         * text3.C: remove insetbib.h.
6797         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6798
6799 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6800
6801         * lyxrc.C (output): enclose user email in quotes (in case there are
6802         several words)
6803
6804 2003-02-18  John Levon  <levon@movementarian.org>
6805
6806         * buffer.h: add std::
6807
6808 2003-02-17  John Levon  <levon@movementarian.org>
6809
6810         * SpellBase.h:
6811         * ispell.h:
6812         * ispell.C:
6813         * pspell.h:
6814         * pspell.C: reworking. Especially in ispell, a large
6815           number of clean ups and bug fixes.
6816
6817         * lyxfunc.C: fix revert to behave sensibly
6818
6819 2003-02-17 André Pönitz <poenitz@gmx.net>
6820
6821         * LyXAction.C:
6822         * commandtags.h: new LFUN_INSERT_BIBKEY
6823
6824         * layout.h:
6825         * lyxlayout.C:
6826         * buffer.C:
6827         * factory.C:
6828         * text.C:
6829         * text2.C:
6830         * text3.C:
6831         * paragraph.[Ch]:
6832         * paragraph_func.C: remove special bibkey handling
6833
6834 2003-02-17  John Levon  <levon@movementarian.org>
6835
6836         * text.C (Delete): fix case where delete at the end of
6837           the very first paragraph would not merge the pars
6838
6839 2003-02-17  John Levon  <levon@movementarian.org>
6840
6841         * lyxrow.C: fix lastPrintablePos()
6842
6843 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6844
6845         * bufferparams.C (writeLaTeX): add a std:here
6846
6847         * buffer.C: and remove a using directive there
6848
6849 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6850
6851         * buffer.C (makeLaTeXFile): move the code that generates the
6852           preamble...
6853
6854         * bufferparams.C (writeLaTeX): ... in this new method
6855
6856         * LaTeXFeatures.C (getEncodingSet): make const
6857           (getLanguages): make const
6858
6859         * MenuBackend.C (binding): returns the binding associated to this
6860           action
6861           (add): sets the status of each item by calling getStatus. Adds
6862           some intelligence.
6863           (read): add support for OptSubMenu
6864           (expand): remove extra separator at the end of expanded menu
6865
6866 2003-02-15  John Levon  <levon@movementarian.org>
6867
6868         * BufferView.C:
6869         * BufferView_pimpl.C:
6870         * bufferlist.h:
6871         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6872           inset code that had no actual effect. Remove unneeded status
6873           code.
6874
6875 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6876
6877         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6878           in preamble
6879
6880 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6881
6882         * text.C (drawLengthMarker): also draw an arrow marker for
6883           symbolic lengths (medskip...)
6884
6885 2003-02-14  John Levon  <levon@movementarian.org>
6886
6887         * tabular.h:
6888         * tabular.C: better method names
6889
6890 2003-02-14  John Levon  <levon@movementarian.org>
6891
6892         * BufferView_pimpl.C:
6893         * bufferlist.C:
6894         * buffer.C:
6895         * converter.C:
6896         * lyx_cb.C:
6897         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6898           it's a more accurate name. Remove some pointless uses.
6899
6900 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6901
6902         * text2.C (LyXText): change order of initilizers to shut off
6903           warnings
6904
6905 2003-02-14  John Levon  <levon@movementarian.org>
6906
6907         * buffer.C: use ParIterator for getParFromID()
6908
6909         * paragraph.h:
6910         * paragraph.C:
6911         * paragraph_pimpl.h:
6912         * paragraph_pimpl.C: remove unused getParFromID()
6913
6914 2003-02-14  John Levon  <levon@movementarian.org>
6915
6916         * buffer.C: remove some very old #if 0'd parse code
6917
6918 2003-02-13  John Levon  <levon@movementarian.org>
6919
6920         * text.h:
6921         * text.C:
6922         * text2.C: move hfillExpansion(), numberOfSeparators(),
6923           rowLast(), rowLastPrintable(), numberofHfills(),
6924           numberOfLabelHfills() ...
6925
6926         * lyxrow.h:
6927         * lyxrow.C: ... to member functions here.
6928
6929         * paragraph.h:
6930         * paragraph.C:
6931         * lyxtext.h:
6932         * text.C: remove LyXText::beginningOfMainBody(), and call
6933           p->beginningOfMainBody() directly. Move the check for
6934           LABEL_MANUAL into the latter.
6935
6936         * text.h:
6937         * text.C:
6938         * text2.C:
6939         * vspace.C:
6940         * BufferView.h:
6941         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6942
6943         * text.h:
6944         * text.C:
6945         * text2.C:
6946         * text3.C:
6947         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6948           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6949
6950 2003-02-13  John Levon  <levon@movementarian.org>
6951
6952         * CutAndPaste.C: remove debug
6953
6954 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6955
6956         * paragraph.C (asString): remove two unused variables
6957
6958         * lyxtextclass.C (readTitleType):
6959           (Read):
6960           (LyXTextClass): handle new members titletype_ and titlename_
6961
6962         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6963
6964 2003-02-09  John Levon  <levon@movementarian.org>
6965
6966         * buffer.h:
6967         * buffer.C: replace hand-coded list with a map for the dep clean
6968
6969 2003-02-08  John Levon  <levon@movementarian.org>
6970
6971         * LaTeX.C: consolidate code into showRunMessage() helper
6972
6973 2003-02-08  John Levon  <levon@movementarian.org>
6974
6975         * lyxfind.C:
6976         * lyxtext.h:
6977         * text2.C:
6978         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6979           and pass the size in explicitly
6980
6981         * BufferView_pimpl.h:
6982         * BufferView_pimpl.C:
6983         * BufferView.h:
6984         * BufferView.C: add getCurrentChange()
6985
6986         * BufferView_pimpl.h:
6987         * BufferView_pimpl.C: handle change lfuns
6988
6989         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6990           for changes. Mark pasted paragraphs as new.
6991
6992         * support/lyxtime.h:
6993         * support/lyxtime.C:
6994         * DepTable.C: abstract time_t as lyx::time_type
6995
6996         * LColor.h:
6997         * LColor.C: add colours for new text, deleted text, changebars
6998
6999         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7000           package use "usenames" option.
7001
7002         * commandtags.h:
7003         * lyxfunc.C:
7004         * LyXAction.C: add change lfuns
7005
7006         * Makefile.am:
7007         * author.h:
7008         * author.C: author handling
7009
7010         * buffer.h:
7011         * buffer.C: add a per-buffer author list, with first entry as
7012           current author. Handle new .lyx tokens for change tracking. Output
7013           author list to .lyx file. Output dvipost stuff to .tex preamble.
7014           Bump lyx format to 222.
7015
7016         * bufferlist.h:
7017         * bufferlist.C: add setCurrentAuthor() to reset current author details
7018           in all buffers.
7019
7020         * bufferparams.h:
7021         * bufferparams.C: add param for tracking
7022
7023         * bufferview_funcs.C: output change info in minibuffer
7024
7025         * Makefile.am:
7026         * changes.h:
7027         * changes.C: add change-tracking structure
7028
7029         * debug.h:
7030         * debug.C: add CHANGES debug flag
7031
7032         * lyxfind.h:
7033         * lyxfind.C: add code for finding the next change piece
7034
7035         * lyxrc.h:
7036         * lyxrc.C: add user_name and user_email
7037
7038         * lyxrow.h:
7039         * lyxrow.C: add a metric for the top of the text line
7040
7041         * lyxtext.h:
7042         * text.C: implement accept/rejectChange()
7043
7044         * lyxtext.h:
7045         * text.C: paint changebars. Paint new/deleted text in the chosen
7046         colours. Strike through deleted text.
7047
7048         * paragraph.h:
7049         * paragraph.C:
7050         * paragraph_pimpl.h:
7051         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7052           in the current change to the insert functions. Rework erase to
7053           mark text as deleted, adding an eraseIntern() and a range-based
7054           erase(). Implement per-paragraph change lookup and
7055           accept/reject.
7056
7057         * paragraph_funcs.C: Fixup paste for change tracking.
7058
7059         * tabular.C: mark added row/columns as new.
7060
7061         * text.C: fix rowLast() to never return -1. Don't allow
7062           spellchecking of deleted text. Track transpose changes. Don't
7063           allow paragraph break or merge where appropriate.
7064
7065         * text2.C: leave cursor at end of selection after a cut.
7066
7067 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7068
7069         * text.C (getLengthMarkerHeight):
7070         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7071         visible on screen too.
7072
7073 2003-02-07  John Levon  <levon@movementarian.org>
7074
7075         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7076
7077 2003-02-05  Angus Leeming  <leeming@lyx.org>
7078
7079         * lyxserver.C (read_ready): revert my patch of 11 September last year
7080         as it sends PC cpu through the roof. Presumably this means that
7081         the lyxserver will no longer run on an Alpha...
7082
7083 2003-01-30  Angus Leeming  <leeming@lyx.org>
7084
7085         * factory.C (createInset): create an InsetCommandParam of type "index"
7086         and use it to 'do the right thing'.
7087
7088         * text2.C (getStringToIndex): ensure that cursor position is always
7089         reset to the reset_cursor position.
7090
7091 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7092
7093         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7094         disabled.
7095
7096 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7097
7098         * bufferview.C:
7099         * lyxcb.C:
7100         * lyxfunc.C: Output messages with identical spelling, punctuation,
7101         and spaces
7102
7103 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7104
7105         * MenuBackend.C (expandFormats): List only viewable export formats
7106         in "View" menu
7107
7108         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7109         message
7110
7111         * lyxfunc.C (getStatus): Make sure that formats other than
7112         "fax" can also be disabled
7113
7114 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7115
7116         * text3.C (dispatch): put the lfuns that insert insets in 3
7117         groups, and call doInsertInset with appropriate arguments.
7118         (doInsertInset): new function, that creates an inset and inserts
7119         it according to some boolean parameters.
7120
7121 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * buffer.C (readFile): remember to pass on 'par' when calling
7124         readFile recursively.
7125
7126 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7127
7128         * MenuBackend.C (expandFormats): add "..." to import formats.
7129
7130 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7131
7132         * paragraph.C (asString): Remove XForms RTL hacks.
7133
7134 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7135         * buffer.C: fix typo
7136
7137 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * Makefile.am (LIBS): delete var
7140         (lyx_LDADD): add @LIBS@ here instead.
7141
7142 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7143
7144         * Clarify the meaning of "wheel mouse jump"
7145
7146 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7147
7148         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7149         tabular in a float
7150
7151 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7152
7153         * importer.C (Loaders): do not preallocate 3 elements in the
7154         vector, since one ends up with 6 elements otherwise
7155
7156 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7157
7158         * DepTable.C (write): write the file name as last element of the
7159         .dep file (because it may contain spaces)
7160         (read): read info in the right order
7161
7162 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7163
7164         * paragraph_pimpl.C (simpleTeXBlanks):
7165         (simpleTeXSpecialChars):
7166         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7167
7168         * tabular.C (latex): add some missing case statements. Reindent.
7169
7170         * MenuBackend.C (expandToc): remove unused variable.
7171
7172 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7173
7174         * LColor.C:
7175         * LaTeX.C:
7176         * LyXAction.C:
7177         * MenuBackend.C:
7178         * buffer.C:
7179         * exporter.C:
7180         * lyxfunc.C:
7181         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7182         and the like.
7183
7184 2003-01-05  John Levon  <levon@movementarian.org>
7185
7186         * BufferView.h:
7187         * BufferView.C: add getEncoding()
7188
7189         * kbsequence.h:
7190         * kbsequence.C: do not store last keypress
7191
7192         * lyxfunc.h:
7193         * lyxfunc.C: store last keypress here instead. Pass encoding
7194           to getISOEncoded()
7195
7196 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7197
7198         * lyx_main.C (init): remove annoying error message when following
7199         symbolic links (bug #780)
7200
7201 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7202
7203         * text.C (insertChar):
7204         * lyxrc.C (getDescription): remove extra spaces
7205
7206 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7207
7208         * lyxrc.C (getDescription): remove extra spaces
7209
7210 2002-12-20  John Levon  <levon@movementarian.org>
7211
7212         * text3.C: hack fix for page up/down across tall rows
7213
7214 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7215
7216         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7217         not been invoked
7218
7219 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7220
7221         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7222         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7223         thesaurus is not compiled in
7224
7225 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7226
7227         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7228
7229 2002-12-16  Angus Leeming  <leeming@lyx.org>
7230
7231         * lyxrc.[Ch]:
7232         * lyx_main.C (init): remove override_x_deadkeys stuff.
7233
7234 2002-12-12  John Levon  <levon@movementarian.org>
7235
7236         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7237           insert. Only remove shift modifier under strict
7238           circumstances.
7239
7240 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * MenuBackend.C (expandToc): fix crash.
7243
7244 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * MenuBackend.C (expandToc): gettext on float names.
7247
7248 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7249
7250         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7251         implement bool empty() [bug 490]
7252
7253 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7256
7257 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * several files: ws changes
7260
7261 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * text2.C (setCounter): clean up a bit, use boost.format.
7264         (updateCounters): initialize par upon declaration.
7265
7266         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7267         if the layout exists. We do not just store the layout any more.
7268         (SwitchLayoutsBetweenClasses): use boost.format
7269
7270 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7271
7272         * converter.C (convert): if from and to files are the same, use a
7273         temporary files as intermediary
7274
7275 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7276
7277         * commandtags.h:
7278         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7279
7280 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7281
7282         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7283
7284 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7285
7286         * tabular.C (asciiPrintCell): use string(size, char) instead of
7287         explicit loop.
7288
7289         * sgml.C (openTag): fix order of arguments to string constructor
7290         (closeTag): ditto
7291
7292         * lyxfunc.C (dispatch): use boost.format
7293
7294         * lots of files: change "c" -> 'c'
7295
7296 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7297
7298         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7299
7300 2002-11-25  Angus Leeming  <leeming@lyx.org>
7301
7302         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7303
7304         * lyx_main.C (init): compile fix.
7305
7306 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7307
7308         * lyx_cb.C (start): boost.formatify
7309         do not include <iostream>
7310
7311         * lengthcommon.C: ws only
7312
7313         * boost-inst.C,BoostFormat.h: add more explict instantations
7314
7315 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * lots of files: handle USE_BOOST_FORMAT
7318
7319 2002-11-21  John Levon  <levon@movementarian.org>
7320
7321         * pspell.C: fix compile
7322
7323 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7324
7325         * lyxfunc.C (dispatch): use boost::format
7326         (open): ditto
7327         (doImport): ditto
7328
7329         * lyxfont.C (stateText): use boost::format
7330
7331         * lyx_main.C (LyX): use boost::format
7332         (init): ditto
7333         (queryUserLyXDir): ditto
7334         (readRcFile): ditto
7335         (parse_dbg): ditto
7336         (typedef boost::function): use the recommened syntax.
7337
7338         * importer.C (Import): use boost::format
7339
7340         * debug.C (showLevel): use boost::format
7341
7342         * converter.C (view): use boost::format
7343         (convert): ditto
7344         (move): ditto
7345         (scanLog): ditto
7346
7347         * bufferview_funcs.C (currentState): use boost::format
7348
7349         * bufferlist.C (emergencyWrite): use boost::format
7350
7351         * buffer.C (readLyXformat2): use boost::format
7352         (parseSingleLyXformat2Token): ditto
7353
7354         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7355
7356         * LaTeX.C (run): use boost::format
7357
7358         * Chktex.C (scanLogFile): use boost::format
7359
7360         * BufferView_pimpl.C (savePosition): use boost::format
7361         (restorePosition): ditto
7362         (MenuInsertLyXFile): ditto
7363
7364         * BoostFormat.h: help file for explicit instation.
7365
7366 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7367
7368         * tabular.C (latex): Support for block alignment in fixed width
7369         columns.
7370
7371 2002-11-17  John Levon  <levon@movementarian.org>
7372
7373         * BufferView_pimpl.C:
7374         * lyx_cb.C:
7375         * lyxfunc.C: split filedialog into open/save
7376
7377 2002-11-08  Juergen Vigna  <jug@sad.it>
7378
7379         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7380         by my last patch (hopefully).
7381
7382 2002-11-08  John Levon  <levon@movementarian.org>
7383
7384         * iterators.h:
7385         * iterators.C:
7386         * buffer.h:
7387         * buffer.C:
7388         * paragraph.h:
7389         * paragraph.C:
7390         * toc.h:
7391         * toc.C: ParConstIterator, and use it (from Lars)
7392
7393 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7394
7395         * lyxtextclass.[Ch]: revise and add doxygen comments
7396
7397 2002-11-07  John Levon  <levon@movementarian.org>
7398
7399         * text.C: fix progress value for spellchecker
7400
7401         * toc.C: fix navigate menu for insetwrap inside minipage
7402
7403         * paragraph_funcs.C: added FIXME for suspect code
7404
7405 2002-11-07  John Levon  <levon@movementarian.org>
7406
7407         * BufferView_pimpl.C: fix redrawing of insets
7408           on buffer switch
7409
7410 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7411
7412         * text2.C (updateCounters): fix bug 668
7413
7414 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7415
7416         * text3.C (dispatch): Do not make the buffer dirty when moving the
7417         cursor.
7418
7419 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * vc-backend.C: STRCONV
7422         (scanMaster): ditto
7423
7424         * text2.C (setCounter): STRCONV
7425
7426         * paragraph.C (asString): STRCONV
7427
7428         * lyxlength.C (asString): STRCONV
7429         (asLatexString): ditto
7430
7431         * lyxgluelength.C (asString): STRCONV
7432         (asLatexString): ditto
7433
7434         * lyxfunc.C (dispatch): STRCONV
7435         (open): ditto
7436
7437         * lyxfont.C (stateText): STRCONV
7438
7439         * importer.C (Import): STRCONV
7440
7441         * counters.C (labelItem): STRCONV
7442         (numberLabel): ditto
7443         (numberLabel): remove unused ostringstream o
7444
7445         * chset.C: STRCONV
7446         (loadFile): ditto
7447
7448         * bufferview_funcs.C (currentState): STRCONV
7449
7450         * buffer.C (readFile): STRCONV
7451         (asciiParagraph): ditto
7452         (makeLaTeXFile): ditto
7453
7454         * Spacing.C (writeEnvirBegin): STRCONV
7455
7456         * LaTeXFeatures.C (getLanguages): STRCONV
7457         (getPackages): ditto
7458         (getMacros): ditto
7459         (getBabelOptions): ditto
7460         (getTClassPreamble): ditto
7461         (getLyXSGMLEntities): ditto
7462         (getIncludedFiles): ditto
7463
7464         * LaTeX.C: STRCONV
7465         (run): ditto
7466         (scanAuxFile): ditto
7467         (deplog): ditto
7468
7469         * LString.h: add the STRCONV macros
7470
7471         * BufferView_pimpl.C (savePosition): STRCONV
7472         (restorePosition): ditto
7473         (MenuInsertLyXFile): ditto
7474
7475         * vc-backend.C (scanMaster): change from submatch[...] to
7476         submatch.str(...)
7477
7478         * funcrequest.C: include config.h
7479
7480         * factory.C: include config.h
7481
7482         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7483
7484         * box.C: include config.h
7485
7486         * LaTeX.C (scanAuxFile): change from submatch[...] to
7487         submatch.str(...)
7488         (deplog): ditto
7489
7490 2002-10-25  Angus Leeming  <leeming@lyx.org>
7491
7492         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7493
7494         * ispell.[Ch] (setError): new method.
7495         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7496         Use setError() insetead of goto END.
7497
7498         * lyx_cb.C (AutoSave): move out child process into new class
7499         AutoSaveBuffer.
7500
7501 2002-10-30  John Levon  <levon@movementarian.org>
7502
7503         * text3.C: make start appendix undoable
7504
7505 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7506
7507         * lyxlength.C (inPixels): Fix returned value.
7508
7509         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7510         environment.
7511
7512 2002-10-24  Angus Leeming  <leeming@lyx.org>
7513
7514         * lyxgluelength.h: no need to forward declare BufferParams
7515         or BufferView, so don't.
7516
7517 2002-10-21  John Levon  <levon@movementarian.org>
7518
7519         * BufferView.C: menuUndo ->undo, redo
7520
7521         * BufferView.h: document, remove dead, make some methods private
7522
7523         * paragraph_funcs.h:
7524         * paragraph_funcs.C:
7525         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7526
7527         * buffer.h:
7528         * buffer.C:
7529         * sgml.h:
7530         * sgml.C: move sgml open/close tag into sgml.C
7531
7532         * bufferview_funcs.h: unused prototype
7533
7534         * lyxfunc.h:
7535         * lyxfunc.C: remove unused
7536
7537         * lyxtext.h:
7538         * text.C: remove unused
7539
7540 2002-10-21  John Levon  <levon@movementarian.org>
7541
7542         * BufferView.h:
7543         * BufferView.C:
7544         * BufferView_pimpl.h:
7545         * BufferView_pimpl.C: fix mouse wheel handling based on
7546           patch from Darren Freeman
7547
7548 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7549
7550         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7551
7552 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7553
7554         * lyxlength.C (inPixels): Fix hanfling of negative length.
7555         Fix LyXLength::MU case.
7556
7557 2002-10-16  John Levon  <levon@movementarian.org>
7558
7559         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7560
7561 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7562
7563         * converter.C (view): add support for $$i (file name) and $$p
7564         (file path) for the viewer command. If $$i is not specified, then
7565         it is appended to the command (for compatibility with old syntax)
7566
7567 2002-10-14  Juergen Vigna  <jug@sad.it>
7568
7569         * undo_funcs.C (textHandleUndo): alter the order in which the
7570         new undopar is added to the LyXText, as we have to set first
7571         the right prev/next and then add it as otherwise the rebuild of
7572         LyXText is not correct. Also reset the cursor to the right paragraph,
7573         with this IMO we could remove the hack in "redoParagraphs()".
7574
7575 2002-10-09  Angus Leeming  <leeming@lyx.org>
7576
7577         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7578         to turn off an optimisation if a new inset is to be inserted.
7579
7580 2002-10-11 André Pönitz <poenitz@gmx.net>
7581
7582         * lyxtext.h: make some functions public to allow access
7583         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7584
7585 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7586
7587         * text3.C (dispatch): when changing layout, avoid an infinite loop
7588         [bug #652]
7589
7590 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7591
7592         * lyxrc.C (read): treat a viewer or converter command of "none" as
7593         if it were empty.
7594
7595         * MenuBackend.C (expandFormats): for an update, also allow the
7596         formats that are not viewable
7597
7598         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7599         script if it is newer than the lyxrc.defaults in user directory
7600
7601 2002-10-07 André Pönitz <poenitz@gmx.net>
7602
7603         * text.C: Vitaly Lipatov's small i18n fix
7604
7605 2002-09-25  Angus Leeming  <leeming@lyx.org>
7606
7607         * ispell.h: doxygen fix.
7608
7609 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7610
7611         * buffer.h (readFile): Add a new argument to the method, to allow
7612         reading of old-format templates.
7613
7614 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7615
7616         * toc.C (getTocList): Get TOC from InsetWrap.
7617
7618 2002-09-16  John Levon  <levon@movementarian.org>
7619
7620         * lyxfunc.C: check tabular for cut/copy too
7621
7622 2002-09-12  John Levon  <levon@movementarian.org>
7623
7624         * LyXAction.C: tidy
7625
7626         * factory.h:
7627         * factory.C: add header
7628
7629         * paragraph_funcs.h:
7630         * paragraph_funcs.C: cleanup
7631
7632 2002-09-11  John Levon  <levon@movementarian.org>
7633
7634         * PrinterParams.h: odd/even default to true
7635
7636 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7637
7638         * PrinterParams.h: update printer parameters for new xforms dialog
7639
7640 2002-09-11  Angus Leeming  <leeming@lyx.org>
7641
7642         * lyxserver.C (read_ready): re-write to make it more transparent
7643         and to make it work in coherent fashion under Tru64 Unix.
7644
7645 2002-09-11  André Pönitz <poenitz@gmx.net>
7646
7647         * commandtags.h:
7648         * LyXAction.C:
7649         * text3.C: implement LFUN_WORDSEL
7650
7651 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7654         make floatlist_ a boost::shared_ptr<FloatList>
7655
7656         * lyxtextclass.C: include FloatList.h
7657         (LyXTextClass): initialize floatlist_
7658         (TextClassTags): add TC_NOFLOAT
7659         (Read): match "nofloat" to TC_NOFLOAT and use it.
7660         (readFloat): modify call to floatlist_
7661         (floats): ditto
7662         (floats): ditto
7663
7664         * FloatList.[Ch] (FloatList): remove commented out float
7665         initialization.
7666         (erase): new function
7667
7668 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7669
7670         * MenuBackend.C (expandToc): fix crash when there is no document
7671         open
7672
7673 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7674
7675         * many files: Add insetwrap.
7676
7677 2002-09-09  John Levon  <levon@movementarian.org>
7678
7679         * text2.C: remove confusing and awkward depth wraparound
7680
7681 2002-09-09  John Levon  <levon@movementarian.org>
7682
7683         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7684
7685         * buffer.h:
7686         * buffer.C: remove getIncludeonlyList()
7687
7688         * paragraph.C:
7689         * lyxfunc.C: remove headers
7690
7691 2002-09-09  Juergen Vigna  <jug@sad.it>
7692
7693         * text.C (getColumnNearX): fix form Michael this is most
7694         probably a cut&paste bug.
7695
7696 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7699
7700         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7701         references, ws changes.
7702
7703         * text2.C (init): update counters after init
7704         (insertParagraph): no need to set counter on idividual paragraphs.
7705         (setCounter): access the counters object in the textclass object
7706         on in the buffer object.
7707         (updateCounters): ditto
7708
7709         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7710         shared_ptr<Counters> to avoid loading counters.h in all
7711         compilation units.
7712         (LyXTextClass): initialize ctrs_
7713         (TextClassTags): add TC_COUNTER, and ...
7714         (Read): use it here.
7715         (CounterTags): new tags
7716         (readCounter): new function
7717         (counters): new funtion
7718         (defaultLayoutName): return a const reference
7719
7720         * counters.C (Counters): remove contructor
7721         (newCounter): remove a couple of unneeded statements.
7722         (newCounter): simplify a bit.
7723         (numberLabel): some small formatting changes.
7724
7725         * buffer.[Ch]: remove all traces of counters, move the Counters
7726         object to the LyXTextClass.
7727
7728 2002-09-06  Alain Castera  <castera@in2p3.fr>
7729
7730         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7731         package to set the horizontal alignment on fixed width columns.
7732
7733         * lyx_sty.C:
7734         * lyx_sty.h: added tabularnewline macro def.
7735
7736         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7737
7738 2002-09-06  John Levon  <levon@movementarian.org>
7739
7740         * LyXAction.C: tooltips for sub/superscript
7741
7742         * MenuBackend.C: a bit more verbose
7743
7744         * lyxfunc.C: tiny clean
7745
7746         * undo_funcs.C: document undo_frozen
7747
7748 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * counters.C (Counters): add missing algorithm counter.
7751
7752         * text2.C (setCounter): lookup the counter with layouts latexname
7753         instead of by section number.
7754         (setCounter): use a hackish way to lookup the correct enum
7755         counter.
7756         a float name->type change
7757         reset enum couners with counter name directly instead of depth value.
7758
7759         * counters.C (Counters): remove the push_backs, change to use the
7760         float type not the float name.
7761         (labelItem): remove unused string, float name->type change
7762
7763         * counters.h: don't include vector, loose the enums and sects vectors
7764
7765 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7768         (Read): add float->TC_FLOAT to textclassTags
7769         (Read): and handle it in the switch
7770         (readFloat): new function
7771
7772         * FloatList.C (FloatList): comment out the hardcoded float
7773         definitions.
7774
7775         * lyxlayout.h: ws change.
7776
7777 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7778
7779         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7780
7781 2002-09-03  Angus Leeming  <leeming@lyx.org>
7782
7783         * BufferView_pimpl.h: qualified name is not allowed in member
7784         declaration: WorkArea & Pimpl::workarea() const;
7785
7786         * factory.C: added using std::endl directive.
7787
7788         * text3.C: added using std::find and std::vector directives.
7789
7790 2002-08-29  André Pönitz <poenitz@gmx.net>
7791
7792         * lyxtext.h:
7793         * text2.C: remove unused member number_of_rows
7794
7795         * Makefile.am:
7796         * BufferView2.C: remove file, move contents to...
7797         * BufferView.C: ... here
7798
7799         * BufferView_pimpl.C:
7800         * factory.C: move more inset creation to factory
7801
7802         * vspace.C: avoid direct usage of LyXText, ws changes
7803
7804         * BufferView.[Ch]:
7805                 don't provide direct access to WorkArea, use two simple
7806                 acessors haveSelction() and workHeight() instead
7807
7808
7809 2002-08-29  John Levon  <levon@movementarian.org>
7810
7811         * BufferView_pimpl.C (dispatch): do not continue when
7812           no buffer
7813
7814 2002-08-28  André Pönitz <poenitz@gmx.net>
7815
7816         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7817
7818         * BufferView.h:
7819         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7820
7821 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7822
7823         * buffer.C: increment LYX_FORMAT to 221
7824
7825         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7826         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7827
7828         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7829
7830         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7831
7832 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7833
7834         * factory.C (createInset): use LyXTextClass::floats
7835
7836         * MenuBackend.C (expandFloatListInsert):
7837         (expandFloatInsert):
7838         (expandToc):
7839
7840         * text2.C (setCounter):
7841
7842         * LaTeXFeatures.C (useFloat):
7843         (getFloatDefinitions):
7844
7845         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7846
7847         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7848         floatlist_, with accessor floats().
7849
7850         * FloatList.h: remove global FloatList
7851
7852 2002-08-26  André Pönitz <poenitz@gmx.net>
7853
7854         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7855
7856         * BufferView.h:
7857         * BufferView2.C:
7858         * BufferView_pimpl.C:
7859         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7860
7861 2002-08-25  John Levon  <levon@movementarian.org>
7862
7863         * LyXAction.C: fix margin note description
7864
7865 2002-08-24  John Levon  <levon@movementarian.org>
7866
7867         * buffer.C:
7868         * bufferlist.C:
7869         * bufferview_funcs.C:
7870         * lyxfont.C:
7871         * undo_funcs.C: cleanups
7872
7873         * lyxfunc.C: disable CUT/COPY when no selection
7874
7875 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7876
7877         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7878         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7879
7880         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7881         Add backward compatibility to "mono", "gray" and "no".
7882
7883 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7884
7885         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7886         (and file_format >= 200).
7887
7888 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7889
7890         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7891
7892 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7893
7894         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7895
7896 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7897
7898         * BufferView_pimpl.C:
7899         * LyXAction.C:
7900         * buffer.C:
7901         * commandtags.h:
7902         * lyxfunc.C:
7903         * paragraph.[Ch]:
7904         * text2.C:
7905         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7906         inset and code to make it  work with the paragraph code. The inset
7907         can be anywhere in the paragraph, but will only do the expected
7908         thing in LaTeX if the layout file contains the parameter line
7909                         OptionalArgs    1
7910         (or more generally, a nonzero value) for that layout.
7911
7912 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * paragraph.h: remove the declaration of undefined counters class
7915         function.
7916
7917 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7918
7919         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7920         Dr. Richard Hawkins.
7921
7922 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7923
7924         * paragraph_funcs.h: remove some unneeded includes
7925
7926         * text.C (backspace): pasteParagraph now in global scipe
7927
7928         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7929         (pasteSelection): ditto
7930
7931         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7932         * paragraph_funcs.C (pasteParagraph): ... here
7933
7934 2002-08-20  André Pönitz <poenitz@gmx.net>
7935
7936         * commandtags.h: new LFUNs for swapping/copying table row/colums
7937
7938         * LyXAction.C:
7939         * lyxfunc.C: support for new lfuns
7940
7941 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * tabular.C:
7944         * buffer.[Ch]: remove NO_COMPABILITY stuff
7945
7946 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * boost.C (throw_exception): new file, with helper function for
7949         boost compiled without exceptions.
7950
7951         * paragraph.h:
7952         * lyxlength.C:
7953         * buffer.C:
7954         * ParameterStruct.h:
7955         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7956
7957         * bufferlist.C (emergencyWriteAll): use boost bind
7958
7959         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7960
7961         * text.C: include paragraph_funcs.h
7962         (breakParagraph): breakParagraph is now in global scope
7963
7964         * paragraph_funcs.[Ch]: new files
7965
7966         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7967         global scope
7968
7969         * buffer.C: include paragraph_funcs.h
7970         (insertStringAsLines): breakParagraph is now in global scope
7971
7972         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7973         paragraph_funcs.C
7974
7975         * CutAndPaste.C: include paragraph_funcs.h
7976         (cutSelection): breakParagraphConservative is now in global scope
7977         (pasteSelection): ditto
7978
7979         * buffer.h: declare oprator== and operator!= for
7980         Buffer::inset_iterator
7981
7982         * bufferlist.C (emergencyWrite): don't use fmt(...)
7983
7984         * text3.C: add using std::endl
7985
7986         * BufferView.C (moveCursorUpdate): remove default arg
7987
7988 2002-08-20  André Pönitz <poenitz@gmx.net>
7989
7990         * buffer.[Ch]: move inline functions to .C
7991
7992         * BufferView2.C:
7993         * BufferView_pimpl.C:
7994         * text.C:
7995         * buffer.[Ch]: use improved inset_iterator
7996
7997         * buffer.C:
7998         * paragraph.[Ch]: write one paragraph at a time
7999
8000 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8001
8002         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8003         style if style is not specified.
8004
8005 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8006
8007         * text2.C (setCounter): when searching for right label for a
8008         caption, make sure to recurse to parent insets (so that a caption
8009         in a minipage in a figure float works) (bug #568)
8010
8011 2002-08-20  André Pönitz <poenitz@gmx.net>
8012
8013         * text3.C: new file for LyXText::dispatch() and helpers
8014
8015         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8016
8017         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8018
8019 2002-08-19  André Pönitz <poenitz@gmx.net>
8020
8021         * lyxtext.h:
8022         * text.C: new LyXText::dispatch()
8023
8024         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8025
8026 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8027
8028         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8029
8030         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8031         Hebrew text.
8032
8033 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8034
8035         * Makefile.am: use $(variables) instead of @substitutions@
8036
8037 2002-08-15  André Pönitz <poenitz@gmx.net>
8038
8039         * lyxfunc.C:
8040         * BufferView_pimpl.C: streamlining mathed <-> outer world
8041         interaction
8042
8043         * commandtags.h:
8044         * LyXAction.C: remove unused LFUN_MATH
8045
8046 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8049
8050 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8051
8052         * paragraph.C (Paragraph): reformat a bit
8053         (cutIntoMinibuffer): use builtin InsetList function instad of
8054         doing it manually.
8055         (getInset): ditto
8056
8057         * buffer.C: include boost/bind.hpp, add using std::for_each
8058         (writeFileAscii): use ParagraphList iterators
8059         (validate): use for_each for validate traversal of paragraphs
8060         (getBibkeyList): use ParagraphList iterators
8061         (resizeInsets): use for_each to resizeInsetsLyXText for all
8062         paragraphs.
8063         (getParFromID): use ParagraphList iterators
8064
8065         * BufferView2.C (lockInset): use paragraph list and iterators
8066
8067 2002-08-14  John Levon  <levon@movementarian.org>
8068
8069         * lyxserver.C: remove spurious xforms include
8070
8071 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8072
8073         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8074
8075 2002-08-13  André Pönitz <poenitz@gmx.net>
8076
8077         * LyXAction.[Ch]:
8078         * lyxfunc.C: further cleaning
8079
8080 2002-08-13  André Pönitz <poenitz@gmx.net>
8081
8082         * funcrequest.h: new constructor
8083
8084         * funcrequest.C: move stuff here from .h
8085
8086         * Makefile.am:
8087         * BufferView_pimpl.C:
8088         * LyXAction.C:
8089         * toc.C:
8090         * lyxfunc.C: subsequent changes
8091
8092         * lyxfunc.h: new view() member function
8093
8094         * lyxfunc.C: subsequent changes
8095
8096 2002-08-13  Angus Leeming  <leeming@lyx.org>
8097
8098         * BufferView2.C:
8099         * BufferView_pimpl.C:
8100         * buffer.C:
8101         * converter.C:
8102         * importer.C:
8103         * lyxfunc.C:
8104         * lyxvc.C:
8105         * toc.C:
8106         * vc-backend.C:
8107         changes due to the changed LyXView interface that now returns references
8108         to member variables not pointers.
8109
8110 2002-08-13  Angus Leeming  <leeming@lyx.org>
8111
8112         * WordLangTuple (word, lang_code): return references to strings,
8113         not strings.
8114
8115         * BufferView.h:
8116         * SpellBase.h:
8117         * lyxtext.h: forward-declare WordLangTuple.
8118
8119         * BufferView2.C:
8120         * ispell.C:
8121         * pspell.C:
8122         * text.C: #include "WordLangTuple.h".
8123
8124         * lyxtext.h:
8125         * text.C: (selectNextWordToSpellcheck): constify return type.
8126
8127 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8128
8129         * buffer.C:
8130         * buffer.h:
8131         * lyxtext.h:
8132         * paragraph.C:
8133         * paragraph_pimpl.h:
8134         * text.C:
8135         * text2.C:
8136         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8137         suggested by Angus.
8138         Made updateCounter always count from start of buffer, and removed
8139         second argument (par).
8140         Reverted floats number display to '#'. Perhaps I'll try again when the
8141         code base is sanitized a bit.
8142
8143 2002-08-12  Angus Leeming  <leeming@lyx.org>
8144
8145         * buffer.[Ch] (getLabelList): constify.
8146
8147 2002-08-07  André Pönitz <poenitz@gmx.net>
8148
8149         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8150
8151         * funcrequest.h: extension to keep mouse (x,y) position
8152
8153 2002-08-12  Juergen Vigna  <jug@sad.it>
8154
8155         * BufferView2.C (insertErrors): forbid undo when inserting error
8156         insets.
8157
8158         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8159
8160 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8161
8162         * ParagraphList.[Ch]: new files
8163
8164         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8165
8166         * BufferView2.C (lockInset): ParagraphList changes
8167         * toc.C: ditto
8168         * text2.C: ditto
8169         * bufferlist.C: ditto
8170         * buffer.h: ditto
8171         * buffer.C: ditto
8172
8173 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8176         unused class variable counter_,
8177
8178         * paragraph.[Ch] (getFirstCounter): delete unused function
8179
8180         * counters.C: include LAssert.h
8181         (reset): add a new function with no arg, change other version to
8182         not have def. arg and to not allow empty arg.
8183
8184         * text2.C (setCounter): remove empty arg from call to Counters::reset
8185
8186 2002-08-11  John Levon  <levon@movementarian.org>
8187
8188         * Makefile.am: add WordLangTuple.h
8189
8190 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8193         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8194
8195         * insets/insettext.C: InsetList changes
8196
8197         * graphics/GraphicsSupport.C (operator()): InsetList changes
8198
8199         * toc.C (getTocList): InsetList changes
8200
8201         * paragraph_pimpl.[Ch]: InsetList changes
8202
8203         * paragraph.[Ch]: InsetList changes
8204
8205         * buffer.C (inset_iterator): InsetList changes
8206         (setParagraph): ditto
8207         * buffer.h (inset_iterator): ditto
8208         * iterators.C (operator++): ditto
8209         * iterators.h: ditto
8210
8211         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8212
8213         * InsetList.[Ch]: new files, most InsetList handling moved out of
8214         paragraph.C.
8215
8216         * BufferView2.C (removeAutoInsets): InsetList changes
8217         (lockInset): ditto
8218         (ChangeInsets): ditto
8219
8220 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * paragraph_pimpl.h (empty): new function
8223
8224         * paragraph.[Ch] (empty): new function
8225
8226         * other files: use the new Paragraph::empty function
8227
8228 2002-08-09  John Levon  <levon@movementarian.org>
8229
8230         * lyxtext.h: remove unused refresh_height
8231
8232 2002-08-09  John Levon  <levon@movementarian.org>
8233
8234         * Makefile.am:
8235         * sgml.h:
8236         * sgml.C:
8237         * buffer.C:
8238         * paragraph.h:
8239         * paragraph.C: move sgml char escaping out of paragraph
8240
8241         * paragraph.h:
8242         * paragraph.C: remove id setter
8243
8244         * buffer.C:
8245         * paragraph.C:
8246         * paragraph_pimpl.C: remove dead tex_code_break_column
8247
8248         * bufferview_funcs.C: small cleanup
8249
8250         * lyxfunc.C: remove dead proto
8251
8252         * lyxtext.h: make some stuff private. Remove some dead stuff.
8253
8254         * lyxgluelength.C: make as[LyX]String() readable
8255
8256 2002-08-08  John Levon  <levon@movementarian.org>
8257
8258         * LyXAction.h:
8259         * LyXAction.C:
8260         * MenuBackend.C:
8261         * ToolbarDefaults.C:
8262         * lyxfunc.C:
8263         * lyxrc.C:
8264         * toc.C: lyxaction cleanup
8265
8266 2002-08-08  John Levon  <levon@movementarian.org>
8267
8268         * BufferView2.C: small cleanup
8269
8270         * lyxfind.h:
8271         * lyxfind.C: move unnecessary header into the .C
8272
8273 2002-08-08  John Levon  <levon@movementarian.org>
8274
8275         * funcrequest.h: just tedious nonsense
8276
8277         * lyx_main.h:
8278         * lyx_main.C: cleanups
8279
8280         * buffer.C:
8281         * vspace.C: remove dead header lyx_main.h
8282
8283 2002-08-07  Angus Leeming  <leeming@lyx.org>
8284
8285         * Paragraph.[Ch]:
8286         * paragraph_pimpl.h:
8287         Forward declare class Counters in paragraph.h by moving the ctrs member
8288         variable into Paragraph::Pimpl.
8289         (counters): new method, returning a reference to pimpl_->ctrs.
8290
8291         * text2.C: ensuing changes.
8292
8293 2002-08-07  John Levon  <levon@movementarian.org>
8294
8295         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8296
8297         * BufferView_pimpl.C: announce X selection on double/triple
8298           click
8299
8300         * lyx_main.C: use correct bool in batch dispatch
8301
8302         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8303
8304 2002-08-07  André Pönitz <poenitz@gmx.net>
8305
8306         * funcrequest.h: new class to wrap a kb_action and its argument
8307
8308         * BufferView.[Ch]:
8309         * BufferView_pimpl[Ch]:
8310         * LaTeX.C:
8311         * LyXAction.[Ch]:
8312         * lyxfunc.[Ch]:
8313         * lyxrc.C: subsequent changes
8314
8315
8316 2002-08-07  John Levon  <levon@movementarian.org>
8317
8318         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8319           document options change.
8320
8321 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8322
8323         * counters.[Ch]
8324         * text2.C
8325         * paragraph.[Ch]
8326         * makefile.am: move counters functionality over from
8327         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8328
8329 2002-08-06  John Levon  <levon@movementarian.org>
8330
8331         * WordLangTuple.h: new file for word + language code tuple
8332
8333         * SpellBase.h:
8334         * pspell.h:
8335         * pspell.C:
8336         * ispell.h:
8337         * ispell.C:
8338         * lyxtext.h:
8339         * text.C:
8340         * text2.C:
8341         * BufferView.h:
8342         * BufferView2.C: use WordLangTuple
8343
8344         * layout.h:
8345         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8346
8347 2002-08-06  John Levon  <levon@movementarian.org>
8348
8349         * lyx_main.C: fix cmdline batch handling
8350
8351 2002-08-06  André Pönitz <poenitz@gmx.net>
8352
8353         * lyxrc.C: set default for show_banner to true
8354
8355 2002-08-06  John Levon  <levon@movementarian.org>
8356
8357         * pspell.C: fix a crash, and allow new aspell to work
8358
8359 2002-08-06  John Levon  <levon@movementarian.org>
8360
8361         * lyxfunc.C:
8362         * kbmap.C: small cleanup
8363
8364         * vspace.h:
8365         * vspace.C: add const
8366
8367 2002-08-05  John Levon  <levon@movementarian.org>
8368
8369         * LyXAction.C: back to tabular-insert
8370
8371 2002-08-04  John Levon  <levon@movementarian.org>
8372
8373         * BufferView.h:
8374         * BufferView.C: cosmetic change
8375
8376         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8377
8378         * bufferlist.C:
8379         * buffer.h:
8380         * buffer.C:
8381         * lyxcb.h:
8382         * lyxcb.C:
8383         * lyxserver.C:
8384         * lyxvc.C:
8385         * vc-backend.C:
8386         * BufferView2.C: purge all "Lyx" not "LyX" strings
8387
8388         * lyxcursor.h:
8389         * lyxcursor.C: attempt to add some documentation
8390
8391         * lyxfunc.C:
8392         * commandtags.h:
8393         * LyXAction.C:
8394         * ToolbarDefaults.C:
8395         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8396           merge with LFUN_TABULAR_INSERT
8397
8398         * Makefile.am:
8399         * SpellBase.h:
8400         * ispell.h:
8401         * ispell.C:
8402         * pspell.h:
8403         * pspell.C: split up i/pspell implementations into separate
8404           files, many cleanups
8405
8406         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8407
8408         * text2.C: some cleanup
8409
8410         * lyxfunc.C: don't check for isp_command == "none" any more, it
8411           didn't make any sense
8412
8413 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8414
8415         * counters.[Ch]
8416         * text2.C
8417         * paragraph.[Ch]
8418         * makefile.am: move counters functionality over
8419         from text2.C/paragraph.[Ch] to counters.[Ch], and
8420         make proper C++.
8421 2002-08-02  John Levon  <levon@movementarian.org>
8422
8423         * buffer.C: s/lyxconvert/lyx2lyx/
8424
8425 2002-08-02  Angus Leeming  <leeming@lyx.org>
8426
8427         * lyxlex.C: revert John's change as it breaks reading of the user
8428         preamble.
8429
8430 2002-08-02  Angus Leeming  <leeming@lyx.org>
8431
8432         * importer.C (Import):
8433         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8434         changes due to LyXView::view() now returning a boost::shared_ptr.
8435
8436 2002-08-02  John Levon  <levon@movementarian.org>
8437
8438         * lyxlex.C: small cleanup
8439
8440 2002-08-02  John Levon  <levon@movementarian.org>
8441
8442         * text2.C (status): small cleanup, no logic change
8443
8444 2002-08-01  John Levon  <levon@movementarian.org>
8445
8446         * buffer.h:
8447         * buffer.C (writeFile): don't output alerts, caller
8448           handles this
8449
8450         * bufferlist.C:
8451         * lyx_cb.C: from above
8452
8453         * lyxfunc.C: allow to open non-existent files
8454
8455 2002-07-31  John Levon  <levon@movementarian.org>
8456
8457         * lyxserver.C: don't let incidental errors get
8458           in the way (errno)
8459
8460 2002-07-30  John Levon  <levon@movementarian.org>
8461
8462         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8463
8464 2002-07-30  John Levon  <levon@movementarian.org>
8465
8466         * lyxserver.h:
8467         * lyxserver.C: remove I/O callback too
8468
8469 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8470
8471         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8472         log.
8473
8474 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8475
8476         * many files: strip,frontStrip -> trim,ltrim,rtrim
8477
8478 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * PrinterParams.h: remove extern containsOnly, and include
8481         support/lstrings.h instead.
8482
8483         * LaTeX.C (scanAuxFile): modify because of strip changes
8484         (deplog): ditto
8485         * buffer.C (makeLaTeXFile): ditto
8486         * bufferparams.C (writeFile): ditt
8487         * lyxfont.C (stateText): ditto
8488         * lyxserver.C (read_ready): ditto
8489         * vc-backend.C (scanMaster): ditto
8490
8491         * BufferView_pimpl.h: ws changes
8492
8493         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8494
8495 2002-07-26  André Pönitz <poenitz@gmx.net>
8496
8497         * kb_sequence.C: remove unnedred usings
8498
8499 2002-07-26  Juergen Vigna  <jug@sad.it>
8500
8501         * lyxfind.C (LyXReplace): we have to check better if the returned
8502         text is not of theLockingInset()->getLockingInset().
8503
8504 2002-07-25  Juergen Vigna  <jug@sad.it>
8505
8506         * lyxfind.C (LyXReplace): don't replace if we don't get the
8507         right LyXText.
8508
8509         * undo_funcs.C (createUndo): remove debugging code.
8510
8511 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8512
8513         * buffer.C (parseSingleLyXformat2Token): Use default placement
8514         when reading old floats.
8515
8516         * FloatList.C (FloatList): Change the default placement of figure
8517         and tables to "tbp".
8518
8519 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8520
8521         * MenuBackend.C: using std::max
8522
8523 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * MenuBackend.C (expandToc):
8526         (expandToc2): code moved from xforms menu frontend. It is now
8527         generic and TOCs are transparent to menu frontends.
8528
8529 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8530
8531         * toc.C (getTocList): protect against buf=0
8532
8533         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8534         Menu as first parameter. Now, this calls itself recursively to
8535         expand a whole tree (this will be useful for TOC handling)
8536         (expandFloatInsert): remove 'wide' version of floats
8537
8538         * MenuBackend.h (submenuname): returns the name of the submenu.
8539         (submenu): returns the submenu itself, provided it has been
8540         created by MenuBackend::expand
8541
8542 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8543
8544         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8545         insets which have noFontChange == true. (bug #172)
8546
8547 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8548
8549         * BufferView_pimpl.C: add connection objects and use them...
8550         (Pimpl): here.
8551
8552 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8553
8554         * MenuBackend.C (expandLastfiles):
8555         (expandDocuments):
8556         (expandFormats):
8557         (expandFloatListInsert):
8558         (expandFloatInsert):
8559         (expand): split expand in parts
8560
8561 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8562
8563         * lyx_gui.C: use lyx_gui::exit()
8564
8565 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8566
8567         * LyXAction.C: show the failing pseudo action
8568
8569 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8570
8571         * buffer.C (readFile): Run the lyxconvert script in order to read
8572         old files.
8573
8574 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * LyXAction.C:
8577         * commandtags.h:
8578         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8579
8580 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8581
8582         * LyXAction.C:
8583         * commandtags.h:
8584         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8585
8586 2002-07-22  Herbert Voss  <voss@lyx.org>
8587
8588         * lengthcommon.C:
8589         * lyxlength.[Ch]: add support for the vertical lengths
8590
8591 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8592
8593         * toc.[Ch]: std:: fixes
8594
8595 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8596
8597         * lyxrc.C: do not include lyx_main.h
8598
8599         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8600         for layouts
8601
8602         * lyxrc.C:
8603         * encoding.C:
8604         * bufferlist.C:
8605         * BufferView2.C: include "lyxlex.h"
8606
8607         * tabular.h:
8608         * bufferparams.h: do not #include "lyxlex.h"
8609
8610         * lyxtextclasslist.C (Add): remove method
8611         (classlist): renamed to classlist_
8612
8613         * paragraph_pimpl.C:
8614         * paragraph.C:
8615         * text2.C:
8616         * CutAndPaste.C:
8617         * bufferview_funcs.C:
8618         * bufferlist.C:
8619         * text.C:
8620         * LaTeXFeatures.C:
8621         * buffer.C:
8622         * toc.C (getTocList): use BufferParams::getLyXTextClass
8623
8624         * toc.C (getTocList): use InsetFloat::addToToc
8625
8626         * toc.[Ch]: new files, containing helper functions to handle table
8627         of contents
8628
8629         * lyxfunc.C (dispatch): no need to remove spaces around command
8630         given as a string
8631         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8632         first command of the sequence; it is not very clever, but I do not
8633         have a better idea, actually
8634
8635         * LyXAction.C (LookupFunc): make sure to remove space at the
8636         beginning and end of the command
8637
8638 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8639
8640         * MenuBackend.C (getMenubar): new method: return the menubar of
8641         this menu set
8642         (read): treat differently reading of menu and menubar (in
8643         particular, the menubar has no name now)
8644         (Menu::menubar): remove
8645
8646         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8647         saving is finished
8648
8649 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8650
8651         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8652         a bibitem inset in a RTL paragraph.
8653
8654 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8655
8656         * paragraph_pimpl.C: constify
8657
8658         * BufferView_pimpl.C:
8659         * LaTeX.C:
8660         * lyxfunc.C: fix dispatch in a nicer way
8661
8662 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8663
8664         * lyxfunc.C (dispatch):
8665         * BufferView_pimpl.C:
8666         * BufferView_pimpl.h:
8667         * BufferView.C:
8668         * BufferView.h: rename Dispatch() to dispatch()
8669
8670         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8671
8672         * lyxlayout.C (Read): honor DependsOn tag
8673
8674         * lyxlayout.[Ch] (depends_on): new method
8675
8676         * version.C.in: update lyx_docversion
8677
8678         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8679
8680         * paragraph.C (validate): remove from here...
8681         * paragraph_pimpl.C (validate): ... and move here
8682         (isTextAt): make it const
8683
8684         * buffer.C (getLists): ws cleanup
8685
8686 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8687
8688         * language.C (read): Use iso8859-1 encoding in latex_lang
8689         (this prevents LyX from crashing when using iso10646-1 encoding).
8690
8691 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8692
8693         * text2.C (toggleInset): if cursor is inside an inset, close the
8694         inset and leave cursor _after_ it
8695
8696 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8697
8698         * lyxfunc.C: move minibuffer completion handling out of here
8699
8700 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * BufferView_pimpl.C:
8703         * LaTeX.C: fix dispatch calls
8704
8705 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8706
8707         * text.C (drawChars): Fix Arabic text rendering.
8708
8709 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * LyXAction.C:
8712         * commandtags.h:
8713         * lyxfunc.C: remove message-push/pop
8714
8715         * lyxserver.C:
8716         * lyxfunc.h:
8717         * lyxfunc.C: rationalise some code by removing verboseDispatch
8718           in favour of a bool argument to dispatch()
8719
8720 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8721
8722         * lyx_main.C (init): make sure to read symlinks as absolute paths
8723
8724 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8725
8726         * lyxfunc.h:
8727         * lyxfunc.C: no need for commandshortcut to be a member
8728
8729 2002-07-15  André Pönitz <poenitz@gmx.net>
8730
8731         * converter.C: add support for $$s (scripts from lib/scripts dir)
8732         * lyx_main.C: white space
8733
8734 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8735
8736         * bufferlist.C:
8737         * lyxrc.h:
8738         * lyxrc.C: remove second exit confirmation
8739
8740 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8741
8742         * BufferView.h:
8743         * BufferView.C:
8744         * BufferView2.C:
8745         * BufferView_pimpl.h:
8746         * BufferView_pimpl.C:
8747         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8748
8749 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8750
8751         * MenuBackend.C (expand): add numeric shortcuts to document menu
8752
8753         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8754
8755 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8756
8757         * lyxfont.C (setLyXFamily):
8758         (setLyXSeries):
8759         (setLyXShape):
8760         (setLyXSize):
8761         (setLyXMisc):
8762         (lyxRead):
8763         * debug.C (value):
8764         * buffer.C (asciiParagraph): use ascii_lowercase
8765
8766 2002-07-15  Mike Fabian  <mfabian@suse.de>
8767
8768         * lyxlex_pimpl.C (search_kw):
8769         * lyxlex.C (getLongString):
8770         * converter.h (operator<):
8771         * converter.C (operator<):
8772         * buffer.C (parseSingleLyXformat2Token):
8773         (asciiParagraph):
8774         * ToolbarDefaults.C (read):
8775         * MenuBackend.C (checkShortcuts):
8776         (read):
8777         * LColor.C (getFromGUIName):
8778         (getFromLyXName): use the compare_ascii_no_case instead of
8779         compare_no_case, because in turkish, 'i' is not the lowercase
8780         version of 'I', and thus turkish locale breaks parsing of tags.
8781
8782 2002-07-16  Angus Leeming  <leeming@lyx.org>
8783
8784         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8785         now takes a Buffer const & argument.
8786
8787 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8788
8789         * BufferView.C (resize): check there's a buffer to resize
8790
8791 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * lyxfunc.C: remove dead code
8794
8795         * lyxserver.h:
8796         * lyxserver.C: use lyx_guii::set_read_callback
8797
8798 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8799
8800         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8801         an inset in a RTL paragraph.
8802
8803 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8804
8805         * lyxfunc.C: repaint after a font size update
8806
8807 2002-07-15  André Pönitz <poenitz@gmx.net>
8808
8809         * lyxlength.C: inBP should be able to return negative values
8810
8811 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8812
8813         * lyxfunc.C: use lyx_gui::update_fonts()
8814
8815 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8816
8817         * lyxfunc.C: use lyx_gui::update_color()
8818
8819 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * bufferlist.C:
8822         * lyxfunc.h:
8823         * lyxfunc.C:
8824         * lyxrc.h:
8825         * lyxrc.C: remove file->new asks for name option, and let
8826           buffer-new take an argument
8827
8828 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8829
8830         * BufferView_pimpl.C: remove unneeded extra repaint()
8831
8832 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * LyXAction.C: allow command-sequence with NoBuffer
8835
8836         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8837
8838 2002-07-10  Angus Leeming  <leeming@lyx.org>
8839
8840         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8841
8842 2002-07-09  Angus Leeming  <leeming@lyx.org>
8843
8844         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8845
8846 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8847
8848         * lengthcommon.h: whitespace
8849
8850         * lyxfunc.C: update scrollbar after goto paragraph
8851
8852         * lyxtext.h: factor out page break drawing, and fix it so
8853           page break/added space paints as selected nicely
8854
8855 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8856
8857         * BufferView_pimpl.C: add FIXMEs, clean up a little
8858
8859 2002-07-09  André Pönitz <poenitz@gmx.net>
8860
8861         * lyxfont.[Ch]: support for wasy symbols
8862
8863 2002-07-08  André Pönitz <poenitz@gmx.net>
8864
8865         * BufferView_pimpl.C: apply John's patch for #93.
8866
8867 2002-07-05  Angus Leeming  <leeming@lyx.org>
8868
8869         * BufferView_pimpl.C (buffer): generate previews if desired.
8870
8871         * LColor.h: add "preview" to the color enum.
8872
8873         * LColor.C (LColor): add a corresponding entry to the items array.
8874
8875         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8876         with this buffer.
8877
8878 2002-07-05  Angus Leeming  <leeming@lyx.org>
8879
8880         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8881         The body of the code is now in the method that is passed an ostream &
8882         rather than a file name.
8883         Pass an additional only_preamble parameter, useful for the forthcoming
8884         preview stuff.
8885
8886 2002-07-03  André Pönitz <poenitz@gmx.net>
8887
8888         * lyxfunc.C: simplify getStatus() a bit for math stuff
8889
8890 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8891
8892         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8893
8894 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8895
8896         * text.C (changeRegionCase): do not change case of all the
8897         document when region ends at paragraph end (bug #461)
8898
8899 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8900
8901         * paragraph.C (startTeXParParams):
8902         (endTeXParParams): add \protect when necessary
8903
8904 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8905
8906         * BufferView_pimpl.C (workAreaExpose): remove warning
8907
8908 2002-06-27  Angus Leeming  <leeming@lyx.org>
8909
8910         * Makefile.am: add lyxlayout_ptr_fwd.h.
8911
8912 2002-06-26  André Pönitz <poenitz@gmx.net>
8913
8914         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8915
8916 2002-06-25  Angus Leeming  <leeming@lyx.org>
8917
8918         * lyxfunc.C (dispatch): Comment out the call to
8919         grfx::GCache::changeDisplay. The method no longer exists now that the
8920         pixmap generation part of the graphics loader has been moved into
8921         InsetGraphics.
8922
8923 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8924
8925         * text2.C: layout as layout
8926
8927         * text.C: layout as layout
8928
8929         * tabular.C (OldFormatRead): layout as layout
8930
8931         * paragraph_pimpl.C (TeXDeeper): layout as layout
8932         (realizeFont): layout as layout
8933
8934         * paragraph.C (writeFile): layout as layout
8935         (validate): layout as layout
8936         (getFont): layout as layout
8937         (getLabelFont): layout as layout
8938         (getLayoutFont): layout as layout
8939         (breakParagraph): layout as layout
8940         (stripLeadingSpaces): layout as layout
8941         (getEndLabel): layout as layout
8942         (getMaxDepthAfter): layout as layout
8943         (applyLayout): layout as layout
8944         (TeXOnePar): layout as layout
8945         (simpleTeXOnePar): layout as layout
8946         (TeXEnvironment): layout as layout
8947         (layout): layout as layout
8948         (layout): layout as layout
8949
8950         * lyxtextclass.C (compare_name): new functor to work with
8951         shared_ptr, layout as layout
8952         (Read): layout as layout
8953         (hasLayout): layout as layout
8954         (operator): layout as layout
8955         (delete_layout): layout as layout
8956         (defaultLayout): layout as layout
8957
8958         * lyxlayout_ptr_fwd.h: new file
8959
8960         * lyxlayout.C (Read): layout as layout
8961
8962         * lyx_cb.C (MenuInsertLabel): layout as layout
8963
8964         * bufferlist.C (newFile): layout as layout
8965
8966         * buffer.C (readLyXformat2): layout as layout
8967         (parseSingleLyXformat2Token): layout as layout
8968         (insertStringAsLines): layout as layout
8969         (asciiParagraph): layout as layout
8970         (latexParagraphs): layout as layout
8971         (makeLinuxDocFile): layout as layout
8972         (simpleLinuxDocOnePar): layout as layout
8973         (makeDocBookFile): layout as layout
8974         (simpleDocBookOnePar): layout as layout
8975         (getLists): layout as layout
8976
8977         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8978
8979         * CutAndPaste.C (cutSelection): layout as layout
8980         (pasteSelection): layout as layout
8981         (SwitchLayoutsBetweenClasses): layout as layout
8982
8983         * BufferView_pimpl.C (Dispatch): layout as layout
8984         (smartQuote): layout as layout
8985
8986         * BufferView2.C (unlockInset): layout as layout
8987
8988 2002-06-24  André Pönitz <poenitz@gmx.net>
8989
8990         * lyxfunc.C: fix #487
8991
8992 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * lyxrc.h:
8995         * lyxrc.C:
8996         * lyxfunc.C: remove display_shortcuts, show_banner
8997
8998 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8999
9000         * Buffer_pimpl.C: oops, update on resize
9001
9002 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9003
9004         * buffer.C:
9005         * converter.C:
9006         * exporter.C:
9007         * lyxfunc.C:
9008         * BufferView.h:
9009         * BufferView.C: use repaint()
9010
9011         * BufferView_pimpl.h:
9012         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9013           as it's a clearer description. Remove superfluous
9014           redraws.
9015
9016 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9017
9018         * text.C: fix bug 488. Not ideal, but getting
9019           getWord() to work properly for the insets that
9020           matter is more difficult ...
9021
9022 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * BufferView_pimpl.C:
9025         * LyXAction.C:
9026         * commandtags.h:
9027         * lyxfunc.C: remove the six million index lyxfuncs to just
9028           one, and DTRT (bug 458)
9029
9030 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9031
9032         * BufferView.h:
9033         * BufferView.C:
9034         * BufferView_pimpl.h:
9035         * BufferView_pimpl.C: clean up resize() stuff,
9036           and unnecessary updateScreen()s
9037
9038 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * BufferView.h:
9041         * BufferView.C:
9042         * BufferView_pimpl.h:
9043         * BufferView_pimpl.C:
9044         * lyxfind.h:
9045         * lyxfind.C:
9046         * minibuffer.C: remove focus management of workarea,
9047           not needed. Use screen's greyOut()
9048
9049 2002-06-17  Herbert Voss  <voss@lyx.org>
9050
9051         * converter.C: (convert) do not post a message, when converting
9052         fails, let the calling function decide what to do in this case
9053
9054 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * lyxfunc.C: tidy up a little
9057
9058 2002-06-16    <alstrup@diku.dk>
9059
9060         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9061         Got rid of FORMS_H_LOCATION include. Now we are
9062         GUII.
9063
9064 2002-06-15  LyX Development team  <lyx@rilke>
9065
9066         * buffer.[Ch] (sgmlOpenTag):
9067         (sgmlCloseTag): Added support for avoiding pernicious mixed
9068         content. Return number of lines written.
9069
9070         (makeLinuxDocFile):
9071         (makeDocBookFile): Fixed calls to sgml*Tag.
9072         Simple white space clean.
9073
9074         (simpleDocBookOnePar): Simple white space clean.
9075
9076         * tabular.[Ch] (docBook): Renamed to docbook and got another
9077         argument to related with the pernicious mixed content.
9078
9079         (docbookRow): Fixed calls for docbook inset method.
9080
9081 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9082
9083         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9084         so it's X11 independent.
9085
9086         * kb*.[Ch]: ditto.
9087
9088         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9089
9090 2002-06-15  Lyx Development team  <lyx@electronia>
9091
9092         * intl.h: Renamed getTrans to getTransManager.
9093
9094 2002-06-14  Angus Leeming  <leeming@lyx.org>
9095
9096         * Makefile.am: nuke forgotten stl_string_fwd.h.
9097
9098 2002-06-12  Angus Leeming  <leeming@lyx.org>
9099
9100         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9101
9102 2002-06-13  Angus Leeming  <leeming@lyx.org>
9103
9104         * LaTeX.C:
9105         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9106
9107 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9108
9109         * kbmap.C (getiso): add support for cyrillic and greek
9110
9111 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * BufferView.h:
9114         * BufferView.C:
9115         * BufferView_pimpl.h:
9116         * BufferView_pimpl.C: move bogus scrolling logic
9117           to xforms
9118
9119 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * lyxfunc.C:
9122         * BufferView_pimpl.C: view->resize() change
9123
9124 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * BufferView_pimpl.C: topCursorVisible
9127           prototype change
9128
9129 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9130
9131         * Makefile.am:
9132         * lyx_gui.h:
9133         * lyx_gui.C: move to frontends/
9134
9135         * main.C:
9136         * lyx_main.h:
9137         * lyx_main.C: changes from above
9138
9139 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9140
9141         * intl.C:
9142         * intl.h:
9143         * kbmap.C:
9144         * kbsequence.C:
9145         * lyx_cb.C:
9146         * lyx_main.C: minor tidy
9147
9148 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9149
9150         * BufferView_pimpl.h:
9151         * BufferView_pimpl.C:
9152         * BufferView.h:
9153         * BufferView.C: make painter() const,
9154           remove dead code
9155
9156         * BufferView2.C: use screen() accessor
9157
9158         * lyx_main.h:
9159         * lyx_main.C: some minor cleanup
9160
9161 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * BufferView_pimpl.h:
9164         * BufferView_pimpl.C: remove enter/leaveView,
9165           use workHeight()
9166
9167 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9168
9169         * BufferView.h:
9170         * BufferView.C:
9171         * BufferView2.C:
9172         * BufferView_pimpl.h:
9173         * BufferView_pimpl.C: only construct screen once,
9174           rename
9175
9176         * lyxrc.C: remove pointless comment
9177
9178 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * BufferView.h:
9181         * BufferView.C: remove active() and belowMouse()
9182
9183         * BufferView_pimpl.h:
9184         * BufferView_pimpl.C: use workarea() not workarea_,
9185           and make it use a scoped_ptr instead
9186
9187 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * lyx_gui.C: add debug message on BadWindow
9190
9191 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9192
9193         * sp_spell.C: fdopen is not part of the C++ standard.
9194
9195         * paragraph.C (InsetIterator): use >= instead of ==
9196
9197 2002-06-07  Angus Leeming  <leeming@lyx.org>
9198
9199         Fixes needed to compile with Compaq cxx 6.5.
9200         * BufferView_pimpl.C:
9201         * DepTable.C:
9202         * buffer.C:
9203         * converter.C:
9204         * encoding.C:
9205         * lyx_gui.C:
9206         * lyx_main.C:
9207         * lyxtextclasslist.C:
9208         * minibuffer.C:
9209         * sp_spell.C:
9210         * tabular_funcs.C:
9211         * vc-backend.C:
9212         all c-library variables have been moved into namespace std. Wrap
9213         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9214
9215         * lyxlength.C:
9216         * tabular-old.C:
9217         * tabular.C:
9218         Add a using std::abs declaration.
9219
9220         * kbmap.h (modifier_pair):
9221         * paragraph.h (InsetTable, InsetList):
9222         * lyxfont.h (FontBits):
9223         type definition made public.
9224
9225         * bufferlist.C (emergencyWriteAll): the compiler complains that
9226         there is more than one possible lyx::class_fun template to choose from.
9227         I re-named the void specialisation as lyx::void_class_fun.
9228
9229         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9230
9231         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9232         the compiler is is unable to find tostr in write_attribute.
9233
9234 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9235
9236         * buffer.C (sgmlError): hide #warning
9237
9238 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9239
9240         * xtl/*: get rid of xtl, which is not in use anyway
9241
9242         * LyXAction.C (init):
9243         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9244         were unimplemented xtl experimentation
9245
9246 2002-06-04  André Pönitz <poenitz@gmx.net>
9247
9248         * lyxfunc.C: disable array operation on simple formulae
9249
9250 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9251
9252         * converter.C: constify a bit
9253
9254 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9255
9256         * lyx_gui.C: check xforms version correctly
9257
9258 2002-04-30  Herbert Voss  <voss@lyx.org>
9259
9260         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9261         "keep" option
9262
9263 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9266           attempt to register it with a VCS)
9267
9268 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9269
9270         * lyx_main.C (init): honor variables LYX_DIR_13x and
9271         LYX_USERDIR_13x
9272
9273 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * buffer.h:
9276         * buffer.C:
9277         * lyx_main.C: fix a crash on bad command line,
9278           and give a useful exit status on error
9279
9280         * lyxfunc.C (doImport): allow -i lyx to work
9281
9282 2002-03-30  André Pönitz <poenitz@gmx.net>
9283
9284         * lyxfunc.C: mathed font changes
9285
9286 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9287
9288         * LaTeX.C:
9289         * importer.h:
9290         * importer.C:
9291         * lyx_sty.h:
9292         * lyx_sty.C:
9293         * lyxlex.C:
9294         * lyxrow.h:
9295         * lyxtext.h:
9296         * paragraph.h:
9297         * paragraph.C:
9298         * texrow.h:
9299         * texrow.C:
9300         * text.C:
9301         * trans_mgr.h: srcdocs, and some minor cleanups
9302
9303 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9304
9305         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9306         call getFont all the time)
9307
9308 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9309
9310         * switch from SigC signals to boost::signals
9311
9312 2002-05-29  André Pönitz <poenitz@gmx.net>
9313
9314         * paragraph_pimpl.C (getChar): don't call size() too often...
9315
9316 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9317
9318         * paragraph_pimpl.C (insertChar): do not try to update tables when
9319         appending (pos == size())
9320
9321         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9322         in order to reduce drastically the number of comparisons needed to
9323         parse a large document
9324
9325 2002-05-29  André Pönitz <poenitz@gmx.net>
9326
9327         * text.C:
9328         * text2.C:
9329         * lyxtextclass.C:
9330         * sp_pspell.h:
9331         * textclasslist.[Ch]:
9332         * sp_ispell.h: whitespace change
9333
9334 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9335
9336         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9337         lyxaction directly now.
9338
9339 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * trans.C:
9342         * lyxfont.C:
9343         * lyxvc.C: remove unused headers
9344
9345 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * Makefile.am:
9348         * buffer.h:
9349         * undostack.h:
9350         * undostack.C:
9351         * undo_funcs.h:
9352         * undo_funcs.C: some cleanups. Use shared_ptr
9353           and a template for the undo stacks.
9354
9355 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * BufferView_pimpl.h:
9358         * BufferView_pimpl.C:
9359         * kbmap.h:
9360         * kbmap.C:
9361         * kbsequence.h:
9362         * kbsequence.C:
9363         * lyxfunc.h:
9364         * lyxfunc.C:
9365         * text2.C: use key_state/mouse_state
9366
9367 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9368
9369         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9370         and LSubstring
9371
9372         * chset.C: change include order
9373         (loadFile): use boost regex and get rid of LRegex and LSubstring
9374
9375         * Makefile.am (BOOST_LIBS): new variable
9376         (lyx_LDADD): use it
9377
9378         * LaTeX.C: change include order.
9379         (scanAuxFile): use boost regex and get rid of LRegex and
9380         LSubstring
9381         (deplog): ditto
9382
9383 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * ColorHandler.h:
9386         * ColorHandler.C:
9387         * FontInfo.h:
9388         * FontInfo.C: moved to frontends/xforms/
9389
9390         * FontLoader.h:
9391         * FontLoader.C: moved into frontends for GUIIzation
9392
9393         * Makefile.am:
9394         * lyx_gui.C:
9395         * lyxfont.C:
9396         * lyxfunc.C: changes from above
9397
9398 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9399
9400         * LColor.C: remove spurious X include
9401
9402         * BufferView_pimpl.C:
9403         * Makefile.am:
9404         * font.h:
9405         * font.C:
9406         * text.C:
9407         * text2.C: move font metrics to frontends/
9408
9409 2002-05-24  Juergen Vigna  <jug@sad.it>
9410
9411         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9412         setting the undo_cursor.
9413
9414         * ParagraphParameters.h: include local includes first.
9415
9416 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9417
9418         * BufferView_pimpl.C:
9419         * BufferView_pimpl.h:
9420         * Makefile.am:
9421         * WorkArea.h:
9422         * WorkArea.C:
9423         * screen.C: move WorkArea into frontends/
9424
9425         * lyxscreen.h:
9426         * screen.C:
9427         * text.C:
9428         * BufferView.C:
9429         * BufferView2.C: move LyXScreen into frontends/
9430
9431         * lyxlookup.h:
9432         * lyxlookup.C:
9433         * lyx_gui.C: move lyxlookup into frontends/xforms/
9434
9435 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * BufferView2.C:
9438         * BufferView_pimpl.C:
9439         * FontLoader.C:
9440         * LyXView.h:
9441         * LyXView.C:
9442         * Makefile.am:
9443         * WorkArea.C:
9444         * XFormsView.h:
9445         * XFormsView.C:
9446         * buffer.C:
9447         * bufferlist.C:
9448         * bufferview_funcs.C:
9449         * converter.C:
9450         * importer.C:
9451         * lyx_cb.C:
9452         * lyx_gui.C:
9453         * lyx_main.C:
9454         * lyx_find.C:
9455         * lyxfunc.C:
9456         * lyxvc.C:
9457         * minibuffer.C:
9458         * text.C:
9459         * text2.C:
9460         * trans.C:
9461         * vc-backend.C: move LyX/XFormsView into frontends/
9462
9463 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * Makefile.am:
9466         * PainterBase.C:
9467         * PainterBase.h:
9468         * Painter.C:
9469         * Painter.h:
9470         * WorkArea.C:
9471         * WorkArea.h:
9472         * screen.C:
9473         * tabular.C:
9474         * text.C:
9475         * text2.C: move Painter to frontends/
9476
9477 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9478
9479         * buffer.C: comment out some some code that depend upon lyx_format
9480         < 220
9481
9482         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9483         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9484
9485         * buffer.h (NO_COMPABILITY): turn off compability
9486
9487         * ColorHandler.C: include scoped_array.hpp
9488
9489         * font.C: Use more specific smart_ptr header.
9490         * Painter.C: ditto
9491         * gettext.C: ditto
9492         * ShareContainer.h: ditto
9493         * lyx_main.h: ditto
9494         * kbmap.h: ditto
9495         * FontInfo.h: ditto
9496         * BufferView_pimpl.h: ditto
9497         * ColorHandler.h: ditto
9498
9499         * kbmap.C (defkey): change call to shared_ptr::reset
9500
9501 2002-05-21  Juergen Vigna  <jug@sad.it>
9502
9503         * buffer.C (insertErtContents): fix to insert ert asis if it is
9504         non empty. Skip it completely if it contains only whitespaces.
9505
9506 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * BufferView_pimpl.C:
9509         * BufferView2.C: clear selection on paste (bug 393)
9510
9511 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9512
9513         * DepTable.C: include ctime
9514
9515 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9516
9517         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9518
9519 2002-05-14  Juergen Vigna  <jug@sad.it>
9520
9521         * text.C (breakParagraph): fixed function to honor the keepempty
9522         layout in the right maner and also to permit the right breaking
9523         algorithm on empty or non empyt keepempty paragraphs.
9524
9525         * paragraph.C (breakParagraph): we have to check also if the par
9526         is really empty (!size()) for isempty otherwise we do the wrong
9527         paragraph break.
9528
9529 2002-05-10  Juergen Vigna  <jug@sad.it>
9530
9531         * buffer.[Ch] : The following are only changes to the ert
9532         compatibility read reading old LaTeX layout and font stuff and
9533         convert it to ERTInsets.
9534
9535         * buffer.h: added isErtInset().
9536
9537         * buffer.C (struct ErtComp): add a fromlayout bool to check
9538         if we're inside a LaTeX layout.
9539         (isErtInset): new helper function.
9540         (insertErtContents): look for other ert insets before this one
9541         and insert the contents there, so that we don't have subsequent
9542         ERT insets with nothing between them. This way we create only one
9543         inset with multiple paragraphs. Also check if we don't insert only
9544         spaces ' ' as they are ignored anyway afterwards in the .tex file
9545         so if we have only spaces we will ignore this latex part in the
9546         new file.
9547         (parseSingleLyXformat2Token \\layout): better compatibility when
9548         reading layout-latex stuff.
9549         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9550         language tag.
9551         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9552         stuff after reading the inset only get the information back from
9553         the stack.
9554
9555 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9556
9557         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9558
9559         * LaTeXFeatures.C (getBabelOptions): New method.
9560
9561 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9562
9563         * BufferView_pimpl.C (Dispatch): work around missing argument for
9564         'layout'
9565
9566 2002-05-08  Juergen Vigna  <jug@sad.it>
9567
9568         * text.C (leftMargin): handle paragraph leftindent.
9569
9570         * paragraph.C (writeFile): write the new \\leftindent tag.
9571         (validate): handle leftindent code.
9572         (TeXEnvironment): handle paragraphleftindent code again.
9573
9574         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9575
9576         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9577         for paragrap_extra indent code and new token \\leftindent.
9578         (latexParagraphs): handle the leftindent as environment.
9579
9580         * ParameterStruct.h: added leftindent support.
9581
9582         * ParagraphParameters.C (leftIndent): added support functions for
9583         the paragraph left indent.
9584
9585         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9586         more appropriate.
9587
9588 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9589
9590         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9591         inside insetERT.
9592
9593         * text.C (computeBidiTables): No bidi in insetERT.
9594
9595         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9596         in RTL documents.
9597
9598 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9599
9600         * version.C.in: pre 5
9601
9602 2002-05-02  José Matos  <jamatos@fep.up.pt>
9603         * buffer.C (makeDocBookFile): white space changes, add newline to
9604         command styles.
9605         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9606
9607         * tabular.C (docBook): fix typo.
9608
9609 2002-05-03  Juergen Vigna  <jug@sad.it>
9610
9611         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9612         change in LyXText as we can not be sure it was not freed.
9613         (drawOneRow): remove unused code.
9614
9615         * text.C (drawInset): redo the calculation of the need_break_row as
9616         it could have a row which was already freed.
9617         (draw): look at the return value of drawInset and return false if
9618         it also returned false.
9619         (paintRowText): look at the return value of draw and return false if
9620         it also returned false.
9621
9622         * lyxtext.h: added bool return type to drawInset() and draw() so that
9623         if we have a change in the row so that the rowbreak has to be redone
9624         we abort drawing as it will be called again.
9625
9626 2002-05-02  Juergen Vigna  <jug@sad.it>
9627
9628         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9629         a change in the maintext also if we're inside an inset.
9630         (Dispatch): set the cursor again after a break line and after the
9631         screen has been updated as it could be we're in a different row.
9632
9633         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9634         to set the cursor behind the pargraph with > size().
9635         (setCursor): check also for the same paragraph when checking where
9636         to put the cursor if we have a NFR inset.
9637
9638         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9639         parts of layout read further up as it still was in the wrong
9640         position.
9641
9642 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9643
9644         * screen.C (drawFromTo): change sine fullRebreak always return
9645         true.
9646
9647         * buffer.C (parseSingleLyXformat2Token): reindent some
9648
9649         * BufferView_pimpl.C (update): change since fullRebreak always
9650         return true.
9651         (Dispatch): git rid of the last hardcoded "Standard"s.
9652
9653 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9654
9655         * text2.[Ch] (fullRebreak): make it return void now that we always
9656         returned true.
9657
9658 2002-04-30  Juergen Vigna  <jug@sad.it>
9659
9660         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9661         ert compatibility check for "latex" layout.
9662
9663 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9664
9665         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9666         minipages: use col% instead of p%, and also use the current font.
9667         (makeLaTeXFile): Fix use babel condition.
9668         (parseSingleLyXformat2Token): Correct font when reading old floats.
9669
9670 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9671
9672         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9673         inserting list of floats.
9674
9675 2002-04-25  Herbert Voss  <voss@lyx.org>
9676
9677         * MenuBackend.C (expand): don't add the graphics extensions to the
9678         export menu
9679
9680 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9683         non-existing layout, do not complain if it was the default layout
9684         of the original class (bug #342)
9685
9686 2002-04-24  Juergen Vigna  <jug@sad.it>
9687
9688         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9689         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9690
9691 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9692
9693         * buffer.C (getBibkeyList): If using \bibliography, return the
9694         option field with the reference itself. Enables us to provide natbib
9695         support when using \bibliography.
9696
9697 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9698
9699         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9700
9701         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9702         natbib is provided by the LaTeX class.
9703
9704 2002-04-23  Juergen Vigna  <jug@sad.it>
9705
9706         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9707         Wakeup functions.
9708
9709         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9710
9711 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9712
9713         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9714
9715         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9716         ensuremath around textordmasculine, textordfeminine and
9717         textdegree.
9718
9719 2002-04-19  Juergen Vigna  <jug@sad.it>
9720
9721         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9722         reinitializing the buffer otherwise row-dimensions may be wrong.
9723         (update): reset also the selection cursors if they do exits otherwise
9724         their x/y positions may be wrong.
9725
9726         * text2.C (cursorDown): don't enter the inset if we came from a row
9727         above and are one row over the inset.
9728
9729         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9730         really leaving an inset.
9731
9732 2002-04-18  Juergen Vigna  <jug@sad.it>
9733
9734         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9735         of the selected paragraph does not have the selected layout also if
9736         the last one had!
9737
9738         * text2.C (setLayout): fixed bug which did not change last selected
9739         paragraph.
9740
9741         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9742         changed the read and substituted \\end_float with \\end_inset!
9743
9744         * BufferView_pimpl.C (cursorPrevious):
9745         (cursorNext): fixed to make it work with rows heigher than the work
9746         area without moving the cursor only the draw of the row.
9747         (workAreaMotionNotify): fix jumping over high rows.
9748
9749 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9750
9751         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9752         Ressler.
9753
9754 2002-04-16  Juergen Vigna  <jug@sad.it>
9755
9756         * text2.C (setCursor): set also the irow().
9757         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9758         (cursorUp):
9759         (cursorDown): support for locking an inset if the x_fix value goes
9760         inside it. That way I can transverse insets too with cursor up/down.
9761
9762         * lyxrow.h: added irow helper function same as other (i) functions.
9763
9764         * BufferView_pimpl.C (cursorPrevious):
9765         (cursorNext): fixed for insets!
9766
9767 2002-04-15  Juergen Vigna  <jug@sad.it>
9768
9769         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9770         position otherwise it is wrong in some cases.
9771
9772         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9773         inside the inset before the call.
9774
9775 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9776
9777         * buffer.[Ch] (getBibkeyList): make it const.
9778
9779 2002-04-12  Juergen Vigna  <jug@sad.it>
9780
9781         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9782
9783         * text2.C (getCursorX): new helper function
9784         (setCursor): compute also ix_
9785         (setCursorFromCoordinates): set also ix.
9786
9787         * lyxcursor.h: added ix_ and helper functions.
9788
9789         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9790
9791         * buffer.C (insertStringAsLines): dont break paragraph if the this
9792         paragraph is inside an inset which does not permit it!
9793
9794         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9795         also with no chars on this paragraph.
9796         (paintRowText): only paint stuff if it's inside the workarea!
9797
9798         * paragraph.C (breakParagraph): honor keepempty flag and break the
9799         paragraph always below not above.
9800
9801         * BufferView2.C (unlockInset): update the paragraph layout on inset
9802         unlock as we changed paragraph in such a case.
9803
9804         * lyxfind.C (LyXFind): clear the former selection if not found!
9805
9806         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9807         again called in insertChar().
9808
9809         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9810         an inset which uses the whole row!
9811         (rightMargin): ditto.
9812         (insertChar): force a rebreak if we inserted an inset!
9813
9814 2002-03-28  Herbert Voss  <voss@lyx.org>
9815
9816         * lyxlength.[Ch]: add inBP() to get the right PS-point
9817         units (BigPoint). With inPixels we have rounding errors
9818
9819 2002-04-11  Juergen Vigna  <jug@sad.it>
9820
9821         * text2.C (setCursorFromCoordinates): set iy to the right value.
9822         (setCursor): add check if row->previous exists!
9823
9824         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9825         an old float_type as this was the case in the old code!
9826
9827         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9828
9829         * BufferView2.C (showLockedInsetCursor): use iy
9830         (fitLockedInsetCursor): ditto
9831
9832         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9833         locked insets as there we have the right value now.
9834
9835         * lyxcursor.C: added iy_ variable and iy functions to set to the
9836         baseline of cursor-y of the locked inset.
9837
9838         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9839         (setCursor): fixed for insets which need a full row.
9840
9841         * text.C (rowLastPrintable): don't ignore the last space when before
9842         an inset which needs a full row.
9843         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9844         as last character of a row when before a inset which needs a full row.
9845
9846 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9847
9848         * version.C.in: update date
9849
9850         * text2.C (fullRebreak): try to always return true and see what
9851         happens...
9852
9853 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * MenuBackend.C (expand): use Floating::listName
9856
9857         * FloatList.C (FloatList): add listName argument to the built-in
9858         floats
9859
9860         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9861         text associated with the float.
9862
9863 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9866
9867 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9868
9869         * ShareContainer.h: add a couple of missing typenames.
9870
9871 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9872
9873         * lyxrc.C (getDescription): use _() correctly rather than N_().
9874
9875 2002-03-28  Herbert Voss  <voss@lyx.org>
9876
9877         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9878         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9879
9880 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9881
9882         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9883         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9884
9885 2002-03-29  Juergen Vigna  <jug@sad.it>
9886
9887         * lyxfunc.C (dispatch): add a missing fitCursor call.
9888
9889         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9890         it was scrolled by a cursor move, so return the bool status.
9891
9892         * BufferView.C (fitCursor): return the bool flag also to the outside
9893         world as this is needed.
9894
9895         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9896
9897         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9898         call the edit() as it is not needed (and wrong) IMO.
9899         (workAreaButtonPress): set the screen_first variable before evt.
9900         unlock the inset as this may change screen_first and then we have
9901         a wrong y position for the click!
9902
9903 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9904
9905         * MenuBackend.C (expand): another translation that I missed
9906
9907 2002-03-28  Juergen Vigna  <jug@sad.it>
9908
9909         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9910
9911         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9912
9913 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9914
9915         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9916
9917         * MenuBackend.C (expand): fix export/view/update when there is no
9918         document open.
9919
9920 2002-03-27  Herbert Voss  <voss@lyx.org>
9921
9922         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9923         and text%
9924
9925 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * bufferview_funcs.C (currentState): only show paragraph number
9928         for is DEVEL_VERSION is set.
9929
9930         * lyxfunc.C (dispatch): put warning in INFO channel
9931
9932         * MenuBackend.C (expand): translate the name of floats
9933
9934         * FloatList.C (FloatList): mark the float names for translation
9935
9936         * converter.C (convert): use LibScriptSearch
9937
9938 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * MenuBackend.C (defaults): fix default menu (we might as well get
9941         rid of it...)
9942
9943 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9944
9945         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9946         directory.
9947
9948 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9949
9950         * lyxvc.C: reorder includes.
9951
9952 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9955           properly
9956
9957 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * CutAndPaste.C: change layouts earlier on paste
9960           to avoid crashing when calling getFont()
9961
9962 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9963
9964         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9965         irritating #error.
9966
9967 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9968
9969         * WorkArea.C: remove 'Pending' debug message.
9970
9971         * most files: ws cleanup
9972
9973         * buffer.[Ch]: ws changes
9974
9975         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9976
9977 2002-03-21  Juergen Vigna  <jug@sad.it>
9978
9979         * tabular.C (SetMultiColumn): collapse also the contents of the
9980         cells and set the last border right. Added a Buffer const * param.
9981
9982 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9983
9984         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9985         linking or not.
9986
9987 2002-03-19  Juergen Vigna  <jug@sad.it>
9988
9989         * text2.C (clearSelection): reset also xsel_cache.
9990
9991         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9992         where it needs to be called (John tells us to do so too :)
9993         (selectionLost): reset sel_cache.
9994
9995         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9996
9997 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9998
9999         * text2.C (setCursorIntern): put debuging code in INSETS channel
10000
10001 2002-03-19  André Pönitz <poenitz@gmx.net>
10002
10003         * lyxfunc.C: tiny whitespace change
10004
10005 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10006
10007         * ToolbarDefaults.C (init):
10008         * LyXAction.C (init):
10009         * commandtags.h:
10010         * BufferView_pimpl.C (Dispatch):
10011         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10012
10013 2002-03-19  Allan Rae  <rae@lyx.org>
10014
10015         * exporter.C (Export): removeAutoInsets before doing anything else.
10016         While I've just introduced a dependency on BufferView this really is
10017         the best place to clean the buffer otherwise you need to cleanup in
10018         a dozen places before calling export or cleanup in a dozen functions
10019         that export calls.
10020
10021         * converter.C (runLaTeX):
10022         (scanLog): Better handling of removeAutoInsets and screen updates.
10023
10024         * lyxfunc.C (dispatch): small whitespace changes
10025
10026 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10027
10028         * WorkArea.C (C_WorkAreaEvent): return a value.
10029         (event_cb): return 1 if we handled the event, 0 otherwise.
10030
10031         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10032
10033 2002-03-18  Juergen Vigna  <jug@sad.it>
10034
10035         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10036         (GetAdditionalWidth): ditto.
10037         (RightLine): ditto.
10038         (LeftLine): ditto.
10039
10040         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10041         inset if we're there actually (probably not used right now but this
10042         is the direction to go for unifying code).
10043         (paste): disable code to clear the selection.
10044
10045         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10046         inside an InsetText and move the check further up as it is in the
10047         wrong place.
10048
10049         * text2.C (pasteSelection): set a selection over the pasted text.
10050
10051 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10052
10053         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10054         and libgraphics to build on Cygwin.
10055
10056 2002-03-15  Juergen Vigna  <jug@sad.it>
10057
10058         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10059         inserting an Inset into the paragraph. I know this is not the best
10060         fix but we already use current_view in CutAndPaste so we will remove
10061         all of it's using at the same time.
10062
10063         * buffer.C (sgmlError): deactivated function till it is rewritten in
10064         the right mode, now it can create problems.
10065
10066         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10067         before accessing it.
10068
10069 2002-03-14  Juergen Vigna  <jug@sad.it>
10070
10071         * undo_funcs.C (textHandleUndo): do the right thing when updating
10072         the inset after the undo/redo.
10073
10074         * text2.C (setCursor): just some testcode for #44 not ready yet.
10075
10076         * undo_funcs.C (textHandleUndo): set the next() and previous()
10077         pointers of the paragraph to 0 before deleting otherwise we have
10078         problems with the Paragraph::[destructor].
10079
10080         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10081         on a paragraph insertion.
10082
10083 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10084
10085         * buffer.C (asciiParagraph): use += operator for char append to
10086         string.
10087
10088         * paragraph.C (getFontSettings): compare >= not just >
10089         (highestFontInRange): ditto
10090         (setFont): ditto
10091
10092 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10093
10094         * paragraph.C: change several algorithm to be more appripriate for
10095         the problem domain. This is lookip in FontList and in the InsetList.
10096
10097 2002-03-13  André Pönitz <poenitz@gmx.net>
10098
10099         * commandtags.h:
10100         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10101
10102 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * commandtags.h:
10105         * LyXAction.C:
10106         * lyxfunc.C:
10107         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10108
10109 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10110
10111         * Painter.C (display): anon helper function, adjust code for this
10112         change.
10113         (pixmap): remove function.
10114
10115         * Painter.h: remove private display variable.
10116
10117         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10118
10119 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10120
10121         * WorkArea.[Ch]: remove figinset_canvas cruft.
10122
10123 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * lyxtextclass.C (operator): add one item cache optimization.
10126
10127         * bufferlist.h: doxy changes
10128
10129         * bufferlist.C: ws changes
10130
10131         * DepTable.[Ch] (ext_exist): place const in the right spot.
10132
10133         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10134         call resizeInsets.
10135         (workAreaExpose): call resizeInsets when the with BufferView changes.
10136         (Dispatch): adjust for protectedBlank removal
10137         (specialChar): call updateInset if the insert went ok.
10138
10139         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10140         specialChar instead.
10141
10142         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10143
10144         * BufferView.h: doxy change
10145
10146         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10147
10148         * lyxtextclass.C (operator[]): remove non-const version
10149         (defaultLayout): remove non-const version
10150
10151 2002-03-12  Juergen Vigna  <jug@sad.it>
10152
10153         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10154         did resize the LyXText too.
10155
10156         * buffer.C (readLyXformat2): set layout information on newly allocated
10157         paragraphs.
10158
10159         * tabular.C (OldFormatRead): set layout information on the paragraph.
10160
10161 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10162
10163         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10164
10165 2002-03-11  Juergen Vigna  <jug@sad.it>
10166
10167         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10168         plainly wrong.
10169         (resizeCurrentBuffer): force also the insets to resize themselfes.
10170         (moveCursorUpdate): fixed up for InsetText.
10171
10172 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10173
10174         * commandtags.h:
10175         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10176         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10177         value of Dialogs::tooltipsEnabled().
10178         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10179
10180 2002-03-08  Juergen Vigna  <jug@sad.it>
10181
10182         * BufferView_pimpl.C (updateInset): update inset inside inset also
10183         if it isn't inside theLockingInset().
10184
10185 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10186
10187         * buffer.C (asciiParagraph): redo some of the word and line length
10188         handling.
10189         (getLists): look for Caption instead of caption.
10190
10191 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10192
10193         * buffer.C (Buffer): initialize niceFile to true
10194         (makeLaTeXFile):
10195         (makeLinuxDocFile):
10196         (makeDocBookFile): make sure niceFile is true on exit
10197
10198 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10199
10200         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10201
10202 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10203
10204         * LyXSendto.C: remove.
10205         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10206         * lyx_gui.C: remove now-redundant comment.
10207         * ColorHandler.h: remove forward declaration of class WorkArea.
10208         * lyxfunc.C: remove #include "WorkArea.h".
10209
10210 2002-03-07  Juergen Vigna  <jug@sad.it>
10211
10212         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10213         got moved away with the DEPM and also set the inset_owner always
10214         right which before could have been omitted.
10215
10216 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10219         wanted layout is not found.
10220
10221 2002-03-07  Juergen Vigna  <jug@sad.it>
10222
10223         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10224
10225 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10226
10227         * paragraph.C (breakParagraph): use default layout not layout of
10228         prev paragraph.
10229         (Paragraph): clear ParagraphParameters.
10230
10231 2002-03-06  Juergen Vigna  <jug@sad.it>
10232
10233         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10234         otherwise it would not be a valid lenght. Fixed a special case in
10235         the minipage compatibility read where we end the document with a
10236         minipage.
10237
10238         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10239         was set as it could be 0 for InsetTexts first entry.
10240
10241 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10242
10243         * paragraph.C (writeFile): if layout is empty write out
10244         defaultLayoutName().
10245
10246         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10247         file without named layout we set layout to defaultLayoutName().
10248
10249 2002-03-06  Juergen Vigna  <jug@sad.it>
10250
10251         * CutAndPaste.C (copySelection): set layout for new paragraph.
10252
10253         * text.C (prepareToPrint): leave ERT inset left aligned
10254         (leftMargin): don't indent paragraphs inside ERT insets
10255
10256 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10257
10258         * paragraph.C (breakParagraph): dont call clear do the work manually
10259
10260         * paragraph.[Ch] (clear): remove function
10261
10262 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * paragraph.C (Paragraph): dont call clear, the work has already
10265         been done.
10266
10267         * lyxtextclass.C (operator): assert if n is empty
10268
10269         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10270         work manually instead.
10271
10272 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView_pimpl.C: protect selectionLost against text == 0
10275
10276 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10277
10278         * text.C (breakParagraph): fix a setting layout to '0' problem.
10279
10280 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10281
10282         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10283         final location of file, for the included files, and graphics.
10284
10285 2002-03-05  Juergen Vigna  <jug@sad.it>
10286
10287         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10288
10289 2002-03-04  Juergen Vigna  <jug@sad.it>
10290
10291         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10292
10293         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10294         last column of multicolumn cells.
10295         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10296
10297 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10298
10299         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10300         file if it doesn't go to a temporary file.
10301
10302         * buffer.C (sgmlOpenTag):
10303         (sgmlCloseTag):  remove extra newline insertion.
10304
10305 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * text.C (getRowNearY): comment out debug msg
10308
10309 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * text2.C: first -> first_y
10312
10313         * text.C (getRowNearY): add some attemts at a possible
10314         optimization, not working.
10315
10316         * tabular.[Ch]: add BufferParams to several function so that newly
10317         created paragraph can be initialized to he default layotu for the
10318         buffers textclass.
10319
10320         * tabular-old.C (ReadOld): add buf->params to call of Init
10321
10322         * screen.C: rename text->first to text->first_y
10323
10324         * paragraph.C (breakParagraph): always set layout in the broken
10325         paragraph
10326
10327         * lyxtextclass.C (Read): remove lowercase
10328         (hasLayout): ditto
10329         (operator): ditto
10330         (delete_layout): ditto
10331
10332         * lyxtext.h: rename first -> first_y
10333
10334         * lyxlayout.C (Read): remove lowercase
10335         (name): ditto
10336         (setName): ditto
10337         (obsoleted_by): ditto
10338
10339         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10340
10341         * buffer.C (insertErtContents): add params are to InsetERT
10342         (parseSingleLyXformat2Token): add code to check if a paragraphs
10343         layout really exist.
10344         (parseSingleLyXformat2Token): add params to several inset
10345         constructors
10346         (asciiParagraph): remove lowercase, do the layout comparisons with
10347         no_case
10348
10349         * BufferView_pimpl.C (cursorNext): first -> first_y
10350         (resizeCurrentBuffer): first -> first_y
10351         (updateScrollbar): first -> first_y
10352         (scrollCB): first -> first_y
10353         (workAreaMotionNotify): first -> first_y
10354         (workAreaButtonPress): first -> first_y
10355         (checkInsetHit): first -> first_y
10356         (cursorPrevious): first -> first_y
10357         (cursorNext): first -> first_y
10358         (Dispatch): add buffer_->params to severl inset contructors
10359
10360 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10361
10362         * lyxlayout.C (Read): remove some debug info that I forgot.
10363
10364         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10365         clean up the code slightly.
10366         (makeLinuxDocFile): ditto
10367         (makeDocBookFile): ditto
10368
10369         * text2.C: layout as string
10370
10371         * text.C: layout as string
10372
10373         * paragraph_pimpl.C: layout as string
10374
10375         * paragraph.[Ch]: layout as string
10376
10377         * lyxtextclasslist.[Ch]: layout as string
10378
10379         * lyxtextclass.[Ch]: layout as string
10380
10381         * lyxtext.h: layout as string
10382
10383         * lyxlayout.[Ch]: layout as string
10384
10385         * lyx_cb.C: layout as string
10386
10387         * bufferview_funcs.C: layout as string
10388
10389         * bufferparams.C: layout as string
10390
10391         * buffer.C: layout as string
10392
10393         * LyXView.[Ch]: layout as string
10394
10395         * LaTeXFeatures.[Ch]: layout as string
10396
10397         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10398
10399         * BufferView_pimpl.C: change current_layout to string, remove
10400         lyx::layout_type.
10401         (Dispatch):
10402         (smartQuote):
10403         (insertInset):
10404         (workAreaButtonRelease): layout as string
10405
10406         * BufferView2.C (unlockInset): adjust
10407
10408         * vspace.C (asLatexCommand): use an explict temp variable.
10409
10410 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * Makefile.am: use FRONTEND_*
10413
10414 2002-03-01  Juergen Vigna  <jug@sad.it>
10415
10416         * tabular.C (SetWidthOfMulticolCell): changed to something better
10417         I hope but still work in progress.
10418         (recalculateMulticolumnsOfColumn): renamed function from
10419         recalculateMulticolCells as it is more appropriate now.
10420         (SetWidthOfCell): calculate multicols better.
10421
10422 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10425
10426         * lyxfunc.C (processKeySym): print sequence also if it is
10427         `deleted' (complete)
10428
10429         * kbsequence.C (print): print sequence even if it is deleted
10430         (complete would be a better word, actually).
10431
10432         * lyxfunc.C (dispatch): print complete options after a prefix key
10433
10434         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10435
10436 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10437
10438         * text2.C (setCharFont): eliminate setCharFont code duplication.
10439
10440 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10441
10442         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10443         LFUN_TABULAR_FEATURE (bug #177)
10444
10445 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10446
10447         * Makefile.am: remove figure.h
10448
10449 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * Bufferview_pimpl.C:
10452         * CutAndPasteC:
10453         * LaTeX.C:
10454         * LyXSendto.C:
10455         * buffer.C:
10456         * bufferlist.C:
10457         * converter.C:
10458         * language.C:
10459         * lyxfunc.C:
10460         * lyxvc.C:
10461         * paragraph.C:
10462         * text.C:
10463         * text2.C: remove #include "lyx_gui_misc.h".
10464
10465         * LaTeX.C: added #include <cstdio>
10466
10467 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10470         that the paragraph following this one can have.
10471
10472         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10473
10474         * vspace.C (asLatexCommand): fix bogus gcc warning
10475
10476         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10477
10478 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10479
10480         * text2.C (setLayout): get rid of redundant code
10481
10482 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10483
10484         * text2.C (incDepth): make sure depth cannot be increased beyond
10485         reasonable values.
10486
10487 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10488
10489         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10490         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10491
10492         * PainterBase.h (image):
10493         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10494         a LyXImage const *.
10495
10496 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * BufferView.C:
10499         * BufferView.h:
10500         * BufferView_pimpl.C:
10501         * BufferView_pimpl.h:
10502         * LaTeXFeatures.C:
10503         * LyXAction.C:
10504         * LyXView.C:
10505         * Makefile.am:
10506         * UpdateList.h:
10507         * UpdateList.C:
10508         * buffer.C:
10509         * figure.h:
10510         * figureForm.C:
10511         * figureForm.h:
10512         * figure_form.C:
10513         * figure_form.h:
10514         * lyx_cb.C:
10515         * lyx_gui.C:
10516         * lyx_gui_misc.C:
10517         * lyxfunc.C:
10518         * sp_base.h:
10519         * sp_ispell.h:
10520         * sp_pspell.h:
10521         * sp_spell.C: remove fig inset, and the crap house of
10522           cards that follows it
10523
10524 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * Makefile.am:
10527         * lyxserver.C:
10528         * os2_defines.h:
10529         * os2_errortable.h:
10530         * nt_defines.h: move .h into support/
10531
10532         * vms_defines.h: remove
10533
10534         * WorkArea.C: add space in debug output
10535
10536         * text2.C:
10537         * paragraph.C:
10538         * buffer.C: add WITH_WARNINGS
10539
10540         * vc-backend.h:
10541         * vc-backend.C:
10542         * bufferlist.C: s/retrive/retrieve/, add docs
10543
10544         * vspace.h:
10545         * vspace.C:
10546         * kbmap.h:
10547         * lyxlength.h:
10548         * lyxgluelength.h:
10549         * length_common.h:
10550         * chset.h:
10551         * chset.C: add docs
10552
10553         * lyxgui.C: add ID to X error handler
10554
10555         * lyxtestclass.c: fix typo
10556
10557 2002-02-26  Juergen Vigna  <jug@sad.it>
10558
10559         * tabular_funcs.C (write_attribute): changed so that some default
10560         attributes are not written at all.
10561         (getTokenValue): set default values before trying to read the
10562         value so we have the return value always set as default if we don't
10563         find the token we search for.
10564
10565         * tabular.C (Write): write bools as bools not as strings!
10566
10567 2002-02-22  Juergen Vigna  <jug@sad.it>
10568
10569         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10570         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10571
10572         * text.C (leftMargin): don't add an indent for paragraphs inside
10573         tabular cells (fix #208).
10574
10575 2002-02-21  José Matos  <jamatos@fep.up.pt>
10576
10577         * tabular.C (docBook): fixed support for long tables.
10578
10579 2002-02-20  Juergen Vigna  <jug@sad.it>
10580
10581         * text2.C (getFont): get the drawing font of the Inset if this
10582         paragraph is inside an inset (only important for InsetERT for now).
10583
10584         * buffer.C (insertErtContents): use new lanugage params in ERT
10585         constructor.
10586
10587         * CutAndPaste.C: commenting out seemingly uneeded code.
10588
10589 2002-02-19  Allan Rae  <rae@lyx.org>
10590
10591         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10592         Iterators might be simple to use but they also get invalidated.
10593         (removeAutoInsets): renamed saved cursor tracking variables and added
10594         some comments to clarify what everything does.
10595
10596 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10597
10598         * Chktex.C:
10599         * LaTeX.C:
10600         * LyXSendto.C:
10601         * converter.C:
10602         * lyx_cb.C:
10603         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10604         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10605
10606         * lyxfunc.C:
10607         * vc-backend.h: remove #include "support/syscall.h"
10608
10609         * LaTeX.C:
10610         * LyXSendto.C:
10611         * converter.C: rearrange #includes in Lars' approved fashion.
10612
10613         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10614         forward declare class Timeout in the header file.
10615
10616         * XFormsView.C: changes due to the above.
10617
10618         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10619         similar to LyXView.
10620
10621         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10622         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10623
10624 2002-02-18  José Matos  <jamatos@fep.up.pt>
10625
10626         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10627         insets contents.
10628
10629 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10630
10631         * a lot of small ws changes
10632         * add a lot of using std::XXX
10633         * use std construcs some places where approp.
10634         * use some exisint stuff from lyxfunctional where approp.
10635         * Make file changes to use partial linking (lets test this now...)
10636
10637 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10638
10639         * Chktex.C:
10640         * buffer.C:
10641         remove #include "support/syscontr.h" as it's redundant. Always has been.
10642
10643         * Chktex.C:
10644         * LaTeX.C:
10645         * LyXSendto.C:
10646         * converter.C:
10647         * lyx_cb.C:
10648         * vc-backend.C:
10649         change Systemcalls::System to Systemcalls::Wait and
10650         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10651         No change of functionality, just reflects the stripped down Systemcalls
10652         class.
10653
10654 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10655
10656         * debug.[Ch]: add a GRAPHICS type to the enum.
10657
10658 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10661
10662         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10663         there is an inset.
10664
10665 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10666
10667         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10668         match the changes below.
10669
10670         * text2.C (toggleInset): if there is not editable inset at cursor
10671         position, try to see if cursor is _inside_ a collapsable inset
10672         and close it.
10673
10674 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10677         document menu has a nice checkbox
10678
10679 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10680
10681         * lyxlength.C (asLatexString): change PW to output as percent of
10682         \textwidth.
10683
10684         * lengthcommon.C: change '%' to 't%'
10685
10686         * lyxfunc.C (dispatch): a few comments from Martin
10687
10688 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * WorkArea.h:
10691         * WorkArea.C:
10692         * BufferView_pimpl.h:
10693         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10694           the X selection.
10695
10696 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * vspace.C (inPixels): fix compiler warning
10699
10700 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * lyxfunc.C (getStatus): fix status message for disabled commands.
10703
10704 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * BufferView_pimpl.C: fix crash on close buffer
10707         during selection (#227)
10708
10709 2002-01-27  Herbert Voss  <voss@lyx.org>
10710
10711         * buffer.C: link old Figure to new graphic inset
10712
10713 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10714
10715         * FontLoader.C (getFontinfo): Change the latex font names in order
10716         to match the names of type1inst.
10717
10718 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10721
10722         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10723         (extchanged): ditto
10724         (ext_exist): ditto
10725         (remove_files_with_extension): ditto
10726         (remove_file): ditto
10727         (write): ditto
10728
10729         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10730         document is smaller than the work area height. Do not initialize
10731         static variables to 0.
10732
10733 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10734
10735         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10736
10737         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10738         LFUN_LAYOUT_PARAGRAPHS.
10739
10740         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10741         tabular. It is possible to provide a possible cell, which will
10742         typically be the actcell from the corresponding insettabular
10743
10744         * lyxfunc.C (getStatus): small cleanup; disable
10745         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10746         true
10747
10748 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10749
10750         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10751
10752         * paragraph.C (startTeXParParams):
10753         (endTeXParParams): new methods. The LaTeX code to
10754         start/end paragraph formatting
10755         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10756         empty (fixes bug #200)
10757
10758         * vspace.C (inPixels): adapt to the change below
10759         (inPixels): [later] more cleanups (remove unused variables)
10760
10761         * lyxlength.C (inPixels): change to use a width and a height as
10762         parameter.
10763
10764 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10765
10766         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10767         Replaced with \paperwidth
10768
10769         * DepTable.C (insert): add std:: qualifier
10770
10771 2002-01-18  Allan Rae  <rae@lyx.org>
10772
10773         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10774         updated also?
10775
10776         * text.C (drawInset): Turned out I didn't know enough about how
10777         rebreaking worked.  This fixes most of the redraw problems.  I see
10778         an occasional cursor trail when a line is broken now and the cursor
10779         placement can seem out by a few pixels also after a rebreak.
10780
10781 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10782
10783         * buffer.C (parseSingleLyXformat2Token): update because minipage
10784         width is now a LyXLength
10785
10786         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10787
10788         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10789         math insets
10790
10791 2002-01-17  Juergen Vigna  <jug@sad.it>
10792
10793         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10794
10795         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10796         is set correctly and the inset is updated correctly.
10797
10798 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10801         the beginning of the loop.
10802
10803 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * lyxrc.C: improve help for use_scalable_fonts
10806
10807 2002-01-17  Allan Rae  <rae@lyx.org>
10808
10809         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10810
10811 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10812
10813         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10814         make sure to set their inset_owner to the right value (bug #171)
10815
10816 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10817
10818         * DepTable.h
10819         * DepTable.C: Implement mtime checking to reduce time spent doing
10820         CRCs.
10821
10822 2002-01-16  Juergen Vigna  <jug@sad.it>
10823
10824         * tabular.C (GetAdditionalHeight): one of error fixed.
10825
10826         * lyxrc.C (output): small fix in writing use_pspell.
10827
10828 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10829
10830         * sp_base.h: #include LString.h
10831
10832 2002-01-16  Allan Rae  <rae@lyx.org>
10833
10834         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10835         Can someone check this please?
10836
10837         * text.C (drawInset): It was possible that p.row would be removed by
10838         breakAgainOneRow upsetting a few other settings.  There may be another
10839         small tweak possible by setting need_break_row = 0 when p.row has been
10840         removed but I don't know enough about the logic here.
10841
10842 2002-01-15  Allan Rae  <rae@lyx.org>
10843
10844         * text.C (insertChar): removed conditional truism.
10845
10846         * BufferView2.C (removeAutoInsets): More tweaks.
10847         cur_par_prev could be a stray pointer.  Check for trailing empty line
10848         in case last line was cur_par and only had an error inset on it.
10849
10850 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10851
10852         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10853         absolute
10854
10855         * vc-backend.C (most methods):
10856         * exporter.C (Export):
10857         * converter.C (convert):
10858         (runLaTeX):
10859         * LyXSendto.C (SendtoApplyCB):
10860         * lyxfunc.C (dispatch):
10861         (menuNew):
10862         (open):
10863         (doImport):
10864         * lyx_cb.C (AutoSave):
10865         (InsertAsciiFile):
10866         * BufferView_pimpl.C (MenuInsertLyXFile):
10867         * buffer.C (runChktex): use Buffer::filePath().
10868
10869         * buffer.h: rename filename to filename_; rename filepath to
10870         filepath_ and make it private
10871         (filePath): new method
10872
10873         * buffer.C (writeFile): use fileName()
10874         (getLatexName):
10875
10876         * lyx_main.C (init): fix starting  of LyX when the binary is a
10877         link from so,ewhere else.
10878
10879         * minibuffer.C: include <cctype> for isprint
10880
10881 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10882
10883         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10884         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10885         name clash with InsetCollapsable's width function.
10886
10887 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * lastfiles.C: include <iterator>
10890
10891 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10892
10893         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10894         std::count.
10895
10896         * buffer.C (makeLaTeXFile): ditto.
10897         Also make loop operation more transparent.
10898
10899 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10900
10901         * ToolbarDefaults.C: remove trailing comma closing namespace.
10902
10903         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10904
10905         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10906         as in WorkArea.
10907
10908         * trans.C (Load): comment out unused variable, allowed.
10909
10910 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10911
10912         * minibuffer.[Ch] (append_char): new method to recieve input from the
10913         drop-down completion browser. If a key was pressed, then recieve this
10914         char and append it to the existing string.
10915         (peek_event): modify the positioning data passed to the completion
10916         browser so that it can be placed above the minibuffer rather than below.
10917 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * LyXAction.C (init): alloe error-next for readonly documents.
10920
10921         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10922         count.
10923
10924 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10925
10926         * bufferlist.C (readFile): create the buffer _after_ checking that
10927         the file exists.
10928
10929         * lyxfunc.C (verboseDispatch): fix handling of arguments
10930
10931         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10932
10933         * lyxrc.C: use string::erase() instead of initializing to "".
10934
10935
10936 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * BufferView_pimpl.h:
10939         * BufferView_pimpl.C:
10940         * WorkArea.h:
10941         * WorkArea.C:
10942         * text2.C: tell X when we have made a selection for copying
10943
10944 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10945
10946         * BufferView_pimpl.C (MenuInsertLyXFile):
10947         * lyxfunc.C (menuNew):
10948         (open):
10949         (doImport): add shortcuts to directory buttons
10950
10951         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10952         open a float)
10953
10954         * lyxfunc.C (setStatusMessage):
10955         (getStatusMessage): new methods
10956         (getStatus):use setStatusMessage instead of setErrorMessage
10957         (dispatch): when function is disabled, set error message here
10958         [instead of in getStatus previously]
10959
10960         * BufferView_pimpl.C (workAreaButtonRelease): update
10961         toolbar/menubar here too.
10962
10963 2002-01-13  Allan Rae  <rae@lyx.org>
10964
10965         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10966         Now seems indestructible.  Remaining task is to audit all other
10967         code affected by deleteEmptyParagraphMechanism.  One small quirk
10968         left is that an empty document with an error in the preamble can
10969         be made to report an error but no error box appears.  I don't know
10970         where it goes.
10971         (removeAutoInsets): Improved comments.
10972
10973 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * Thesaurus.h:
10976         * Thesaurus.C: update for Aiksaurus 0.14
10977
10978 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10979
10980         * text2.C (firstParagraph): removed member function, all uses
10981         replaces with ownerParagraph
10982         (redoParagraphs): here
10983         (updateInset): here
10984         (toggleAppendix): here
10985         * BufferView2.C (insertErrors): here
10986         (setCursorFromRow): here
10987
10988 2002-01-13  Allan Rae  <rae@lyx.org>
10989
10990         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10991         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10992         There is still a way to segfault this although you may have to do this
10993         multiple times: Have an InsetERT with an unknown command in it.
10994         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10995         <down-arrow>, <Enter> again, View->DVI, BANG!
10996
10997         * text2.C (setCursor):
10998         (deleteEmptyParagraphMechanism):
10999         * lyxtext.h (setCursor):
11000         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11001         Making use of the return value may help fix other bugs.
11002
11003 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11004
11005         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11006
11007         * LyXView.C (updateMenubar): call MenuBar::update here
11008         (updateToolbar): but not here
11009         (showState): do not update toolbar/menubar
11010
11011         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11012         should need to care about that.
11013
11014         * lyxfunc.C (verboseDispatch): simplify a bit
11015         (getStatus): have a version which takes a pseudoaction, and
11016         another which requires a (kb_action,string).
11017
11018         * LyXAction.C (retrieveActionArg): make it work also when action
11019         is not a pseudo-action.
11020         (getActionName): simplify a bit
11021         (helpText):
11022
11023 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11024
11025         * lyxfunc.C (verboseDispatch): new families of methods with
11026         several ways to specify a command and a bool to indicate whether
11027         the command name and shortcut should be displayed in minibuffer
11028         (eventually, we could extend that to a finer bitmask like
11029         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11030         (dispatch): the pristine dispatch command which just, well,
11031         dispatchs! Note it still sets its result to minibuffer; I'm not
11032         sure we want that.
11033
11034         * lyxfunc.h: remove setHintMessage
11035
11036         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11037
11038 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * BufferView_pimpl.C (specialChar): delete new inset if we have
11041         not been able to insert it.
11042
11043         * kbmap.C: revert to using int instead of kb_action, since all we
11044         are dealing with is pseudo-actions.
11045
11046         * LyXAction.C (searchActionArg): change to return int instead of
11047         kb_action, since the result is a pseudoaction.
11048
11049 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11050
11051         * buffer.C (insertErtContents): Fix (partially) the font bug.
11052
11053 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11054
11055         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11056         as the other one is broken on my machine!
11057
11058 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11059
11060         * commandtags.h:
11061         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11062
11063 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11064
11065         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11066         reflect their actual use. Provide compatibility code for older lyxrc
11067         files.
11068
11069         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11070         FL_NORMAL_STYLE.
11071         change names of popup font variables in line with the changes to lyxrc.C
11072
11073 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * buffer.C (asciiParagraph): avoid outputing a word twice after
11076         an inset.
11077
11078         * lyxrc.C (getDescription): document that document_path and
11079         template_path can be empty.
11080
11081 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * LaTeXFeatures.C (getMacros):
11084         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11085
11086         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11087
11088         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11089         getPackages.
11090         (getPackages): rename feature "floats" to "float". Use an array to
11091         iterate over 'simple' features (i.e. just a \usepackage). Add
11092         handling of "amsmath" (renamed from "amsstyle").
11093
11094 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11095
11096         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11097         features list.
11098
11099 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11100
11101         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11102         FuncStaus::FuncStatus & FuncStaus::some_method().
11103
11104 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11105
11106         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11107         of the func_satus stuff. Edited and massaged in various ways by
11108         JMarc.
11109
11110         * lyxfunc.C (getStatus): use FuncStatus
11111
11112 2002-01-08  Juergen Vigna  <jug@sad.it>
11113
11114         * text.C (nextBreakPoint): use function Inset::isChar().
11115
11116         * paragraph.C (TeXOnePar): use function
11117         Inset::forceDefaultParagraphs.
11118
11119         * buffer.C (latexParagraphs): use function
11120         Inset::forceDefaultParagraphs.
11121
11122 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11123
11124         * lyx_gui.C (init): set the style of the menu popups to
11125         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11126
11127 2002-01-07  Juergen Vigna  <jug@sad.it>
11128
11129         * text.C (setHeightOfRow): small fix
11130         (prepareToPrint): don't look at alignment if we don't have the place
11131         for doing it.
11132
11133 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11134
11135         * box.C: New file. Move the Box methods and functions out of box.h,
11136         following Lars' suggestion.
11137
11138 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11139
11140         * box.h: #include "support/LOstream.h", needed for inlined function.
11141
11142         * lyxtextclass.C:
11143         * lyxtextclasslist.C: added some using std declarations.
11144
11145 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * box.h: make signed dimensions to allow insets wider than
11148           the screen (bug #162)
11149
11150         * BufferView_pimpl.C: add some insetHit debug
11151
11152 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11153
11154         * vc-backend.C: add FIXME
11155
11156 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11157
11158         * lyxfunc.C (getStatus): enable code for showing math font status
11159         in toolbar/menu.
11160
11161 2002-01-07  Juergen Vigna  <jug@sad.it>
11162
11163         * text.C (nextBreakPoint): removed debug output not needed anymore.
11164
11165 2002-01-06  Juergen Vigna  <jug@sad.it>
11166
11167         * text.C (nextBreakPoint): fixed up this function we had this bug
11168         since ever but now hopefully we break row better.
11169         (insertChar): we have to check if an inset is the next char as it
11170         could now happen that a large inset is causing a break.
11171
11172 2002-01-05  Juergen Vigna  <jug@sad.it>
11173
11174         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11175         if it doesn't like to be drawed.
11176
11177 2002-01-04  Juergen Vigna  <jug@sad.it>
11178
11179         * BufferView2.C (lockInset): forgot to set a cursor.
11180
11181         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11182
11183 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11184
11185         * FormMathsPanel.C:
11186         * FormMathsPanel.h
11187         * MathsSymbols.C:
11188         * form_maths_panel.C:
11189         * form_maths_panel.h:
11190         * form_maths_panel.fd: implemented sub- and super- buttons in math
11191         panel.
11192
11193         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11194         (or ^ space) to be used as in TeX (req'd by André).
11195
11196         * lyxfunc.C: Allow ^ and _ again to be used both as
11197         super/subscript (mathed) and as themselves (in text).
11198
11199 2002-01-03  Allan Rae  <rae@lyx.org>
11200
11201         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11202         "LyX" or the filename of the current buffer if it has one.  This is a
11203         modified form of John Levon's patch.
11204
11205         * XFormsView.C (setWindowTitle): also set icon title.
11206
11207         * LyXView.h (setWindowTitle): signature changed.
11208         * XFormsView.h (setWindowTitle): ditto.
11209
11210 2002-01-02  Juergen Vigna  <jug@sad.it>
11211
11212         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11213
11214 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11215
11216         * screen.C (topCursorVisible): introduce a temp var for
11217         text->cursor.row(), handle the case where this row is null. (kindo
11218         hachish)
11219
11220         * text2.C (setCursor): add a couple of asserts.
11221
11222         * paragraph.h (inset_iterator): add -> operator
11223
11224         * paragraph.[Ch] (autoDeleteInsets): remove member function
11225
11226         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11227         cursor pos correctly and handle inset deletion by itself.
11228         (insertErrors): move iterator declaration out of for expression
11229
11230         * lyxtextclass.C: add <algorithm>
11231
11232         * Makefile.am: added the new files to sources, removed layout.C
11233
11234         * layout.C: removed file
11235
11236         * layout.h: remove LYX_DUMMY_LAYOUT
11237
11238         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11239         layout.
11240
11241         * lyxlayout.[Ch]:
11242         * lyxtextclass.[Ch]:
11243         * lyxtextclasslist.[Ch]: new files
11244
11245         * include order changes to a lot of files, also changes because of
11246         the six new files.
11247
11248 2001-12-27  Juergen Vigna  <jug@sad.it>
11249
11250         * buffer.C (asciiParagraph): more fixes.
11251
11252         * tabular.C (ascii): make ascii export support export of only the
11253         data separated by a column-delimiter.
11254         (ascii): better support for ascii export.
11255
11256         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11257
11258 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11259
11260         * tabular_funcs.C: use a "using std::getline" instead of the
11261         previous fix from Angus (necessary for cxx + lyxstring)
11262
11263 2001-12-24  Juergen Vigna  <jug@sad.it>
11264
11265         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11266
11267         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11268         problems. First check a minipage also if we have some ert-contents
11269         (not only on par->size(), second set the right depth of the paragraph
11270         on the relink to the root-paragraph-list!
11271
11272         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11273         which then did not anymore update the main paragraphs on undo/redo!
11274
11275 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11276
11277         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11278         code. Support all font-changing funcs (even those which are not in
11279         menu currently). Support for reporting font settings in
11280         mathed (disabled until Andre provides a function on mathed's side).
11281
11282         * func_status.h (toggle): small helper function to set toggle
11283         state on a flag.
11284
11285 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11286
11287         * tabular_funcs.C: getline -> std::getline
11288
11289 2001-12-21  Juergen Vigna  <jug@sad.it>
11290
11291         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11292         accessed and could be 0 (I couldn't generate this but it seems
11293         Michael could!).
11294
11295 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11298         * tabular_funcs.h: here and include iosfwd
11299
11300 2001-12-20  Juergen Vigna  <jug@sad.it>
11301
11302         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11303         inside inset but undo_par was.
11304
11305 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * Thesaurus.C: always include <config.h> in sources.
11308
11309         * Painter.h:
11310         * lyxlookup.h:
11311         * box.h: do not include <config.h> in header files
11312
11313         * text.C (paintLastRow): remove unused variable
11314
11315         * text.C (transformChar):
11316         (insertChar):
11317         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11318
11319         * Painter.C (text):
11320         * font.C (width): rewrite to use uppercase() instead of
11321         islower/toupper.
11322
11323         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11324
11325 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11326
11327         * lyxfind.C: clean up of find failure position change
11328
11329 2001-12-20  Juergen Vigna  <jug@sad.it>
11330
11331         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11332
11333         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11334         (TeXRow): added to LaTeX a single tabular row.
11335         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11336         (Latex): simplified and finally good LT-h/f support.
11337         (various_functions): just small adaptions for LT-h/f support.
11338
11339         * tabular_funcs.[hC]: added and moved here all not classfunctions
11340         of LyXTabular.
11341
11342 2001-12-19  Juergen Vigna  <jug@sad.it>
11343
11344         * tabular.[Ch]: better support for longtabular options (not finished
11345         yet!)
11346
11347 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11348
11349         * text.C (paintLastRow): use the label font instead of the font of
11350         the last character to compute the size of *_BOX. This makes more
11351         sense and avoids a crash with empty paragraphs.
11352         Use Painter::rectangle to draw EMPTY_BOX.
11353
11354 2001-12-19  Juergen Vigna  <jug@sad.it>
11355
11356         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11357         the paragraphs if the replaced paragraph is not the first one!
11358         Tried to delete not used paragraphs but does not work yet so for
11359         now it's inside #ifdef's and by default off!
11360
11361 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * MenuBackend.C: include "lyx_main.h" instead of declaring
11364         lastfiles (actually was declared as LastFiles* instead of a
11365         scoped_ptr).
11366
11367 2001-12-17  Juergen Vigna  <jug@sad.it>
11368
11369         * tabular.C (AppendColumn): applied John's fix
11370
11371 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * BufferView.h:
11374         * BufferView.C:
11375         * BufferView_pimpl.h:
11376         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11377
11378         * Makefile.am:
11379         * box.h: new start of class for above
11380
11381         * lyxfunc.C: ignore space-only minibuffer dispatches.
11382           Show the command name when it doesn't exist
11383
11384         * minibuffer.C: don't add empty lines to the history
11385
11386         * minibuffer.C: add a space on dropdown completion
11387
11388 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * text.C: fix line above/below drawing in insets
11391
11392 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11393
11394         * lyxlength.C (LyXLength): Initialize private variables.
11395
11396 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11397
11398         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11399         when inserting error insets.
11400
11401 2001-12-13  Juergen Vigna  <jug@sad.it>
11402
11403         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11404         actually sometimes the before-paragraph.
11405         (setUndo): don't clear the redostack if we're not actually undoing!
11406
11407 2001-12-06  Juergen Vigna  <jug@sad.it>
11408
11409         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11410         and fixed redoing of main paragraph, so we can use it now ;)
11411
11412         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11413
11414 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11417         Juergen's request
11418
11419 2001-12-13  André Pönitz <poenitz@gmx.net>
11420
11421         * undostack.[Ch]:
11422         * undo_func.C: minor cleanup
11423
11424 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11427         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11428         font in urw-fonts package which is marked as -urw-fontspecific and
11429         does not work (incidentally, changing the encoding in the
11430         fonts.dir of this package to -adobe-fontspecific fixes the
11431         problem).
11432
11433         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11434         is a crash when undoing first paragraph (Juergen, please take a
11435         look). THis does not mean the undo fix is wrong, just that it
11436         uncovers problems.
11437
11438         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11439         the (Paragraph*) version when needed instead of duplicating the
11440         code.
11441
11442         * text.C (workWidth): use Inset::parOwner to find out where the
11443         inset has been inserted. This is a huge performance gain for large
11444         documents with lots of insets. If Inset::parOwner is not set, fall
11445         back on the brute force method
11446
11447         * paragraph_pimpl.C (insertInset):
11448         * paragraph.C (Paragraph):
11449         (cutIntoMinibuffer): set parOwner of insets when
11450         inserting/removing them
11451
11452         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11453
11454 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11455
11456         * commandtags.h:
11457         * LyXAction.C:
11458         * lyx_main.C:
11459         * lyxfunc.C:
11460         * mathed/formulabase.C:
11461         * mathed/math_cursor.[Ch]:
11462         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11463
11464
11465 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * lyxlength.[Ch] (operator!=): new function
11468
11469 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11470
11471         * text.C (workWidth): use Inset::parOwner to find out where the
11472         inset has been inserted. This is a huge performance gain for large
11473         documents with lots of insets. If Inset::parOwner is not set, fall
11474         back on the brute force method
11475
11476         * paragraph_pimpl.C (insertInset):
11477         * paragraph.C (Paragraph):
11478         (cutIntoMinibuffer): set parOwner of insets when
11479         inserting/removing them
11480
11481         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11482
11483 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11484
11485         * tabular-old.C (getTokenValue):
11486         * tabular.C (getTokenValue):
11487         (write_attribute): new versions for LyXLength
11488         (everywhere): adjust the use of widths
11489
11490         * tabular.h: change the type of widths from string to LyXLength
11491
11492 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11493
11494         * paragraph.C: fixed missing line number count when exporting
11495         Environments to LaTeX file
11496
11497         * buffer.C: added informational message for checking line numbers.
11498
11499 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11500
11501         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11502         paragraph, do the 'double space' part, but not the 'empty
11503         paragraph' one.
11504
11505         * text.C (workWidth): small optimization
11506         (getLengthMarkerHeight): use minimal size for negative lengths.
11507
11508 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11511
11512         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11513
11514 2001-12-11  André Pönitz <poenitz@gmx.net>
11515
11516         * FontLoader.C:
11517         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11518
11519 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * text2.C: keep selection on a setFont()
11522
11523 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * lyx_cb.C: another bv->text misuse, from insert label
11526
11527 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11528
11529         * kbsequence.h:
11530         * kbsequence.C: re-instate nmodifier mask
11531
11532 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11533
11534         * lyx_main.h: make lyxGUI private.
11535
11536 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11537
11538         * lyxfind.C: place the cursor correctly on failed search
11539
11540 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11541
11542         * text.C (getLengthMarkerHeight): for small heights, the arrows
11543         are not always on top/bottom of the text
11544         (drawLengthMarker): smaller arrows; take the left margin in
11545         account; draw also vfills.
11546         (paintFirstRow):
11547         (paintLastRow): remove special code for vfill and standard spaces,
11548         since everything is handled in drawLengthMarker now.
11549
11550 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * buffer.C (insertErtContents): try to handle font and language
11553         interaction a bit better.g
11554
11555         * ColorHandler.C (updateColor): change the hash to cover the whole
11556         LColor enum, ws cleanup
11557         (getGCLinepars): ditto
11558         (getGCLinepars): only lookup in the linecache once.
11559
11560 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11561
11562         * iterators.C (operator++): Make the iterator more robust
11563
11564         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11565         (John's patch)
11566         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11567
11568 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * lyxtext.h:
11571         * text.C: better added space drawing
11572
11573 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11574
11575         * LyXView.C:
11576         * BufferView2.C: fix layout combo update on inset unlock
11577
11578 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * Makefile.am: don't compile unused files
11581
11582 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11583
11584         * lyxfunc.C:
11585         * commandtags.h:
11586         * LyXAction.C: remove old LFUN_LAYOUTNO
11587
11588 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * paragraph_pimpl.h:
11591         * paragraph_pimpl.C: isTextAt() doesn't need font param
11592
11593 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * lyxlex.h:
11596         * lyxlex.C: little cleanup
11597
11598 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * BufferView_pimpl.C: fix insertAscii for insets
11601
11602 2001-12-05  Juergen Vigna  <jug@sad.it>
11603
11604         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11605         set the right font on the "multi" paragraph paste!
11606
11607 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * trans_decl.h:
11610         * trans_mgr.[Ch]:
11611         * trans.[Ch]:
11612         * lyxgluelength.C:
11613         * lyxlength.C: remove out-commented code.
11614
11615         * BufferView_pimpl:
11616         * CutAndPaste.C:
11617         * DepTable.C:
11618         * buffer.C:
11619         * chset.C:
11620         * lastfiles.C:
11621         * lyxlex.C:
11622         * lyxlex_pimpl.C:
11623         * lyxserver.C:
11624         * screen.C:
11625         * tabular-old.C:
11626         * tabular.C:
11627         * text.C:
11628         * trans_mgr.C:
11629         * vc-backend.C: change "while(" to "while ("
11630
11631         * lyxlength.[Ch]: add zero function to check if length is zero or
11632         not
11633         * lyxgluelength.C: use it
11634
11635 2001-12-05  Allan Rae  <rae@lyx.org>
11636
11637         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11638         Works for 2.95.3, from what I understand of Garst's reports this should
11639         work for other g++ versions.  We're screwed if the abs(int) definition
11640         changed between bugfix releases of gcc.
11641
11642 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * text.C: fix chapter label offset !
11645
11646 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * lyxtext.h:
11649         * text.C: fix hfill at end of line, clean up
11650
11651 2001-12-04  Juergen Vigna  <jug@sad.it>
11652
11653         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11654         that we force an update of the inset and it's owners if neccessary.
11655
11656 2001-12-03  Juergen Vigna  <jug@sad.it>
11657
11658         * text.C (rowLast): simplified code
11659
11660 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * lyxfunc.C: fix show options on timeout
11663
11664 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * screen.C (topCursorVisible): scroll half a page when the cursor
11667         reached top of bottom of screen
11668
11669 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * minibuffer.C: deactivate on loss of focus
11672
11673 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11674
11675         * vspace.[Ch] (operator!=): add operator.
11676
11677 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * BufferView_pimpl.C: refuse to open an inset when
11680         there's a selection.
11681
11682 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * BufferView_pimpl.C: allow to click on RHS of full row insets
11685
11686 2001-11-30  Juergen Vigna  <jug@sad.it>
11687
11688         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11689         insets for undo reasons.
11690
11691 2001-11-28  André Pönitz <poenitz@gmx.net>
11692
11693         * vspace.[Ch]: cosmetical changes
11694
11695 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11696
11697         * LyXAction.h:
11698         * LyXAction.C:
11699         * lyxfunc.h:
11700         * lyxfunc.C:
11701         * kbmap.h:
11702         * kbmap.C:
11703         * lyxrc.C:
11704         * kbsequence.h:
11705         * kbsequence.C: part re-write of old kb code
11706
11707         * Painter.C:
11708         * WorkArea.C: remove Lgb_bug_find_hack
11709
11710 2001-11-30  José Matos <jamatos@fep.up.pt>
11711
11712         * buffer.C (makeDocBookFile): add a comment to point a hack.
11713         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11714         Fixed a double write of labels.
11715
11716 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11717
11718         * LaTeX.C:
11719         * LaTeX.h Fixed bug in LaTeX class where it would not
11720         re-run latex if no depfiles were changed, but the .dvi was removed.
11721
11722 2001-11-28  André Pönitz <poenitz@gmx.net>
11723
11724         * all the files from the change on 2001/11/26:
11725         use lyx::layout_type instead of LyXTextClass::size_type
11726         use lyx::textclass_type instead of LyXTextClassList::size_type
11727
11728 2001-11-29  Juergen Vigna  <jug@sad.it>
11729
11730         * text.C: added support for paragraph::isFreeSpacing()
11731
11732         * buffer.C: same as above
11733
11734         * paragraph.h: inserted isFreeSpacing() function to enable
11735         FreeSpacing inside InsetERT.
11736
11737         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11738         of the paragraph's in the cut/copy buffer to 0!
11739
11740         * text2.C (removeRow): remove the assert as it can!
11741
11742         * lyxtext.h: added helper function firstRow returning firstrow and
11743         made firstrow private again.
11744
11745         * BufferView2.C (lockInset): don't relock if we're already locked!
11746
11747         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11748         the only paragraph.
11749         (removeRow): added Assert::(firstrow)
11750
11751         * debug.C: forgot to add INSETTEXT here.
11752
11753 2001-11-28  Juergen Vigna  <jug@sad.it>
11754
11755         * sp_spell.C (initialize): changed error text to more general
11756         spellchecker command use (not only ispell!)
11757
11758         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11759
11760         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11761
11762 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * vspace.C: initialise lyxgluelength on failure
11765
11766 2001-11-28  Allan Rae  <rae@lyx.org>
11767
11768         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11769         declaration & definition that looks like a function declaration.
11770
11771 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * BufferView2.C (copy):
11774         (copyEnvironment): do not clear the selection when doing a copy.
11775
11776         * text.C (paintFirstRow): compilation fix
11777
11778 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11779
11780         * tabular.C (Latex): correct line count when writing latex.
11781
11782 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * paragraph_pimpl.h:
11785         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11786           bug a bit
11787
11788 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * text.C:
11791         * LColor.h:
11792         * LColor.C: change vfillline->added_space
11793
11794         * text.C: add markers and text for added space
11795
11796         * vspace.C: fix comment
11797
11798 2001-11-28  André Pönitz <poenitz@gmx.net>
11799
11800         * paragraph.C: whitespace changes
11801         * all the other files from the change on 2001/11/26:
11802         change *::pos_type into lyx::pos_type
11803
11804 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11805
11806         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11807         language of the document when inserting error insets.
11808
11809 2001-11-26  André Pönitz <poenitz@gmx.net>
11810
11811         * BufferView_pimpl.[Ch]:
11812         *       CutAndPaste.C:
11813         * buffer.[Ch]:
11814         * lyxcursor.[Ch]:
11815         * lyxfind.C:
11816         * lyxfunc.C:
11817         * lyxrow.[Ch]:
11818         * paragraph.[Ch]:
11819         * paragraph_pimpl.[Ch]:
11820         * sp_spell.C:
11821         * text.C:
11822         * text2.C: reduce header dependencies, introduce type for positions
11823
11824 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * <various>: change to use Alert.h
11827
11828 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11829
11830         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11831         when encountering an unknown token.
11832         (readLyXformat2): Show an error message if there were unknown tokens.
11833
11834 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * BufferView2.C:
11837         * BufferView_pimpl.C:
11838         * buffer.C:
11839         * paragraph.h:
11840         * text.C:
11841         * text2.C: use par->isInset()
11842
11843 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * paragraph_pimpl.h:
11846         * paragraph_pimpl.C: cleanup
11847
11848 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11849
11850         * text2.C (removeRow):
11851         * text.C (setHeightOfRow): remove useless (and costly) call to
11852         getRow.
11853
11854 2001-11-20  Allan Rae  <rae@lyx.org>
11855
11856         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11857         Now need Inset*::checkInsertChar() to return true for appropriate
11858         cases so that the characters in the minibuffer will actually be
11859         inserted.
11860
11861 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * text.C: change the order of the includes.
11864         (workWidth): initialize it at once.
11865         (workWidth): make maxw unsigned
11866         (setHeightOfRow): remove unused variable (inset)
11867         (selectSelectedWord): remove unused variable (inset)
11868         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11869
11870 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11871
11872         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11873         server is not running.
11874         (openConnection):
11875         (closeConnection): add debug info when server is disabled.
11876
11877         * ColorHandler.C (getGCForeground): send debug message to GUI
11878         channel.
11879
11880         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11881
11882         * kbmap.C (bind): modify because return conventions of
11883         kb_sequence::parse have changed.
11884
11885         * kbsequence.C (parse): only ignore spaces and not any stupid
11886         control character. This avoids tests like s[i] <= ' ', which are
11887         guaranteed to fail with 8bit characters and signed chars.
11888         Change return code to string::npos when there have been no error
11889         (0 was a bad idea when error is at first character)
11890
11891 2001-11-14  José Matos  <jamatos@fep.up.pt>
11892
11893         * buffer.h:
11894         * buffer.C (simpleDocBookOnePar): removed unused argument.
11895
11896 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11899         insets which are part of a word. Paragraph::isLetter takes care of
11900         that now. Use Paragraph::isInset to identify insets.
11901         (selectSelectedWord): do not test for hyphenation break.
11902
11903         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11904         that protected spaces are considered as spaces.
11905
11906         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11907         Inset::isLetter.
11908
11909 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * lyxserver.h:
11912         * lyxserver.C: fix it. and small cleanup.
11913
11914 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * BufferView_pimpl.C: use inline helpers
11917
11918         * LaTeXFeatures.h:
11919         * LaTeXFeatures.C: fix typos
11920
11921         * Spacing.h:
11922         * Spacing.C: move spacing_string into class
11923
11924         * ToolbarDefaults.C: move stuff into namespace anon
11925
11926         * layout.h: update enum
11927
11928         * lyxfunc.C: use better debug
11929
11930         * minibuffer.h: fix typo
11931
11932         * debug.h:
11933         * debug.C:
11934         * WorkArea.C: add and use Debug::WORKAREA
11935
11936         * lyxtext.h:
11937         * text.C:
11938         * text2.C: code re-organisation, inline helpers
11939
11940 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11941
11942         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11943         std::vector.empty().
11944
11945 2001-11-09  Allan Rae  <rae@lyx.org>
11946
11947         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11948         '\n's after tables.  Tabular and ERT inset work now makes this no
11949         longer necessary.
11950
11951 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * minibuffer.h:
11954         * minibuffer.C: fix crash, improve drop-down completion
11955
11956 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * lyxserver.h:
11959         * lyxserver.C: invalidate fd's when doing endPipe()
11960
11961 2001-11-08  José Matos  <jamatos@fep.up.pt>
11962
11963         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11964         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11965
11966         * paragraph.h:
11967         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11968
11969 2001-11-07  José Matos  <jamatos@fep.up.pt>
11970
11971         * buffer.h:
11972         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11973         const qualifier.
11974
11975         * buffer.C (sgmlOpenTag):
11976         * buffer.C (sgmlCloseTag): removed debug info.
11977
11978         * buffer.h (sgmlOpenTag):
11979         * buffer.h (sgmlCloseTag): made public.
11980
11981 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11982
11983         * buffer.C (saveParamsAsDefaults):
11984         * lyx_cb.C (MenuLayoutSave): remove
11985
11986         * LyXAction.C (init):
11987         * commandtags.h:
11988         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11989
11990 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11991
11992         * buffer.C (setPaperStuff): removed from here...
11993
11994         * bufferparams.C (setPaperStuff): ... and moved there.
11995
11996 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * minibuffer.h:
11999         * minibuffer.C:
12000         * XFormsView.C: add support for drop-down completion
12001
12002 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12003
12004         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12005         commands.
12006
12007 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12008
12009         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12010         disabled.
12011
12012 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * lyx_main.C: change ref to known bugs
12015
12016 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12017
12018         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12019         to work around older babel problems.
12020
12021 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12022
12023         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12024
12025 2001-10-24  Juergen Vigna  <jug@sad.it>
12026
12027         * tabular-old.C (ReadOld): below variable changes reflected.
12028
12029         * tabular.[Ch]: added ltType struct for longtable header/footer
12030         defines and changed all instances where they are used. Added
12031         future support for double top/bottom rows.
12032
12033 2001-10-24  José Matos  <jamatos@fep.up.pt>
12034
12035         * buffer.h (docbookHandleCaption):
12036         * buffer.C (docbookHandleCaption): removed unused function.
12037         (makeDocBookFile): moved docbook supported version to v4.1.
12038
12039 2001-10-24  José Matos  <jamatos@fep.up.pt>
12040
12041         * tabular.h:
12042         * tabular.C (docbookRow): new function to export docbook code of a row.
12043         (DocBook): now honors the longtable flags.
12044
12045 2001-10-23  José Matos  <jamatos@fep.up.pt>
12046
12047         * LaTeXFeatures.h:
12048         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12049         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12050
12051         * buffer.C (makeLinuxDocFile):
12052         (makeDocBookFile): reworked the preamble, more clean, and with
12053         support for lyx defined entities. Changed the document declaration
12054         to be more XML friendly.
12055
12056         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12057         if we need to output XML that should be done with a filter.
12058
12059 2001-10-22  Juergen Vigna  <jug@sad.it>
12060
12061         * sp_pspell.h (class PSpell): add alive function needed in the
12062         controller to see if the spellchecker could be started.
12063
12064 2001-10-22  Juergen Vigna  <jug@sad.it>
12065
12066         * buffer.C (insertStringAsLines): modify the font for inserting
12067         chars in certain conditions by calling checkInsertChar(font).
12068
12069 2001-10-19  Juergen Vigna  <jug@sad.it>
12070
12071         * text.C (workWidth): use getRow instead of wrong algorithm.
12072         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12073
12074 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * lyxserver.h:
12077         * lyxserver.C:
12078         * lyx_main.h:
12079         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12080
12081 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12082
12083         * text.C (workWidth): do not search for the exact row when
12084         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12085         optimization for big documents.
12086
12087 2001-10-18  Juergen Vigna  <jug@sad.it>
12088
12089         * text.C (workWidth): new function with added Inset * parameter.
12090
12091 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12092
12093         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12094
12095         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12096         change return type of getColumnNearX.
12097
12098
12099         * text.C (changeRegionCase): use uppercase/lowercase instead of
12100         toupper/tolower.
12101         (leftMargin):
12102         (rightMargin): simplify code by factoring out the uses of
12103         textclasslist.
12104         (labelFill):
12105         (numberOfHfills):
12106         (setHeightOfRow):
12107         (appendParagraph): use Paragraph::size_type
12108
12109 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12110
12111         * vspace.C (asLatexString): add a missing break
12112
12113 2001-10-15  Herbert Voss  <voss@perce.de>
12114
12115         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12116
12117 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12118
12119         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12120         is not available.
12121
12122 2001-10-10  André Pönitz <poenitz@gmx.net>
12123
12124         * lyxfunc.C: removed greek_kb_flag.
12125
12126 2001-10-10  Herbert Voss  <voss@perce.de>
12127
12128         * lyx_main.C: delete global string help_lyxdir.
12129
12130 2001-10-09  Herbert Voss  <voss@perce.de>
12131
12132         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12133
12134         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12135
12136         * lyx_main.C: added global string help_lyxdir.
12137
12138         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12139
12140 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12141
12142         * lyxrc.C (set_font_norm_type): support iso8859-4
12143
12144 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12145
12146         * LaTeX.C (deplog): add another regex for MikTeX
12147
12148 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12149
12150         * lyxrc.C (set_font_norm_type): support iso8859-3
12151
12152 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12153
12154         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12155
12156         * LaTeXFeatures.C: remove special case of french and index
12157
12158         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12159         before \begin{document}). This solves several incompatibilities.
12160
12161 2001-10-03  Garst Reese  <reese@isn.net>
12162
12163         * lyx_cb.C: change CheckTex error msg.
12164
12165 2001-10-03  José Matos  <jamatos@fep.up.pt>
12166
12167         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12168
12169 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12170
12171         * .cvsignore: update
12172
12173         * lyx_main.C (commandLineVersionInfo): use new style version info.
12174
12175         * buffer.C (writeFile):
12176         (makeLaTeXFile):
12177         (makeLinuxDocFile):
12178         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12179
12180         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12181
12182         * version.h: update to use stuff in version.C
12183
12184         * version.C.in: new file. Contains version information determined
12185         at compile time. This is a merging of version.h and
12186         version_info.h.in.
12187
12188 2001-10-03  Juergen Vigna  <jug@sad.it>
12189
12190         * BufferView_pimpl.C (update): don't change "dirty" status in
12191         updateInset call.
12192
12193 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * WorkArea.C (c-tor): re-position version string slightly.
12196
12197 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12200         revert to previous code.
12201
12202         WorkArea.[Ch]: (show, destroySplash): methods removed.
12203
12204         WorkArea.C: rework code so that it's an amalgam of the codes before and
12205         after the splash screen was moved to WorkArea.
12206
12207 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12208
12209         * lyxrc.C (read):
12210         * vspace.C (inPixels):
12211         (lyx_advance):
12212         * kbmap.C (bind):
12213         * buffer.C (insertStringAsLines):
12214         (asciiParagraph): fix types to be large enough
12215
12216         * lyxlex_pimpl.h: change member status from short to int
12217
12218         * layout.h: fix type of endlabeltype
12219
12220         * kbmap.C (bind):
12221         * kbsequence.C (parse): change return type to string::size_type
12222
12223         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12224         variable
12225
12226         * Bullet.C (bulletSize):
12227         (bulletEntry): do not use short ints as parameters
12228
12229         * BufferView2.C (insertLyXFile): change a char to an int.
12230
12231         * WorkArea.C (WorkArea): remove unneeded floats in computation
12232
12233 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12236
12237         * paragraph.C (asString): Do not ignore newline/hfill chars when
12238         copying to the clipboard.
12239
12240 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12241
12242         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12243         after a multi-line inset.
12244
12245 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12246
12247         * paragraph.C (validate): Set NeedLyXFootnoteCode
12248
12249 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12252         and decrease-error to decrease.
12253
12254 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12255
12256         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12257         it more readable (should be equivalent)
12258
12259 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12260
12261         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12262
12263 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12266         of a cursor (row, etc.) after a character has been deleted
12267         (deleteEmptyParagraphMechanism): call the method above on _all_
12268         cursors held by the LyXText when a double space has been
12269         detected/deleted.
12270
12271 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12272
12273         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12274         pixmap.
12275         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12276
12277         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12278         background. Use greyOut() and the new show() methods to toggle between
12279         the foreground and background. Add code to remove the splash after
12280         its initial showing.
12281
12282         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12283         (create_forms): no longer call Dialogs::showSplash.
12284
12285 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * .cvsignore: add version_info.h
12288
12289 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12290
12291         * version_info.h.in: new file
12292
12293         * Makefile.am: add version_info.h.in
12294
12295         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12296         version_info.h instead of VERSION_INFO
12297
12298 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12299
12300         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12301         The ERT inset now returns string().
12302
12303 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * lyxtext.h, text.C (selectNextWord): renamed as
12306         selectNextWordToSpellcheck.
12307
12308         * text.C (selectNextWordToSpellcheck): Modified to not select
12309         words inside an ERT inset.
12310
12311 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12312
12313         * lyx_cb.C (MenuLayoutSave): change a bit the question
12314
12315         * sp_base.h: include <sys/types.h>
12316
12317 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12318
12319         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12320
12321 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12322
12323         * several files: fix typos in user-visible strings
12324
12325 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12326
12327         * text2.C (pasteSelection): do not set the selection, since it
12328         will be cleared later. Actually, the intent was to fix the way the
12329         selection was set, but I figured rmoving the code was just as good.
12330
12331 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * FontLoader.C (available): Check if font is available without
12334         loading the font.
12335
12336 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12337
12338         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12339
12340 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12341
12342         * lyxrc.[Ch]: added display_graphics variable and associated code.
12343
12344 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12345
12346         * bufferparams.C (hasClassDefaults): new method. Returns true if
12347         the buffer parameters correspond to known class defaults
12348
12349 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12350
12351         * XFormsView.C (show): set minimum size to the main window.
12352
12353 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12354
12355         * text2.C (copySelection):
12356         (cutSelection):
12357         * lyxfind.C (LyXReplace):
12358         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12359         LyXText::selectionAsString.
12360
12361         * paragraph.C (asString): add "label" argument to the second form
12362
12363         * text2.C (selectionAsString): add "label" argument and pass it to
12364         Paragraph::asString.
12365
12366 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12367
12368         * lyx_main.C (commandLineHelp): remove version information
12369
12370 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12371
12372         * lyx_main.C: add -version commandline option
12373
12374 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12375
12376         * paragraph.h: make the optional constructor arg required instead.
12377         some modifications to other files because of this.
12378
12379         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12380
12381         * lyxserver.C (C_LyXComm_callback): make it static
12382
12383         * lyx_main.C (error_handler): make it static
12384
12385         * lyx_gui.C (LyX_XErrHandler): make it static
12386
12387         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12388
12389         * WorkArea.C: make the extern "C" methods static.
12390
12391         * Makefile.am (lyx_LDADD): simplify
12392
12393 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12394
12395         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12396         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12397
12398         * LyXAction.C (init):
12399         * lyxfunc.C (dispatch): associated code removal.
12400
12401 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * lyxfont.h (isSymbolFont): shut off warning
12404
12405         * text.C (setHeightOfRow):
12406         (getVisibleRow): fix crash with empty paragraphs which have a
12407         bottom line
12408
12409 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12410
12411         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12412         code.
12413
12414 2001-09-04  José Matos  <jamatos@fep.up.pt>
12415         * buffer.C
12416         * buffer.h
12417         * tabular.C (docbook): rename docBook method to docbook.
12418
12419 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12420
12421         * Makefile.am: add dependencies to main.o.
12422
12423 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12424
12425         * FontLoader.C (available): Return false if !lyxrc.use_gui
12426
12427 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12428
12429         * FontInfo.C (query):
12430         * converter.C (view):
12431         * importer.C (Import):
12432         * exporter.C (Export): Can not -> cannot.
12433
12434 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * BufferView_pimpl.C: allow to create index inset even if
12437           string is empty
12438
12439 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * buffer.C (getLists): replace boost::tie code with an explicit pair
12442         as boost::tie can break some compilers.
12443
12444         * iterators.h: Added a std:: declaration to the return type of
12445         ParIterator::size.
12446
12447 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12450           case.
12451
12452 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12453
12454         * iterators.[Ch]: New files. Provide paragraph iterators.
12455
12456         * buffer.C (changeLanguage): Use paragraph iterators.
12457         (isMultiLingual): ditto
12458
12459         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12460
12461 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12462
12463         * FontLoader.C: Support for cmr font.
12464
12465 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12466
12467         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12468         (available): New method.
12469
12470         * FontInfo.C (getFontname): Use scalable fonts even when
12471         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12472         found.
12473
12474 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12475
12476         * converter.C (Formats::view): reverted! Incorrect fix.
12477
12478 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12479
12480         * converter.C (Formats::view): only output the -paper option
12481         if the dvi viewer is xdvi, thereby fixing bug #233429.
12482
12483 2001-08-23  Herbert Voss  <voss@perce>
12484
12485         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12486
12487 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12488
12489         * Spacing.h (Spacing): Set space to Default on in the default
12490         constructor.
12491
12492 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * vc-backend.h (RCS::versionString): add RCS to version
12495         (CVS::versionString): add CVS to version
12496
12497         * vc-backend.C (scanMaster): do not add CVS to version.
12498         (scanMaster): do not add RCS to version
12499
12500         * lyxvc.C (versionString): new method
12501
12502         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12503
12504 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * Spacing.C (set): initialize fval
12507
12508 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12509
12510         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12511         " or \.
12512
12513 2001-08-16  Juergen Vigna  <jug@sad.it>
12514
12515         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12516
12517 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * BufferView_pimpl.C:
12520         * figureForm.C:
12521         * lyxtext.h:
12522         * text2.C: setParagraph takes linespacing now
12523
12524 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * LyxAction.C: add internal LFUN_CITATION_INSERT
12527
12528         * LyXView.C: actually apply fix
12529
12530         * bufferlist.C: fix open non-existent file
12531
12532         * lyxfind.C: fix indentation
12533
12534         * lyxfunc.C: remove unneeded assert, fix typo
12535
12536 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * MenuBackend.C: use "Floatname List"
12539
12540 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12541
12542         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12543         when converting LaTeX layout to insetERT.
12544         Generate a non-collapsed float when reading old float
12545
12546 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12547
12548         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12549         ERT insets.
12550
12551 2001-08-13  Juergen Vigna  <jug@sad.it>
12552
12553         * text.C (fill): return 0 instead of 20 as this seems to be the more
12554         correct value.
12555
12556 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12557
12558         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12559         lyxrc.font_norm.
12560
12561 2001-08-13  Juergen Vigna  <jug@sad.it>
12562
12563         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12564         casesensitive off.
12565         (SearchBackward): comment out the unlocking of the inset_owner this
12566         should not be needed!
12567
12568 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12569
12570         * Many files: Remove inherit_language, and add latex_language
12571
12572         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12573         collapsible insets.
12574
12575 2001-08-10  Juergen Vigna  <jug@sad.it>
12576
12577         * text.C (prepareToPrint): fixed hfill-width in draw!
12578
12579         * BufferView2.C (selectLastWord): save the selection cursor as this
12580         now is cleared in the function LyXText::clearSelection!
12581
12582 2001-08-08  Juergen Vigna  <jug@sad.it>
12583
12584         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12585         BACKSPACE type functions.
12586
12587         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12588         is only cutted from the document but not put in the cut-buffer, where
12589         still the old stuff should be.
12590
12591         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12592
12593         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12594
12595         * tabular.C (SetWidthOfCell): fixed special case where the width
12596         was not updated!
12597         (LeftLine): handle '|' in align_special.
12598         (RightLine): ditto
12599         (LeftAlreadyDrawed): ditto
12600         (SetWidthOfCell): ditto
12601
12602 2001-08-07  Juergen Vigna  <jug@sad.it>
12603
12604         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12605
12606 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12607
12608         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12609         * lyxlex.[hC]: ditto
12610
12611 2001-08-06  Juergen Vigna  <jug@sad.it>
12612
12613         * text.C (getVisibleRow): fix up row clearing a bit.
12614
12615 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * minibuffer.C: make sure the X server sees the changes in the input.
12618
12619 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * paragraph.C (getFont): split into...
12622         (getLabelFont): this
12623         (getLayoutFont): and this
12624         * paragraph_pimpl.C (realizeFont): calling this
12625
12626         * text2.C (getFont): split into...
12627         (getLayoutFont): this
12628         (getLabelFont): and this
12629         (realizeFont): all three calling this
12630
12631         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12632         files where used.
12633
12634 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12635
12636         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12637
12638 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12639
12640         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12641         layouts from the Quote inset insertion.
12642
12643 2001-08-03  Juergen Vigna  <jug@sad.it>
12644
12645         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12646
12647         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12648         only if status not is already CHANGED_IN_DRAW (second level).
12649
12650         * text.C (draw): don't set the need_break_row when inside an
12651         InsetText LyXText.
12652
12653 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * buffer.C (parseSingleLyXformat2Token): handle more latex
12656         conversion cases.
12657
12658         * bufferview_funcs.[hC]: change function names to
12659         begin with small char, adjust other files.
12660
12661 2001-08-02  André Pönitz <poenitz@gmx.net>
12662
12663         * lyxfunc.C:
12664         BufferView_pimpl.C: remove broken special code for math-greek
12665
12666 2001-08-02  Juergen Vigna  <jug@sad.it>
12667
12668         * BufferView_pimpl.C (update): redone this function so that we
12669         update the text again if there was a CHANGE_IN_DRAW.
12670
12671         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12672         (drawFromTo): added a new internal bool which is used by draw() and
12673         redraw() function.
12674         (general): some cursor drawing problems fixed.
12675
12676 2001-08-01  Juergen Vigna  <jug@sad.it>
12677
12678         * lyxfind.C (LyXFind): fixed
12679         (SearchForward): ditto
12680         (SearchBackward): ditto
12681
12682         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12683         spurius drawing of the cursor in the main area.
12684
12685         * text2.C (status): small fix which could lead to a segfault!
12686         (clearSelection): remove unneeded BufferView param.
12687
12688 2001-08-01  André Pönitz <poenitz@gmx.net>
12689
12690         * lyxfunc.C: small change due to changed mathed interface
12691
12692 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12695
12696 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * lyxfunc.c: fail gracefully if file doesn't exist
12699
12700         * LyXSendto.C:
12701         * buffer.C:
12702         * lyxfunc.C:
12703         * BufferView_pimpl.C: IsDirWriteable() proto changed
12704
12705         * LyXView.C: fix updateWindowTitle() to store the last title
12706
12707 2001-07-31  Juergen Vigna  <jug@sad.it>
12708
12709         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12710         the font (wrong since using of Paragraph::highestFontInRange).
12711
12712         * paragraph.C (highestFontInRange): added a default_size parameter.
12713
12714         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12715         (setHeightOfRow): reformat
12716
12717 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12718
12719         * converter.[hC] + affected files: move to (inital-char)lowercase
12720         function names.
12721
12722         * ParagraphParameters.C (ParagraphParameters): remove commented code
12723
12724         * PainterBase.[Ch]: remove commented code
12725
12726         * LaTeXFeatures.h: add "bool floats" for float.sty
12727
12728         * LaTeXFeatures.C (LaTeXFeatures): init floats
12729         (require): handle float
12730         (getPackages): do it with floats
12731
12732 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12733
12734         * BufferView_pimpl.C (Dispatch): improve handling of
12735         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12736
12737         * commandtags.h: #include lyxfont.h here temporarily to avoid
12738         keybinding bug.
12739
12740         * bufferlist.h: include LString.h here.
12741
12742 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12743
12744         * text2.C (getStringToIndex): new method.
12745
12746 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12747
12748         * *: Reduced header file dependencies all over.
12749
12750 2001-07-30  Baruch Even  <baruch@lyx.org>
12751
12752         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12753
12754 2001-07-29  Baruch Even  <baruch@lyx.org>
12755
12756         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12757
12758 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * ParameterStruct.h (endif): add a default constructor to make
12761         sure that all variables is initialized.
12762
12763         * ParagraphParameters.C (ParagraphParameters): adjust
12764
12765 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12766
12767         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12768         index; also, check that there is something to index, and that it
12769         does not span over several paragraphs.
12770         (doubleClick): use WHOLE_WORD_STRICT for double click.
12771
12772         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12773
12774         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12775         scheme.
12776
12777 2001-07-26  Baruch Even  <baruch@lyx.org>
12778
12779         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12780         an InsetFig figure, backwards compatible reading of old figure code.
12781
12782 2001-07-27  Juergen Vigna  <jug@sad.it>
12783
12784         * text2.C: font.realize function adaption.
12785
12786         * text.C (draw): add a warnings lyxerr text if needed.
12787
12788         * layout.C: font.realize function adaption.
12789
12790         * language.C: add inherit_language and implement it's handlings
12791
12792         * bufferview_funcs.C (StyleReset): remove language parameter from
12793         font creation (should be language_inherit now).
12794
12795         * bufferparams.C (writeFile): handle ignore_language.
12796
12797         * paragraph.C (getFontSettings): the language has to be resolved
12798         otherwise we have problems in LyXFont!
12799
12800         * lyxfont.C (lyxWriteChanges): added document_language parameter
12801         (update): removed unneeded language parameter
12802
12803         * paragraph.C (validate): fixed wrong output of color-package when
12804         using interface colors for certain fonts in certain environments,
12805         which should not seen as that on the final output.
12806
12807 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * BufferView_pimpl.C:
12810         * Thesaurus.h:
12811         * Thesaurus.C:
12812         * Makefile.am:
12813         * commandtags.h:
12814         * LyXAction.C: add thesaurus support
12815
12816         * lyxfind.h:
12817         * lyxfind.C: add "once" parameter, for thesaurus, to not
12818           move to the next match
12819
12820 2001-07-26  Juergen Vigna  <jug@sad.it>
12821
12822         * lyxfont.C (realize): honor ignore_language too!
12823         (resolved): ditto.
12824
12825         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12826
12827         * text.C (draw): one place more for ignore_language to not draw
12828         itself!
12829
12830 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12833
12834 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12837         the minipage conversion problem.
12838
12839 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12842         insert an inset.
12843
12844 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * BufferView.h: don't forward declare WorkArea
12847
12848         * BufferView.C: don't include WorkArea.h
12849
12850 2001-07-25  André Pönitz <poenitz@gmx.net>
12851
12852         * commandtags.h:
12853         * LyXAction.C:
12854         * lyxfunc.C:  new LFUN 'math-space'
12855
12856         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12857
12858 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * text2.C (toggleInset): call open/close
12861
12862 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * lyxfunc.C (dispatch): add debug for the disabled case
12865
12866         * font.C (buttonText): make similar to rectText
12867
12868         * buffer.C (readInset): comment out parsing of insetlist and
12869         insttheorem
12870
12871         * PainterBase.C (rectText): small correction
12872
12873         * BufferView_pimpl.C: comment out insettheorem and insetlist
12874         * LyXAction.C: ditto
12875         * commandtags.h: ditto
12876
12877 2001-07-24  Juergen Vigna  <jug@sad.it>
12878
12879         * text.C (draw): honor the ignore_language.
12880
12881         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12882
12883 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12884
12885         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12886         char inset.
12887
12888 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12889
12890         * lyxtext.h: remove unused (and unimplemented) methods
12891
12892 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12893
12894         * text.C (getVisibleRow): honor background color
12895
12896         * PainterBase.h:
12897         * Painter.h: remove default color argument for fillRectangle
12898
12899         * text.C (backgroundColor): new method
12900
12901 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * text.C (getVisibleRow): adjust
12904
12905         * font.[Ch] (rectText): new method, metrics
12906         (buttonText): new method, metrics
12907
12908         * PainterBase.[hC]: make rectText and buttonText always draw and take
12909         fewer paramteres.
12910
12911 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12912
12913         * ToolbarDefaults.C (read):
12914         * MenuBackend.C (read): allow escaping in all strings
12915
12916         * BufferView_pimpl.C (insertAndEditInset): new method.
12917         (Dispatch): use insertAndEditInset whenever appropriate.
12918
12919         * BufferView_pimpl.C (insertNote): removed
12920
12921         * BufferView_pimpl.C (smartQuote): new method, moved from
12922         BufferView; if an insetquote cannot be inserted, insert a '"'
12923         character instead.
12924
12925         * BufferView2.C: remove insertCorrectQuote();
12926
12927         * lyxfunc.C (getStatus): Add support for all remaingin
12928         inset-insert lfuns.
12929
12930         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12931
12932         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12933         command (necessary to pass " as parameter of self-insert.
12934
12935         * text.C (selectWordWhenUnderCursor):
12936         (selectWord): add word_location parameter
12937         (selectWordWhenUnderCursor): same + remove special code for word
12938         boundary.
12939         (selectNextWord): use kind() to guess type of insetspecialchar,
12940         not latex().
12941
12942         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12943         (insertErtContents): create ert insets as collapsed.
12944         (readInset): better compatibility code for Info inset.
12945
12946 2001-07-20  Juergen Vigna  <jug@sad.it>
12947
12948         * lyxfunc.C (dispatch): use always LyXFind now!
12949
12950         * text2.C (init): add a reinit flag so that the LyXText can be
12951         reinited instead of deleted and reallocated (used in InsetText).
12952
12953         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12954
12955         * text.C: ditto
12956
12957         * text2.C: ditto
12958
12959 2001-07-18  Juergen Vigna  <jug@sad.it>
12960
12961         * text.C (selectNextWord): handle insets inside inset by calling
12962         always the bv->text functions so that we can go up the_locking_inset!
12963
12964         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12965         in strange locations when inside an inset!
12966
12967         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12968         handling to include insets.
12969
12970         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12971
12972 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * LyXAction.C (init):
12975         * commandtags.h:
12976         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12977         LIGATURE_BREAK, since the name is so stupid.
12978
12979 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12980
12981         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12982         InsetInfos.
12983
12984         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12985
12986         * sp_form.[Ch]: remove.
12987
12988         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12989
12990         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12991         InsetInfo.
12992
12993         * src/buffer.C (readInset): ditto.
12994
12995 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12996
12997         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12998         menuSeparator(), endOfSentenceDot(), ldots() and
12999         hyphenationPoint(), which are therefore removed.
13000         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13001
13002         * LyXAction.C (init):
13003         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13004
13005         * paragraph.C (getWord): removed.
13006
13007         * BufferView_pimpl.C (Dispatch): use last word or selection for
13008         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13009
13010         * lyx_main.C (queryUserLyXDir): do not ask before creating
13011         user_dir, except if it has been named explicitely.
13012
13013 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13016         a document of zero size.
13017
13018 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13019
13020         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13021         approriately in the c-tor and in require().
13022         (getPackages): output the appropriate LaTeX for natbib support.
13023
13024         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13025         variables "use_natbib" and "use_numerical_citations" when reading the
13026         LyX file.
13027         (readInset): read the various natbib cite commands.
13028         (validate): white-space change.
13029
13030         * bufferparams.[Ch]: new variables "bool use_natbib" and
13031         "bool use_numerical_citations".
13032         (writeFile): output them in the LyX file.
13033
13034 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13035
13036         * lyxfunc.C (getStatus): add support for all the inset insertion
13037         commands.
13038
13039         * text2.C (insertInset):
13040         * paragraph.C (insetAllowed):
13041         * BufferView_pimpl.C (insertInset): update to take in account the
13042         renaming of insertInsetAllowed
13043
13044         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13045
13046         * text2.C (getInset): new method. returns inset at cursor position.
13047
13048         * BufferView_pimpl.C (Dispatch): changes because of this.
13049
13050         * LyXAction.C (init): rename open-stuff to inset-toggle.
13051
13052         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13053
13054         * text2.C (toggleInset): renamed from openStuff; use
13055         Inset::open().
13056
13057 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13058
13059         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13060
13061         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13062
13063 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13064
13065         * buffer.C (readLyXformat2): Add filename to the error dialog
13066
13067 2001-07-18  Juergen Vigna  <jug@sad.it>
13068
13069         * tabular.C (GetCellNumber): put an assert here instead of the check!
13070
13071 2001-07-17  Juergen Vigna  <jug@sad.it>
13072
13073         * BufferView_pimpl.C (toggleSelection): adapted too.
13074
13075         * text.C (selectNextWord): adapted for use with insets.
13076         (selectSelectedWord): ditto
13077
13078 2001-07-17  Juergen Vigna  <jug@sad.it>
13079
13080         * sp_spell.C (PSpell): fix initialitation order.
13081
13082 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13083
13084         * paragraph.C: spacing
13085
13086 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13087
13088         * sp_spell.C: repair language selection for pspell
13089
13090 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * lyxfunc.h: change more methods to begin with lower char.
13093
13094 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13095
13096         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13097         for unknown layouts.
13098
13099 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13100
13101         * buffer.C (readLyXformat2): Generate an error dialog if there are
13102         unknown layouts.
13103
13104 2001-07-16  Juergen Vigna  <jug@sad.it>
13105
13106         * sp_spell.C: always compile ISpell part.
13107
13108         * lyxrc.C: added use_pspell entry and it's handling.
13109
13110 2001-07-13  Juergen Vigna  <jug@sad.it>
13111
13112         * sp_spell.C: removed double includes.
13113
13114 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         Consistent use of Lsstream.h:
13117         * Lsstream.h: added using std::stringstream for consistencies sake.
13118
13119         * buffer.C: removed using std::stringstream
13120
13121         * lyxfont.C (stateText):
13122         * paragraph.C (asString):
13123         * text.C (selectNextWord, selectSelectedWord):
13124         * text2.C (setCounter):
13125         * vspace.C (asString, asLatexString):
13126         std::ostringstream -> ostringstream.
13127
13128 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13129
13130         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13131         * commandtags.h: add LFUN_HELP_ABOUTLYX
13132         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13133
13134 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13135
13136         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13137         cursorToggle()
13138         * lyx_gui_misc.C: remove spellchecker
13139         * lyxfunc.C: showSpellchecker
13140         * sp_base.h: added
13141         * sp_ispell.h: added
13142         * sp_pspell.h: added
13143         * sp_spell.C: added
13144         * sp_form.[Ch]: removed
13145         * spellchecker.[Ch]: removed
13146
13147 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13148
13149         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13150         is set.
13151         (simpleTeXSpecialChars): Simply print the input character without
13152         any special translation if pass_thru is set.
13153
13154         * layout.h: Added bool pass_thru to layout class for being able to
13155         implement pass through of a paragraph for Literate Programming.
13156
13157         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13158         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13159         * layout.C (Read): add "passthru" to list of layout tags and add
13160         code to set the pass_thru boolean when it is read.
13161
13162 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * trans_decl.h: remove allowed from KmodInfo
13165
13166         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13167         remove allowed code
13168         (Load): adjust
13169
13170         * paragraph_pimpl.C (erase): use boost::prior
13171
13172         * Painter.C (text): use data() instead of c_str() when length is
13173         also provided.
13174         * WorkArea.C (putClipboard): ditto
13175         * font.h (width): ditto
13176
13177         * BufferView2.C: use it-> instead of (*it). for iterators
13178         * texrow.C: ditto
13179         * paragraph_pimpl.C: ditto
13180         * paragraph.C: ditto
13181         * minibuffer.C: ditto
13182         * language.C: ditto
13183         * kbmap.C: ditto
13184         * encoding.C: ditto
13185         * counters.C: ditto
13186         * converter.C: ditto
13187         * chset.C: ditto
13188         * Variables.C: ditto
13189         * TextCache.C: ditto
13190         * MenuBackend.C: ditto
13191         * LyXAction.C: ditto
13192         * LColor.C: ditto
13193         * FloatList.C: ditto
13194         * DepTable.C: ditto
13195         * ColorHandler.C (LyXColorHandler): ditto
13196
13197 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13200
13201         * text2.C (openStuff): reintroduce this method (which had been
13202         nuked in NEW_INSETS frenzy).
13203
13204         * lyxfunc.C (Dispatch): when an action has not been handled, use
13205         its name in the error message, not its number.
13206
13207         * paragraph.C (inInset): change method name to begin with lowercase.
13208
13209         * undo_funcs.C:
13210         * text2.C: updates because of this.
13211
13212 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * ToolbarDefaults.C (add): add spaces in error message
13215
13216 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13217
13218         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13219         (readLyXformat2): rename return_par to first_par, use lyxlex's
13220         pushToken and remove the manual push handling.
13221         (parseSingleLyXformat2Token): add another ert comp. variable:
13222         in_tabular, rename return_par to first_par. handle newlines better
13223
13224 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13227
13228 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * text2.C (getParFromID): removed
13231
13232         * buffer.C (getParFromID): new method moved form lyxtext.
13233         * BufferView2.C (insertErrors): adjust
13234         (setCursorFromRow): adjust
13235         * BufferView_pimpl.C (restorePosition): adjust
13236         * lyxfunc.C (Dispatch): adjust
13237         * undo_funcs.C (textUndo): adjust
13238         (textRedo): adjust
13239         (textHandleUndo): adjust
13240         (textHandleUndo): adjust
13241
13242 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * buffer.C: up' the LYX_FORMAT
13245
13246         * lyxfont.h: turn NO_LATEX on as default
13247
13248         * buffer.C (insertErtContents): new methods of tex style compability.
13249         (parseSingleLyXformat2Token): use it several places.
13250         * tabular.C (OldFormatRead): and here
13251
13252 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13253
13254         * text2.C: remove some commented code.
13255         reindent file.
13256
13257         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13258         * trans.C: changes because of the above.
13259
13260 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13261
13262         * text2.C (setCounter): Fix counters bug with bibliography layout.
13263
13264 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13267         own member functions
13268         (simpleTeXSpecialChars): ditto
13269
13270 2001-07-06  Juergen Vigna  <jug@sad.it>
13271
13272         * a lot of files: changed the access to LyXText::status and the
13273         call of undo-functions.
13274
13275         * undo.[Ch]: added a inset_id to the undo informations.
13276
13277         * undo_funcs.[Ch]: added and moved here all undo functions.
13278
13279         * lyxtext.h: give the status enum a weight, made status_ a private
13280         variable and made accessor functions for it, removed the whole bunch
13281         of undo-functions as they are now in their own file, make some
13282         functions publically available. Added function ownerParagraph with
13283         int parameter.
13284
13285         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13286         made InInset() a const function, added getParFromID() function.
13287
13288         * buffer.[Ch]: added const version for inset_iterator functions,
13289         added getInsetFromID() function.
13290
13291         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13292         changed undo functions for new version.
13293
13294 2001-07-05  Juergen Vigna  <jug@sad.it>
13295
13296         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13297         unknow mechanism does not call the proper constructor but only this
13298         one also if I request the other!?
13299
13300 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13303
13304         * text2.C (LyXText): use initialization lists.
13305
13306         * lyxtext.h (Selection): initialize set_ and mark_
13307         (init): remove method
13308
13309 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13310
13311         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13312
13313 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13314
13315         * screen.[Ch]: change method names to begin with lowercase
13316
13317         * BufferView_pimpl.C (updateScrollbar): simplify further and
13318         hopefully make it a bit faster.
13319
13320 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13323         calling directly xforms functions.
13324
13325         * Painter.C (Painter):
13326         * lyx_cb.C (MenuWrite):
13327         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13328         fl_display.
13329
13330         * lyx_gui.C: remove bogus guiruntime extern declaration.
13331
13332 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13333
13334         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13335         in NEW_INSETS
13336         (redoDrawingOfParagraph): ditto
13337         (redoParagraphs): ditto
13338         (cutSelection): don't create a object for CutAndPaste use the
13339         static method directly
13340         (pasteSelection): ditto
13341
13342         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13343         LyXview (+ rename)
13344
13345 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13346
13347         * modifications to some other files because of this.
13348
13349         * Makefile.am (lyx_SOURCES): add XFormsView
13350
13351         * XFormsView.[Ch]: new files
13352
13353         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13354         the main window. Move the gui dependent stuff to XFormsView
13355
13356 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13357
13358         * tabular.C (GetCellInset): update cur_cell also in the row/col
13359         version of this function.
13360
13361         * lyxfunc.C: no need to include figure_form.h here.
13362
13363         * FontLoader.h:
13364         * lyxfunc.h:
13365         * lyxscreen.h:
13366         * text2.C:
13367         * lyxvc.C: no need to include forms.h here.
13368
13369 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13370
13371         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13372
13373         * lyxfunc.C (Dispatch):
13374         * Spacing.C (set):
13375         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13376         constructor argument.
13377
13378 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * paragraph.C (Paragraph): dont't clear, and just set layout.
13381         (makeSameLayout): use params's copy contructor.
13382
13383         * ParagraphParameters.[Ch] (makeSame): delete method
13384
13385 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13386
13387         * Variables.[Ch]: fix indentation, rename set to isSet
13388
13389 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * lyxfunc.C (Dispatch): fix typo
13392
13393 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13394
13395         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13396         upper_bound.
13397
13398         * bufferlist.C: include assert.h for emergencyWrite().
13399
13400 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13401
13402         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13403           give up at last (bug #425202) !
13404
13405 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13406
13407         * lyx_gui_misc.C:
13408         * sp_form.h:
13409         * sp_form.C:
13410         * spellchecker.h:
13411         * spellchecker.C: strip spellchecker options and bring up
13412           preferences tab instead
13413
13414 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13415
13416         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13417         the istringstream constructor
13418
13419 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13420
13421         * paragraph.C (getLayout): fix return value
13422
13423         * paragraph.h: do not declare getLayout as inline.
13424
13425         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13426
13427 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * lyxcursor.h (operator<): new func
13430         (operator>): new func
13431         (operator>=): new func
13432         (operator<=): new func
13433
13434         * text.C (changeCase): use selection.start and selection.end
13435         (changeRegionCase): require from to be <= to. Require par to be a
13436         valid paragraph.
13437
13438         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13439
13440 2001-06-27  Juergen Vigna  <jug@sad.it>
13441
13442         * text.C (cursorLeftOneWord): changed to return the cursor and added
13443         overlay with BufferView * parameter which calls this one.
13444         (getWord): added
13445         (selectWord): use new getWord function.
13446         (changeCase): renamed from changeWordCase as and extended to work
13447         also on selections.
13448
13449         * lyxtext.h: added enum word_location
13450
13451         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13452         changeCase as this operates now also on selections.
13453
13454 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13455
13456         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13457
13458         * many files: send debug output to Debug::INFO instead of
13459         Debug::ANY.
13460
13461         * converter.C (View):
13462         (Convert):
13463         (Move): send debug output to Debug::FILES instead of console.
13464
13465 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13466
13467         * lyxfunc.C (getStatus): use func_status
13468
13469         * func_status.h: new header, describing the results of
13470         LyXFunc::getStatus;
13471
13472         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13473         LFUN_MATH_HALIGN.
13474
13475 2001-06-25  The LyX Project  <jug@sad.it>
13476
13477         * buffer.C (sgmlOpenTag):
13478         (sgmlCloseTag):
13479         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13480
13481 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * text2.C: remove some dead code
13484
13485         * tabular.C (GetCellInset): store the last cell checked (gotten)
13486
13487         * tabular.h: add the helper for the speedup
13488
13489         * lyxtext.h: remove some dead code
13490
13491 2001-06-26  The LyX Project  <Asger>
13492
13493         * paragraph.C: Change export to LaTeX of alignment to
13494         \begin{center} and family for better roundtrip work with reLyX.
13495
13496         * Tune the math drawing a bit.
13497
13498 2001-06-25  The LyX Project  <Asger>
13499
13500         * LColor.C (LColor): New color for math background. New color
13501         for buttons.
13502
13503 2001-06-25  The LyX Project  <jug@sad.it>
13504
13505         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13506
13507         * lyxfunc.C (Open):
13508         * bufferlist.C (newFile): do not restrict to files ending with
13509         .lyx
13510
13511         * BufferView_pimpl.C (MenuInsertLyXFile):
13512
13513 2001-06-24  The LyX Project  <jug@sad.it>
13514
13515         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13516         of compare_no_case
13517
13518 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * lyxtext.h: rename most methods to begin with a small char.
13521         Lots of changes because of this.
13522
13523         * paragraph.C (Paragraph): do not call fitToSize
13524         (erase): call Pimpl::erase
13525         (insertChar): call Pimpl::insertChar
13526         (insertInset): call Pipl::insertInset
13527         (breakParagraph): do not call fitToSize
13528         (breakParagraphConservative): do not call fitToSize
13529         (fitToSize): remove method
13530
13531         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13532
13533 2001-06-24  The LyX Project  <Asger>
13534
13535         * Fix Qt compilation^2
13536
13537 2001-06-24  The LyX Project  <jug@sad.it>
13538
13539         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13540         depthHook(getDepth()-1).
13541
13542         * paragraph.h:
13543         * ParagraphParameters.h:
13544         * ParameterStruct.h: change type of depth to unsigned int ==
13545         depth_type. Many adaptations to other files before of that.
13546
13547 2001-06-24  The LyX Project  <Asger>
13548
13549         * Fix Qt compilation.
13550
13551 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * paragraph.h: renamed several methods to begin with small letter.
13554         several changes to many parts of the code because of this.
13555
13556 2001-06-23  The LyX Project  <jug@sad.it>
13557
13558         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13559         rewritten to discard all double spaces when KeepEmpty is off
13560         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13561         to only handle newlines but not fiddle with spaces and friends.
13562
13563         * lyxfunc.C (MenuNew): when doing 'new from template', use
13564         template_path as default directory
13565
13566 2001-06-23  The LyX Project  <Asger>
13567
13568         * Clean-up of header file includes all over
13569         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13570
13571 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * paragraph.h: renamed from lyxparagraph.h
13574
13575 2001-06-23  Asger  <lyx@violet.home.sad.it>
13576
13577         * Buffer.h: Removed Buffer::resize
13578         * BufferList.h: Removed BufferList::resize
13579         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13580         the document lazily when we change the width, or the font settings.
13581
13582 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13583
13584         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13585
13586 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13587
13588         * buffer.h: remove out of date comment
13589
13590 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * lyxscreen.h:
13593         * screen.C: fix "theoretical" GC leak
13594
13595 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13596
13597         * LaTeX.C (scanAuxFile):
13598         (deplog): remove trailing \r when reading stream (useful under
13599         win32)
13600
13601 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13602
13603         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13604         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13605         and BufferView::theLockingInset(Inset*), so should use them and not
13606         access bv_->text->the_locking_inset directly.
13607
13608         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13609
13610 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * Makefile.am:
13613         * tex-defs.h: remove old unused file
13614
13615 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * BufferView_pimpl.C: fix typo, remove minibuffer message
13618           when buffer has loaded
13619
13620 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13621
13622         * lyxfunc.C (Dispatch): use stringstream
13623         (MenuNew): use stringstream
13624         (Open): use stringstream
13625
13626         * importer.C (Import): use stringstream
13627
13628         * bufferview_funcs.C (CurrentState): use stringstream
13629
13630         * LaTeX.C (run): use stringstream
13631
13632         * BufferView_pimpl.C (savePosition): use stringstream
13633         (restorePosition): use stringstream
13634         (MenuInsertLyXFile): use stringstream
13635
13636 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13637
13638         * BufferView.C:
13639         * Bullet.C:
13640         * ColorHandler.C:
13641         * FontInfo.C:
13642         * FontLoader.C:
13643         * LColor.C:
13644         * LaTeXFeatures.C:
13645         * Painter.C:
13646         * gettext.C:
13647         * lyx_gui_misc.C:
13648         * lyxserver.C:
13649         * vspace.C: removed // -*- C++ -*- as first line.
13650
13651         * lyxfind.h:
13652         * version.h: added // -*- C++ -*- as first line.
13653
13654 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13657
13658         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13659         of string
13660
13661 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13664         of floats.
13665
13666 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * gettext.C: include LString.h even when --disable-nls is on.
13669
13670 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13671
13672         * converter.h (Get): changed argument type from int to
13673         FormatList::size_type to avoid unnecessary conversion.
13674
13675         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13676         before using it.
13677
13678 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * gettext.h: include LString.h even when --disable-nls is on.
13681
13682 2001-06-07  Juergen Vigna  <jug@sad.it>
13683
13684         * text.C (BreakAgain): subst spaces with tabs.
13685
13686         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13687         (resizeInsetsLyXText): set force on resizeLyXText.
13688
13689 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * gettext.h (gettext_init):
13692         (locale_init): use a real definition instead of a macro
13693
13694 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * Bufferview_pimpl.C:
13697         * LColor.h:
13698         * LColor.C: further lcolor tidies
13699
13700 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * BufferView_pimpl.C (updateScrollbar): simplify.
13703
13704         * BufferView2.C: don't include insets/insetinfo.h, change
13705         prototype for insertInset and call the Pimpl version. let
13706         updateInset call Pimpl version.
13707
13708         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13709         gotoInset to BufferView::Pimpl
13710
13711 2001-06-01  Juergen Vigna  <jug@sad.it>
13712
13713         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13714         inside a LockingInset (is the update needed at all?).
13715
13716 2001-05-31  Juergen Vigna  <jug@sad.it>
13717
13718         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13719         here not the old one otherwise how should we compare it afterwards
13720         if it's the same!
13721
13722 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13723
13724         * lyxfont.C:
13725         * tabular.C:
13726         * tabular-old.C:
13727         * FontInfo.C: bring C functions into global namespace when
13728         necessary
13729
13730 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13731
13732         * LString.h: make sure config.h has been loaded before LString.h.
13733
13734         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13735         (one for each char read by EatLine!).
13736
13737         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13738         variables.
13739
13740 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13741
13742         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13743         to the same as the par we break from
13744
13745 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13748
13749         * MenuBackend.C (expand): also create menu entries for wide
13750         versions of the floats.
13751
13752         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13753
13754         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13755
13756         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13757         frontends/Makefile.am
13758
13759         * text2.C: adjust
13760         * text.C: adjust
13761
13762
13763         * tabular.C (getTokenValue): add std::
13764
13765         * tabular-old.C (getTokenValue): add std::
13766         (getTokenValue): ditto
13767         (getTokenValue): ditto
13768
13769         * screen.C (ToggleSelection): adjust
13770
13771         * lyxtext.h: put selection cursors inside a Selection struct.
13772
13773         * lyxfunc.C (moveCursorUpdate): adjust
13774
13775         * lyxfont.C (latexWriteStartChanges): add std::
13776
13777         * lyxfind.C: adjust
13778
13779         * font.h: delete with(char const *, LyXFont const &)
13780
13781         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13782
13783         * FontInfo.C (getFontname): add std::
13784
13785         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13786         (workAreaButtonPress): adjust
13787         (tripleClick): adjust
13788         (update): adjust
13789         (moveCursorUpdate): adjust
13790         (Dispatch): adjust
13791
13792         * BufferView2.C (gotoInset): adjust
13793
13794 2001-05-30  Juergen Vigna  <jug@sad.it>
13795
13796         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13797         to check pspell I add this as default as I now have new pspell
13798         libraries and they seem to use this.
13799
13800 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * text2.C (CutSelection): make the cursor valid before the call to
13803         ClearSelection.
13804
13805 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13806
13807         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13808         relied on 0 terminated strings and other horrors. Bug found due to
13809         the new assert in lyxstring!
13810
13811         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13812         KP_ keys.
13813
13814 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13817         to latinkeys.bind.
13818
13819         * lyxfunc.C (processKeySym): change method of getting to the
13820         self-insert char.
13821
13822         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13823         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13824         * BufferView_pimpl.[Ch]: here as private methods.
13825
13826 2001-05-28  Juergen Vigna  <jug@sad.it>
13827
13828         * text.C (SetHeightOfRow): added the update() call again as it is
13829         needed to initialize inset dimensions!
13830
13831 2001-05-16  Juergen Vigna  <jug@sad.it>
13832
13833         * text2.C (SetCharFont): Add new function with BufferView * and
13834         bool toggleall parameters for setting insets internal fonts.
13835         (SetFont): Freeze the undo as we may change fonts in Insets and
13836         all this change should be inside only one Undo!
13837
13838         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13839         setting font's in insets as for them we have the SetFont function!
13840
13841 2001-05-15  Juergen Vigna  <jug@sad.it>
13842
13843         * text2.C (ClearSelection): to be sure we REALLY don't have any
13844         selection anymore!
13845
13846         * tabular.C (TeXCellPreamble): fixed the left border problem for
13847         multicolumn cells.
13848
13849 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13850
13851         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13852         dependancy file
13853
13854 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13857         LFUN_BREAKPARAGRAPH.
13858
13859         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13860         help test to "internal only", similar for LFUN_INSERT_URL
13861
13862         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13863         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13864         auto_region_delete and deadkeys.
13865
13866 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * LColor.h:
13869         * LColor.C: remove some dead entries, tidy a little
13870
13871 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13874         commented code.
13875         (Dispatch): implement LFUN_ESCAPE
13876
13877         * commandtags.h: add LFUN_ESCAPE
13878
13879         * LyXAction.C (init): add entry for LFUN_ESCAPE
13880
13881         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13882         Remove commented code.
13883         (insertNote): moved here
13884         (open_new_inset): moved here
13885
13886         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13887         BufferView_pimpl
13888
13889 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * kbmap.C (findbinding): clean it up and make it work correctly.
13892
13893         * lyx_main.C (init): do not pass argc and argv as parameters
13894
13895 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13896
13897         * buffer.C: fix path for OS/2 & Win32
13898
13899         * lyx_gui.C:
13900         * lyx_main:
13901         * lyx_main.C: Added os:: class.
13902
13903         * os2_defines.h: update
13904
13905 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13908         better by trying again with reduced state.
13909
13910 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13911
13912         * lyxrc.C (read): print error about invalid key sequence only when
13913         debugging (because not all latinX keysyms are known to some X
13914         servers)
13915
13916         * kbsequence.C (getiso): add a few std:: qualifiers
13917         (getiso): comment out extra return statement.
13918
13919 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13922         handling.
13923         (Dispatch): enhance the accent inset a bit. (not perfect)
13924
13925 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13926
13927         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13928
13929 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * bufferlist.C (emergencyWrite): fix assert() call
13932
13933 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13934
13935         * text.C (InsertChar): Added trivial patch to only send the "you
13936         can not do multiple spaces this way" message once during a
13937         session.
13938
13939 2001-05-08  Baruch Even  <baruch@lyx.org>
13940
13941         * Makefile.am: Changed order of libraries to get LyX to link properly
13942         with the gnome frontend.
13943
13944 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13945
13946         * LaTeXFeatures.h: add a std:: qualifier
13947
13948 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * paragraph.C (String): use stringstream
13951
13952 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * paragraph.C (writeFile): remove footflag arg
13955
13956         * buffer.C (makeLaTeXFile): use stringstream
13957         (latexParagraphs): remove footnot gurba
13958
13959         * LaTeXFeatures.C (getPackages): use stringstream
13960         (getMacros): likewise
13961         (getTClassPreamble): likewise
13962         (getFloatDefinitions): new method
13963
13964         * paragraph.C (writeFile): reindent
13965         (Erase): reindent
13966
13967         * WorkArea.h: revert the xpos + etc changes.
13968
13969         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13970
13971         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13972
13973         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13974         (pasteSelection): likewise
13975         * text2.C (CreateUndo): likewise
13976
13977 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * minibuffer.C (peek_event): temporarily reduce the functionality
13980         of the minibuffer (to allow args on lfuns)
13981
13982         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13983         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13984
13985         * buffer.C (readInset): add compability reading of old float
13986         lists, add reading of new style float list.
13987         (readInset): avoid reevaluation of inscmd.getCmdName()
13988         (getLists): reindent
13989
13990         * MenuBackend.C (MenuItem): implement parsing of
13991         md_floatlistinsert and md_floatinsert.
13992         (expand::LastFiles): move initalizaton of iterators out of loop,
13993         avoid reevaluation.
13994         (expand::Documents): introduce typdedef vector<string> Strings,
13995         and use it.
13996         (expand::ExportFormats): introduce typedef vector<Format const *>
13997         Formats, and use it.
13998         (expand): implement FloatListInsert and FloatInsert.
13999
14000         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14001         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14002         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14003
14004         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14005         handling.
14006         (Dispatch::LFUN_FLOAT_LIST): implement
14007
14008 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14009
14010         * LaTeX.C (run): Fix problem with --export code.
14011
14012 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14013
14014         * BufferView.[Ch] (workarea): removed.
14015         (getClipboard) new method; wrapper for workarea()->getClipboard()
14016
14017         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14018         bug.
14019
14020         * WorkArea.h (width, height, xpos, ypos): These methods all
14021         returned the dimensions of the work_area sub-area of WorkArea,
14022         resulting in a position error if the WorkArea were resized. Now
14023         return the dimensions of the entire WorkArea.
14024
14025         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14026
14027 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14028
14029         * LaTeX.C (deplog): correct the syntax of regex reg1
14030
14031 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14032
14033         * undo.C: remove !NEW_INSETS cruft
14034
14035 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * text2.C: remove !NEW_INSETS cruft
14038
14039         * text.C: remove !NEW_INSETS cruft
14040
14041         * tabular.C: remove !NEW_INSETS cruft
14042
14043         * spellchecker.C: remove !NEW_INSETS cruft
14044
14045         * lyxtext.h: remove !NEW_INSETS cruft
14046
14047         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14048
14049         * lyxfunc.C: remove !NEW_INSETS cruft
14050
14051         * lyxfind.C: remove !NEW_INSETS cruft
14052
14053         * lyx_cb.C: remove !NEW_INSETS cruft
14054
14055         * figureForm.C: remove  !NEW_INSETS cruft
14056
14057         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14058
14059         * buffer.[Ch]: remove !NEW_INSETS cruft
14060
14061         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14062
14063         * CutAndPaste.C: remove !NEW_INSETS cruft
14064
14065         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14066
14067         * BufferView2.C: remove !NEW_INSETS cruft
14068
14069         * BufferView.h: remove !NEW_INSETS cruft
14070
14071 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * Lsstream.h: include LString.h before the sstream headers to
14074         fix problem with gcc 2.95.3 and lyxstring
14075
14076 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * lyx_main.C: add using directives when needed for C functions
14079         declared in std:: namespace.
14080
14081 2001-04-27  Juergen Vigna  <jug@sad.it>
14082
14083         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14084         (SetHeightOfRow): comment out the update call should not be needed!
14085
14086 2001-04-13  Juergen Vigna  <jug@sad.it>
14087
14088         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14089         (LyXTabular): tried to minimize operator= operations (and realized
14090         hopfully Lars wish).
14091
14092 2001-04-27  Juergen Vigna  <jug@sad.it>
14093
14094         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14095
14096 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14097
14098         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14099
14100         * buffer.C (readInset): hack to make listof algorithm work
14101
14102         * BufferView_pimpl.C: hack to make listof algorithm work
14103
14104 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14105
14106         * LyXAction.C: removed all !NEW_INSETS cruft
14107         (init): moved lfun_item in method
14108
14109         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14110
14111 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14112
14113         * BufferView2.C (theLockingInset): white space.
14114
14115 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * minibuffer.C: include <iostream>
14118
14119         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14120
14121         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14122
14123         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14124
14125         * text.[Ch] (TransposeChars): new method
14126
14127 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14128
14129         * call message directly through LyXView instead of through LyXFunc
14130         * BufferView2.C: adjust
14131         * BufferView_pimpl.C: adjust
14132         * FontLoader.C: adjust
14133         * buffer.C: adjust
14134         * bufferview_funcs.C: adjust
14135         * converter.C: adjust
14136         * figureForm.C: adjust
14137         * importer.C: adjust
14138         * lyx_cb.C: adjust
14139         * lyx_gui_misc.C: adjust
14140         * lyxfunc.C: adjust
14141         * lyxvc.C: adjust
14142         * text2.C: adjust
14143         + more files in subdirs
14144
14145         * lyxparagraph.h (size): move up int file
14146         (GetLayout): ditto
14147
14148         * adjust all uses of Assert to lyx::Assert.
14149
14150         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14151         lyxfunctional in namespace lyx
14152         * layout.C (hasLayout): ditto
14153         (GetLayout): ditto
14154         (GetLayout): ditto
14155         (delete_layout): ditto
14156         (NumberOfClass): ditto
14157         * converter.C (GetFormat): ditto
14158         (GetNumber): ditto
14159         (Add): ditto
14160         (Delete): ditto
14161         (SetViewer): ditto
14162         * bufferlist.C (getFileNames): ditto
14163         (emergencyWriteAll): ditto
14164         (exists): ditto
14165         (getBuffer): ditto
14166         * MenuBackend.C (hasSubmenu): ditto
14167         (hasMenu): ditto
14168         (getMenu): ditto
14169         * BufferView_pimpl.C (getInsetByCode): ditto
14170
14171 2001-04-18  Juergen Vigna  <jug@sad.it>
14172
14173         * vspace.C (asLatexString): fixed the 100% problem.
14174
14175 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * lyxfunc.C (Dispatch):
14178         * minibuffer.C:
14179         * minibuffer.h: add a few std:: qualifiers
14180
14181 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14182
14183         * minibuffer.[Ch]: reimplement so that commands is initiated and
14184         run from lyxfunc, simplified som handling, and made the completion
14185         and history code for complete. wip.
14186
14187         * lyxfunc.C (processKeySym): call message
14188         (miniDispatch): new temporary method
14189         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14190         (LFUN_MESSAGE): implement
14191         (LFUN_MESSAGE_PUSH): implement
14192         (LFUN_MESSAGE_POP): implement
14193         (initMiniBuffer): the initial/defualt minibuffer message.
14194
14195         * lyxfont.[Ch]: inline some more getters
14196
14197         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14198
14199         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14200
14201         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14202         (AutoSave): use LFUN_MESSAGE
14203         (Reconfigure): ditto
14204
14205         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14206
14207         * figureForm.C: use LFUN_MESSAGE
14208
14209         * converter.C (runLaTeX): use LFUN_MESSAGE
14210
14211         * bufferview_funcs.C: use LFUN_MESSAGE
14212         (Melt): ditto
14213         (changeDepth): ditto
14214
14215         * bufferparams.h: use boost::
14216
14217         * bufferlist.h: inherit privately from noncopyable
14218
14219         * bufferlist.C (loadLyXFile): remove some commented code.
14220
14221         * buffer.C (runChktex): use LFUN_MESSAGE
14222
14223         * ShareContainer.h: inherit privately from noncopyable
14224
14225         * ParagraphParameters.[hC] (depth): inline it.
14226
14227         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14228         methods.
14229         (message): new method
14230         (messagePush): ditto
14231         (messagePop): ditto
14232         (show): init minibuffer
14233         (showState): direct call
14234
14235         * LaTeX.[Ch]: inherit privately from noncopyable
14236         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14237         instead of WriteStatus.
14238
14239         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14240
14241         * BufferView_pimpl.C (buffer): don't init minibuffer
14242         (workAreaButtonPress): use LFUN_MESSAGE
14243         (workAreaButtonRelease): ditto
14244         (savePosition): ditto
14245         (restorePosition): ditto
14246         (MenuInsertLyXFile): ditto
14247         (workAreaExpose): don't init minibuffer
14248         (update): remove commented code, simplify
14249
14250         * BufferView2.C (openStuff): use LFUN_MESSAGE
14251         (toggleFloat): ditto
14252         (menuUndo): ditto
14253         (menuRedo): ditto
14254         (copyEnvironment): ditto
14255         (pasteEnvironment): ditto
14256         (copy): ditto
14257         (cut): ditto
14258         (paste): ditto
14259         (gotoInset): ditto
14260         (updateInset): remove some commented code
14261
14262         * lastfiles.h: inherit privately from noncopyable
14263         * layout.h: ditto
14264         * lyx_gui.h: ditto
14265         * lyx_main.h: ditto
14266         * lyxlex.h: ditto
14267         * lyxlex_pimpl.h: ditto
14268
14269         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14270         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14271         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14272
14273         * LyXAction.h: inherit privately from noncopyable, add methods
14274         func_begin, func_end, returning iterators to the func map.
14275
14276         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14277         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14278         (func_begin): new method
14279         (func_end): new method
14280
14281         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14282         and not)
14283         (copySelection): ditto
14284         (pasteSelection): ditto
14285
14286         * BufferView.C: whitespace change
14287         * BufferView.h: inherit privately from noncopyable
14288
14289 2001-04-16  Allan Rae  <rae@lyx.org>
14290
14291         * tabular-old.C (l_getline):
14292         * spellchecker.C (sc_check_word):
14293         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14294         an unrecognised preprocessor directive.  So ensure they're wrapped.
14295
14296 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * src/exporter.C (Export): Give an error message when path to file
14299         contains spaces.
14300
14301 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * LaTeX.C (deplog): Always check that foundfile exists.
14304
14305 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14306
14307         * lyx_main.h:
14308         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14309
14310 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * tabular.[Ch] (getLabelList): implement new method
14313
14314         * minibuffer.h: comment ouf setTiimer
14315
14316         * minibuffer.C (ExecutingCB): constify res
14317         (peek_event): constify s
14318         (Set): constify ntext
14319         (Init): constify nicename
14320
14321         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14322
14323         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14324         (savePosition): use two params to Minibuffer::Set
14325         (restorePosition): ditto
14326
14327 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * lyx_main.C: include language.h
14330
14331         * Makefile.am (lyx_main.o): add language.h
14332
14333 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14334
14335         * exporter.C:
14336         * paragraph.C:
14337         * screen.C:
14338         * tabular.C:
14339         * CutAndPaste.C: include gettext.h
14340
14341         * lyxfont.h: remove old hack with ON and OFF.
14342
14343         * lyxparagraph.h:
14344         * lyxfont.h: do not include language.h...
14345
14346         * BufferView2.C:
14347         * LaTeXFeatures.C:
14348         * Painter.C:
14349         * bufferview_funcs.C:
14350         * font.C:
14351         * lyxfont.C:
14352         * text.C:
14353         * text2.C:
14354         * trans_mgr.C:
14355         * paragraph.C: ... but do it here instead
14356
14357 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14358
14359         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14360
14361         * tabular.C: small reformat
14362
14363         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14364         NEW_INSETS version
14365         (GetChar): ditto
14366         (BreakParagraph): ditto
14367         (SetOnlyLayout): ditto
14368         (SetLayout): ditto
14369
14370         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14371         with one arg less.
14372
14373         * lastfiles.C: removed most using decl, add std:: where needed
14374
14375         * buffer.C: ws changes
14376
14377         * MenuBackend.C (class compare_format): put into anon namespace
14378         (expand): constify label, names, action, action2
14379         (expand):
14380
14381         * text.C (SingleWidth): constify font
14382         (IsBoundary): constify rtl2
14383         (GetVisibleRow): constify ww
14384
14385         * LaTeX.C (deplog): constify logfile
14386
14387         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14388         start_x, end_x
14389         (workAreaExpose): constify widthChange, heightChange
14390
14391         * lyxrow.C (par): moved
14392         (height): moved
14393         (next): moved
14394         * lyxrow.h: as inlines here
14395
14396         * lyxfont.h (shape): moved from lyxfont.C
14397         (emph): moved from lyxfont.C
14398
14399         * lyxfont.C (LyXFont): use initialization list for all
14400         constructors
14401         (shape): move to lyxfont.h as inline
14402         (emph): move to lyxfont.h as inline
14403
14404
14405 2001-04-04  Juergen Vigna  <jug@sad.it>
14406
14407         * vspace.C: had to include stdio.h for use of sscanf
14408
14409 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14410
14411         * BufferView.h:
14412         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14413         independent of xforms.
14414
14415 2001-04-02  Juergen Vigna  <jug@sad.it>
14416
14417         * spellchecker.C: fixed namespace placing!
14418
14419 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14420
14421         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14422         the LyXParagraph * is 0.
14423
14424 2001-03-29  Juergen Vigna  <jug@sad.it>
14425
14426         * vspace.C: added support for %, c%, p%, l%.
14427         (stringFromUnit): added helper function.
14428         (asLatexString): changed to give right results for the %-values.
14429
14430         * buffer.C: convert the widthp in a width%.
14431
14432 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14435         figureForm.[Ch].
14436
14437         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14438         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14439
14440         * lyx_cb.[Ch]: see above.
14441
14442         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14443         form1.[Ch].
14444
14445         * form1.[Ch]:
14446         * lyx.[Ch]: replaced by figure_form.[Ch].
14447
14448         * lyx_gui.C:
14449         * lyx_gui_misc.C:
14450         * lyxfunc.C: changed headers associated with above changes.
14451
14452 2001-03-27  Juergen Vigna  <jug@sad.it>
14453
14454         * BufferView_pimpl.C: set the temporary cursor right!
14455
14456 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14459
14460 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14461
14462         * LString.h: removed "using std::getline"!
14463
14464         * BufferView_pimpl.C (Dispatch): changes due to changes in
14465         InsetInclude::Params.
14466
14467         * buffer.C (tag_name): removed redundant break statements as they were
14468         producing lots of warnings with my compiler.
14469
14470 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14471
14472         * LString.h: add "using std::getline" when using the real <string>.
14473
14474 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14475
14476         * buffer.C: removed bitset usage.
14477         PAR_TAG moved to an anonymous name space.
14478         (tag_name): new funtion, also in the anonymous namespace.
14479         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14480         (makeDocBookFile): clean code. Completed transition from string arrays
14481         to string vectors.
14482         (SimpleDocBookOnePar): code clean.
14483
14484 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14485
14486         * tabular.C: add some comments.
14487
14488 2001-03-22  Juergen Vigna  <jug@sad.it>
14489
14490         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14491         compatibility read a bit and fixed bug with minipage in different
14492         depth.
14493
14494 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14495
14496         * buffer.C (pop_tag): removed.
14497         (push_tag): removed.
14498         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14499         array replaced with vector. Added support for CDATA sections.
14500         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14501         at any nest level.
14502         (makeDocBookFile): XML conformant declaration of CDATA section,
14503         fixed bug related to <emphasis> in the first paragraph char.
14504         (sgmlOpenTag): exclude empty tags.
14505         (sgmlCloseTag): ditto.
14506
14507         * buffer.h (pop_tag): removed.
14508         (push_tag): removed.
14509
14510 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14511
14512         * language.h (Languages): added size_type and size().
14513
14514 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14515
14516         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14517         response on compability reading of minipages. One probliem is that
14518         the old usage of minipages was «flertydig»
14519
14520         * several files here and in subdirs: don't use static at file
14521         scope use anon namespaces instead.
14522
14523 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14524
14525         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14526         LaTeX output. This is necessary for Literate document
14527         processing.
14528
14529 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14530
14531         * buffer.C: insert hfill when needed.
14532
14533         * tabular.C (l_getline): use string::erase, small whitespace change.
14534
14535         * BufferView_pimpl.C: try the anon namespace.
14536         * WorkArea.C: ditto
14537
14538 2001-03-16  Juergen Vigna  <jug@sad.it>
14539
14540         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14541         otherwise it won't open options-dialogs.
14542
14543         * buffer.C: honor pextraWidth(p) on converting minipages.
14544
14545         * tabular.C (l_getline): changed the functions to strip trailing \r.
14546
14547 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14548
14549         * BufferView_pimpl.C:
14550         * minibuffer..C: added "using SigC::slot" declaration.
14551
14552 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14553
14554         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14555
14556         * text2.C: ditto
14557
14558         * text.C: ditto
14559
14560         * paragraph.C: ditto
14561
14562         * lyxtext.h: NO_PEXTRA
14563
14564         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14565
14566         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14567         * ParameterStruct.h: ditto
14568         * ParagraphParameters.h: ditto
14569         * lyxparagraph.h: ditto
14570
14571 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14572
14573         * buffer.C: add compability for minipage alignment.
14574         (latexParagraphs): remove unwanted pextra check.
14575
14576         * several files: remove CXX_WORKING_NAMESPACES
14577
14578         * buffer.C (pop_tag): tie is in namespace boost
14579
14580         * BufferView.h: noncopyable is in namespace boost
14581         * lyxlex.h: ditto
14582         * lyx_main.h: ditto
14583         * lyx_gui.h: ditto
14584         * layout.h: ditto
14585         * lastfiles.h: ditto
14586         * bufferlist.h: ditto
14587         * ShareContainer.h: ditto
14588         * LyXView.h: ditto
14589         * LyXAction.h: ditto
14590         * LaTeX.h: ditto
14591
14592 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * Merging changes from BRANCH_MVC back into HEAD.
14595
14596         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14597
14598 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14599
14600         * BufferView_pimpl.C: change from intl.C
14601
14602         * combox.h:
14603         * combox.C:
14604         * Makefile.am: move combox.*
14605
14606         * form1.h:
14607         * form1.C:
14608         * lyx_gui.C:
14609         * intl.h:
14610         * intl.C: remove dialog (covered by prefs)
14611
14612 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14613
14614         * lyxfunc.C (Dispatch): removed redundant break statement.
14615
14616 2001-03-14  Juergen Vigna  <jug@sad.it>
14617
14618         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14619
14620 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14621
14622         * buffer.C: add hack to fix compability reading of minipages.
14623
14624 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14625
14626         * buffer.C (getLists): Cleanup.
14627
14628 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14629
14630         * lyxfont.C (update): don't honor toggleall on font size.
14631
14632 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14633
14634         * bmtable.c:
14635         * bmtable.h:
14636         * Makefile.am: moved to frontends/xforms/
14637
14638         * lyx_gui_misc.C:
14639         * lyxfunc.C:
14640         * BufferView_pimpl.C: changes for moved mathpanel
14641
14642 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * gettext.h: fix gettext_init() in --disable-nls
14645
14646 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14647
14648         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14649
14650 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * lyx.C:
14653         * lyx.h: strip external form
14654
14655 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * BufferView_pimpl.C: add comment, destroySplash()
14658
14659 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14660
14661         * BufferView_pimpl.C:
14662         * LyXAction.C:
14663         * buffer.C:
14664         * commandtags.h:
14665         * lyxfunc.C: use re-worked insetinclude
14666
14667 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14668
14669         * buffer.C: add using std::stringstream.
14670
14671         * lyx_cb.C: readd using std::ios.
14672
14673         * buffer.C: add using std::map.
14674
14675         * BufferView_pimpl.C: add using std::vector.
14676
14677         * ShareContainer.h: add std:: to swap.
14678
14679         * buffer.h: add some typedefs
14680         * buffer.C (getLists): use them
14681         (getLists): renamed from getTocList.
14682         add a counter for the different float types and use it in the
14683         generated string.
14684         (getLists): use the same counter for the NEW_INSETS and the "non"
14685         NEW_INSETS
14686
14687         * lyx_cb.h: remove unused items, includes, using etc.
14688
14689         * ShareContainer.h: remove some commented code, add more comments
14690         and "documentation".
14691
14692 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14693
14694         * buffer.C (getTocList): make the list also when NEW_INSETS is
14695         defined.
14696
14697         * buffer.h: remove TocType
14698
14699         * buffer.C (getTocList): change to return a map<string,
14700         vector<TocItem> >, implement for dynamic number of list.
14701
14702         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14703         * text2.C (PasteSelection): adjust
14704         * CutAndPaste.C (pasteSelection): adjust
14705
14706         * FloatList.C (FloatList): update from the new_insets branch.
14707         * Floating.[Ch]: ditto
14708         * LaTeXFeatures.C: ditto
14709         * buffer.C: ditto
14710         * lyxlex_pimpl.C: ditto
14711
14712         * paragraph.C (Last): remove when NEW_INSETS is defined.
14713
14714         * other file: changes because of the above.
14715
14716 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14717
14718         * lyxparagraph.h: rename next to next_, previous to previous_,
14719         make them private for NEW_INSETS. Rename Next() to next(),
14720         Previous() to previous().
14721
14722         * other files: changes because of the above.
14723
14724 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14725
14726         * BufferView.h:
14727         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14728         problem.
14729
14730 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * main.C (main): pass lyx_localedir to gettext_init().
14733
14734         * gettext.h: remove locale_init and gettext_init macros
14735
14736         * gettext.C (locale_init): new function
14737         (gettext_init): new function
14738
14739         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14740         setlocale().
14741
14742 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14743
14744         * Moved credits to frontends:
14745         * credits.[Ch]: removed
14746         * credits_form.[Ch]: removed
14747         * lyx_gui_misc.C: remove credits stuff
14748         * Makefile.am:
14749
14750 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14751
14752         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14753
14754         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14755         unneeded destructor.
14756
14757         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14758         a standalone pointer again.
14759
14760         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14761
14762 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * Makefile.am:
14765         * filedlg.h:
14766         * filedlg.C:
14767         * LyXAction.C:
14768         * ToolbarDefaults.C:
14769         * bufferlist.C:
14770         * commandtags.h:
14771         * form1.C:
14772         * form1.h:
14773         * lyx_cb.C:
14774         * lyx_cb.h:
14775         * lyxfunc.h:
14776         * lyxfunc.C:
14777         * BufferView_pimpl.C: use new file dialog in GUII
14778
14779         * lyx_cb.h:
14780         * lyx_cb.C: remove LayoutsCB to Toolbar
14781
14782 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14783
14784         * ShareContainer.h (get): add std:: qualifier
14785
14786 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * ShareContainer.h: define a proper ShareContainer::value_type
14789         type (and use typename to please compaq cxx)
14790
14791 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14792
14793         * lyxparagraph.h: move serveral local vars to
14794         ParameterStruct/ParagraphParameters., use ShareContainer in
14795         FontTable., make vars in FontTable private and add getter and
14796         setter.
14797
14798         * paragraph.C: changes because of the above.
14799
14800         * lyxfont.h: remove copy constructor and copy assignment. (the
14801         default ones is ok), move number inside FontBits. move inlines to
14802         lyxfont.C
14803
14804         * lyxfont.C: add number to initializaton of statics, move several
14805         inlines here. constify several local vars. some whitespace
14806         cleanup. Dont hide outerscope variables.
14807
14808         * Spacing.h: add two new constructors to match the set methods.
14809
14810         * ShareContainer.h: new file, will perhaps be moved to support
14811
14812         * ParameterStruct.h: new file
14813
14814         * ParagraphParameters.h: new file
14815
14816         * ParagraphParameters.C: new file
14817
14818         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14819         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14820
14821         * BufferView_pimpl.C: ParagraphParameter changes.
14822         * buffer.C: Likewise.
14823         * bufferview_funcs.C: Likewise.
14824         * text.C: Likewise.
14825         * text2.C: Likewise.
14826
14827 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * lyxfind.C (LyXReplace): do not redefine default argument in
14830         implementation.
14831         (IsStringInText): ditto
14832         (SearchForward): ditto
14833         (SearchBackward): ditto
14834
14835 2001-03-06  Juergen Vigna  <jug@sad.it>
14836
14837         * lyxfind.C (IsStringInText): put parentes around expressions.
14838
14839 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14840
14841         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14842
14843 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14844
14845         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14846
14847         * stl_string_fwd.h: add comment
14848
14849         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14850
14851         * tabular.h:
14852         * tabular.C: remove unused DocBook methods
14853
14854         * intl.C:
14855         * language.C:
14856         * paragraph.C:
14857         * buffer.C:
14858         killed DO_USE_DEFAULT_LANGUAGE
14859
14860 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14861
14862         * lyx_gui.C: do not include language.h.
14863
14864         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14865         arguments in function implementation.
14866
14867 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14868
14869         * BufferView_pimpl.C: add <ctime>
14870
14871 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14872
14873         * BufferView_pimpl.C: add using std::find_if
14874
14875 2001-02-27  José Matos  <jamatos@fep.up.pt>
14876
14877         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14878         by OnlyPath.
14879
14880 2001-02-11  José Matos  <jamatos@fep.up.pt>
14881
14882         * buffer.C (makeDocBookFile): command styles now have a parameter as
14883         "title" by default.
14884
14885 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14886
14887         * layout_forms.[Ch]: removed
14888         * lyx_cb.[Ch]: out character
14889         * lyx_gui.C: out character
14890         * lyx_gui_misc.C: out character
14891         * bufferview_funcs.C: : out character,
14892         added toggleall as parameter in ToggleAndShow
14893
14894 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14895
14896         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14897
14898         * text2.C (SetCurrentFont): Disable number property at boundary.
14899
14900 2001-02-26  Juergen Vigna  <jug@sad.it>
14901
14902         * lyxfunc.C (getStatus): added a string argument override function so
14903         that this is correctly called from LyXFunc::Dispatch if it contains a
14904         do_not_use_argument which is used!
14905         (Dispatch): added check for "custom" export and call appropriate func.
14906
14907 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14908
14909         * lyxrc.C: Add language_command_local, language_use_babel and
14910         language_global_options.
14911
14912         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14913
14914         * buffer.C (makeLaTeXFile): Use language_use_babel and
14915         language_global_options.
14916
14917 2001-02-23  Juergen Vigna  <jug@sad.it>
14918
14919         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14920         which works with LyXText and putted it inside BufferView. Here now we
14921         only call for that part the BufferView::Dispatch() function.
14922
14923         * BufferView.C (Dispatch): added.
14924
14925         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14926         functions which needs to use a LyXText over from LyXFunc.
14927         (MenuInsertLyXFile): added
14928         (getInsetByCode): added
14929         (moveCursorUpdate): added
14930         (static TEXT): added
14931
14932 2001-02-22  Juergen Vigna  <jug@sad.it>
14933
14934         * BufferView_pimpl.C (update): call a status update to see if LyXText
14935         needs it.
14936
14937 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14938
14939         * vc-backend.C (revert): implement for CVS
14940         (getLog): implement for CVS
14941
14942 2001-02-20  Juergen Vigna  <jug@sad.it>
14943
14944         * text2.C (ClearSelection): added BufferView param for inset_owner call
14945
14946         * lyxfunc.C (TEXT): added this function and use it instead of
14947         directly owner->view()-text of getLyXText().
14948
14949 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14950
14951         * src/layout_forms.C: out preamble
14952         * src/layout_forms.h: out preamble
14953         * src/lyx_cb.C: out preamble
14954         * src/lyx_cb.h: out preamble
14955         * src/lyx_gui.C: out preamble
14956         * src/lyx_gui_misc.C: out preamble
14957         * src/lyxfunc.C: connect with guii preamble
14958
14959 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14960
14961         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14962
14963 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14964
14965         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14966         whether to run bibtex.
14967
14968 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14969
14970         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14971
14972 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14973
14974         * Makefile.am (lyx_SOURCES): removed bibforms.h
14975
14976         * vspace.h: doxygen
14977
14978         * text.C (GetVisibleRow): make several local vars const
14979
14980         * tabular.C: small cleanup.
14981
14982         * lyxserver.C (callback): use compare instead of strncmp
14983
14984         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14985         inlines to after class or to paragraph.C
14986
14987         * lyxfont.h: remove friend operator!=
14988
14989         * converter.h: move friend bool operator< to non friend and after
14990         class def.
14991
14992         * combox.h: small cleanup
14993
14994         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14995         to inlines after class def.
14996
14997         * buffer.C (pop_tag): use string operations instead of strcmp
14998
14999         * bmtable.c: doxygen, small cleanup
15000
15001         * LaTeX.h: remove friend operator==
15002
15003 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15004
15005         * screen.C:
15006         * lyxrc.[Ch]:
15007         * lyxfunc.C:
15008         * lyxfont.[Ch]:
15009         * lyx_cb.C:
15010         * intl.[Ch]:
15011         * commandtags.h:
15012         * buffer.C:
15013         * WorkArea.[Ch]:
15014         * LyXAction.C:
15015         * BufferView_pimpl.C:
15016         * BufferView.[Ch]: remove cruft
15017
15018 2001-02-14  Juergen Vigna  <jug@sad.it>
15019
15020         * lyxfunc.C: removed #if 0 unused code
15021
15022         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15023
15024         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15025
15026         * text2.C (SetSelection): added a BufferView * parameter
15027
15028 2001-02-13  Juergen Vigna  <jug@sad.it>
15029
15030         * lyxfunc.C (Dispatch): fixed protected blank problem.
15031         * BufferView2.C (protectedBlank): added LyxText * parameter.
15032
15033         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15034         (AppendColumn): same as above for column_info.
15035
15036         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15037         (moveCursorUpdate): use a LyXText param for support of InsetText.
15038
15039         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15040         (tripleClick): ditto
15041
15042         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15043
15044         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15045
15046         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15047
15048         * text2.C (SetSelection): set correct update status if inset_owner
15049         (ToggleFree): ditto
15050
15051 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15052
15053         * tabular.C: remove some commented code.
15054
15055 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15056
15057         * BufferView_pimpl.C: call hideSplash()
15058
15059         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15060
15061         * include_form.h:
15062         * bibforms.h: remove
15063
15064         * lyxfunc.C:
15065         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15066           add LFUN_CHILD_CREATE
15067
15068         * counters.h: fix tiny typo
15069
15070         * lyx_cb.C:
15071         * lyx.h:
15072         * lyx_gui.C:
15073         * lyx.C: move splash to frontends/xforms/
15074
15075         * lyx_gui_misc.C: move Include and Bibform to frontends
15076
15077         * lyxvc.h: clarify comment
15078
15079         * vspace.C: tiny housekeeping
15080
15081 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15082
15083         * text.C (PrepareToPrint): RTL Fix.
15084
15085         * paragraph.C (GetUChar): New method.
15086         (String):  Use GetUChar.
15087
15088         * buffer.C (asciiParagraph): Use GetUChar.
15089
15090 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15093
15094 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15095
15096         * buffer.h:
15097         * buffer.C: rename to getLogName(), handle
15098           build log / latex log nicely
15099
15100 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15101
15102         * MenuBackend.C:
15103         * MenuBackend.h: remove support for reference menuitem type.
15104
15105 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * BufferView_pimpl.C: housekeeping
15108         * BufferView_pimpl.h:
15109         * LyXView.h:
15110         * Makefile.am:
15111         * Timeout.C:
15112         * Timeout.h:
15113         * minibuffer.h: move Timeout GUI-I
15114
15115 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15116
15117         * lyxrc.C (read): Update converters data-structures.
15118
15119 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15120
15121         * LaTeX.h (operator!=): add operator != for Aux_Info
15122
15123 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15126
15127         * LaTeXLog.C: deleted, useful code moved to Buffer
15128
15129         * buffer.h:
15130         * buffer.C: new function getLatexLogName()
15131
15132         * lyx_gui_misc.C:
15133         * lyx_gui.C:
15134         * lyxvc.C:
15135         * lyxvc.h:
15136         * lyxfunc.C: use frontends for LaTeX and VC logs
15137
15138 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15139
15140         * LaTeX.h: yet another std:: that Allan forgot.
15141
15142         * Variables.C (set): renamed from isset(), because this clashes
15143         with some HP-UX macros (grr).
15144
15145 2001-02-06  Allan Rae  <rae@lyx.org>
15146
15147         * LaTeX.h: Another bug fix.  Missing std:: this time.
15148
15149 2001-02-04  Allan Rae  <rae@lyx.org>
15150
15151         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15152         floats problem. I've left it commented out because it's not quite
15153         correct.  It should also test that the current object is a table or
15154         figure inset.  But I haven't gotten around to figuring out how to do
15155         that.  I *think* it'll be something like: "table" == inset.type()
15156
15157         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15158         bool.
15159
15160 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15161
15162         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15163         all the citation/databases/styles in the auxilary file.
15164         (run): Rerun latex if there was a babel language error.
15165
15166 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * text.C (Backspace): Preserve the font when changing newline char
15169         with a space.
15170         (BreakParagraph): If the cursor is before a space, delete the space.
15171
15172         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15173
15174 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15175
15176         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15177         new argument (code).
15178         (ChangeCitationsIfUnique): New method.
15179
15180         * paragraph.C (GetPositionOfInset): Handle bibkey.
15181
15182 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15183
15184         * BufferView_pimpl.h: change type of Position::par_pos to
15185         LyXParagraph::size_type.
15186
15187 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15188
15189         * BufferView_pimpl.C (savePosition, restorePosition): Write
15190         messages to minibuffer.
15191
15192 2001-01-28  José Matos  <jamatos@fep.up.pt>
15193
15194         * buffer.C (makeDocBookFile): adds support for document language.
15195         A silly restriction on the name of LatexCommand types where removed.
15196         Added support for CDATA sections, allows to chars unescaped, used
15197         among others in code, to avoid escape < and >.
15198
15199 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15202         saved positions instrad of a stack. Furthermore, a position is
15203         stored using paragraph id/paragraph position.
15204
15205         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15206         Remove LFUN_REF_BACK.
15207
15208 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15209
15210         * converter.C (dvipdfm_options): New method.
15211
15212 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15213
15214         * vspace.C (isValidLength): Fix for empty input string.
15215
15216 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15217
15218         * LyXAction.C (init): change description of LFUN_FIGURE to
15219         "Insert Graphics"
15220
15221 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * LaTeX.C: add using directive
15224
15225 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15226
15227         * MenuBackend.C (expand): Fix the sorting of the formats.
15228
15229 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15230
15231         * lyx_main.C: tiny error message fix
15232
15233 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15236         calling fl_initialize(). This fixes the problem with ',' as
15237         decimal separator in text files.
15238
15239 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15240
15241         * trans.C (process): Fix the keymap bug.
15242
15243 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15244
15245         * LaTeX.C (scanAuxFiles): New method. Provides support for
15246         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15247         (scanLogFile) Scan for "run BibTeX" messages.
15248
15249         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15250         OT1 font encoding. Also, load the aecompl package if the ae
15251         package is loaded.
15252
15253         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15254
15255 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15256
15257         * texrow.C (increasePos): turn two error messages into debug
15258         messages.
15259
15260 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15261
15262         * LaTeX.C (scanAux): Handle the \@input macro.
15263         (runBibTeX): Use scanAux().
15264
15265         * language.C (latex_options_): New field.
15266
15267         * LaTeXFeatures.C (getMacros): Add language macros.
15268
15269         * buffer.C (makeLaTeXFile): Small fix.
15270
15271 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15274
15275         * text2.C: add a using directive.
15276
15277 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15278
15279         * BufferView2.C:
15280         * lyx_gui_misc.h:
15281         * lyxfr1.C:
15282         * lyxfunc.C: kill LyXBell.
15283
15284 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15285
15286         * text.C (IsBoundary): Remove the error message
15287
15288         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15289
15290         * lyxrc.C (setDefaults): Correct initialization value for
15291         font_norm_type.
15292
15293 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15294
15295         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15296         gotoError().
15297
15298         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15299         and GotoNextNote().
15300
15301         * src/LyXAction.C: Added reference-next.
15302
15303         * text.C (InsertChar): Use contains instead of strchr.
15304
15305         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15306
15307 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15308
15309         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15310         alignment commands (when needed).
15311
15312         * text.C (InsertChar): Add ':' to number separator chars.